-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
git clone https://github.com/keystonejs/keystone test-keystone-next
cd test-keystone-next
cd examples/framework-nextjs-app-directory
npm i
Then get an error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @keystone-6/example-framework-nextjs-app-directory@null
npm ERR! Found: react@19.1.0
npm ERR! node_modules/react
npm ERR! dev react@"^19.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^18.3.1" from @keystone-6/auth@8.1.0
npm ERR! node_modules/@keystone-6/auth
npm ERR! @keystone-6/auth@"^8.1.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/pahaz/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/pahaz/.npm/_logs/2025-06-23T17_14_18_543Z-debug-0.log
$ node -v
v16.20.0
$ npm -v
8.19.4
# change node to 22
nvm use 22
# and get the same result
Metadata
Metadata
Assignees
Labels
No labels