Migrating to v6 issues with optimize

Hello, I tried to migrate to v6 from v5, but when I tried to follow the npm commands suggested, this error came up
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [project]@0.0.1
npm warn Found: @prisma/[email protected]
npm warn node_modules/@prisma/client
npm warn @prisma/client@"6.0.1" from the root project
npm warn
npm warn Could not resolve dependency:
npm warn peer @prisma/client@"5.x" from @prisma/[email protected]
npm warn node_modules/@prisma/extension-optimize
npm warn dev @prisma/extension-optimize@"^1.0.1" from the root project
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [project]@0.0.1
npm warn Found: @prisma/[email protected]
npm warn node_modules/@prisma/client
npm warn @prisma/client@"6.0.1" from the root project
npm warn
npm warn Could not resolve dependency:
npm warn peer @prisma/client@"5.x" from @prisma/[email protected]
npm warn node_modules/@prisma/extension-optimize
npm warn dev @prisma/extension-optimize@"^1.0.1" from the root project
5 Replies
jonfanz
jonfanz3w ago
Could you try updating the optimize extension to 1.1.0?
Tomathy
TomathyOP3w ago
ghives me this one instead:
npm error Found: @prisma/[email protected]
npm error node_modules/@prisma/client
npm error @prisma/client@"^6.0.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @prisma/client@"5.x" from @prisma/[email protected]
npm error node_modules/@prisma/extension-optimize
npm error dev @prisma/extension-optimize@"1.1.0" from the root project
npm error Found: @prisma/[email protected]
npm error node_modules/@prisma/client
npm error @prisma/client@"^6.0.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @prisma/client@"5.x" from @prisma/[email protected]
npm error node_modules/@prisma/extension-optimize
npm error dev @prisma/extension-optimize@"1.1.0" from the root project
jonfanz
jonfanz3w ago
Odd. Let me take this to the team
Tomathy
TomathyOP3w ago
ty!
Nurul
Nurul3w ago
We have raised it to the team and they are checking from their end. We will inform you here as soon as we have an update 🙏
Want results from more Discord servers?
Add your server