-
-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
When running npm install with node 22.17.1, I get:
npm install
> atom-e2e-tests@1.0.0 postinstall
> cd frontend-nextjs && npm install
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: nextjs-cors@2.1.2
npm error Found: next@15.5.0
npm error node_modules/next
npm error next@"^15.5.0" from the root project
npm error peer next@">=10.2.0" from eslint-config-next@12.1.6
npm error node_modules/eslint-config-next
npm error dev eslint-config-next@"12.1.6" from the root project
npm error 1 more (next-auth)
npm error
npm error Could not resolve dependency:
npm error peer next@"^8.1.1-canary.54 || ^9.0.0 || ^10.0.0-0 || ^11.0.0 || ^12.0.0 || ^13.0.0" from nextjs-cors@2.1.2
npm error node_modules/nextjs-cors
npm error nextjs-cors@"^2.1.2" from the root project
npm error
npm error Conflicting peer dependency: next@13.5.11
npm error node_modules/next
npm error peer next@"^8.1.1-canary.54 || ^9.0.0 || ^10.0.0-0 || ^11.0.0 || ^12.0.0 || ^13.0.0" from nextjs-cors@2.1.2
npm error node_modules/nextjs-cors
npm error nextjs-cors@"^2.1.2" 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 /Users/berlm/.npm/_logs/2025-09-04T06_53_16_718Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/berlm/.npm/_logs/2025-09-04T06_53_16_718Z-debug-0.log
npm error code 1
npm error path /Users/berlm/Documents/projects/atom
npm error command failed
npm error command sh -c cd frontend-nextjs && npm install
npm error A complete log of this run can be found in: /Users/berlm/.npm/_logs/2025-09-04T06_53_15_496Z-debug-0.log
Metadata
Metadata
Assignees
Labels
No labels