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.
Is this expected? Is there something to fix in 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?
