Fractal
Fractal13h ago

Cannot upgrade dependencies to the latest versions for @convex-dev/auth and @auth/core

I’m getting the following when trying to update to the latest version of Convex Auth.
$ npm outdated

Package Current Wanted Latest Location Depended by
@auth/core 0.37.4 0.37.4 0.40.0 node_modules/@auth/core my-project
@convex-dev/auth 0.0.88 0.0.88 0.0.90 node_modules/@convex-dev/auth my-project

$ npm install @auth/core@latest @convex-dev/auth@latest

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: my-project@0.1.0
npm error Found: @auth/core@0.40.0
npm error node_modules/@auth/core
npm error @auth/core@"0.40.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @auth/core@"^0.37.0" from @convex-dev/auth@0.0.90
npm error node_modules/@convex-dev/auth
npm error @convex-dev/auth@"0.0.90" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error [...]
npm error A complete log of this run can be found in: [...]
$ npm outdated

Package Current Wanted Latest Location Depended by
@auth/core 0.37.4 0.37.4 0.40.0 node_modules/@auth/core my-project
@convex-dev/auth 0.0.88 0.0.88 0.0.90 node_modules/@convex-dev/auth my-project

$ npm install @auth/core@latest @convex-dev/auth@latest

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: my-project@0.1.0
npm error Found: @auth/core@0.40.0
npm error node_modules/@auth/core
npm error @auth/core@"0.40.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @auth/core@"^0.37.0" from @convex-dev/auth@0.0.90
npm error node_modules/@convex-dev/auth
npm error @convex-dev/auth@"0.0.90" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error [...]
npm error A complete log of this run can be found in: [...]
Is this expected? Is there something to fix in Convex Auth?
3 Replies
Convex Bot
Convex Bot13h ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
Sara
Sara13h ago
you will need to install @auth/core@0.37.0 because this version is confirmed to work with convex-auth
Fractal
FractalOP13h ago
Ok, thanks!

Did you find this page helpful?