Next.js Discord

Discord Forum

npm error

Unanswered
Silver cyprinid posted this in #help-forum
Open in Discord
Silver cyprinidOP
I ran this command
npx create-next-app@latest nextjs-dashboard --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example"


npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: undefined@undefined
npm error Found: react@19.0.0-rc-6230622a1a-20240610
npm error node_modules/react
npm error react@"19.0.0-rc-6230622a1a-20240610" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@">= 16" from @heroicons/react@2.1.3
npm error node_modules/@heroicons/react
npm error @heroicons/react@"^2.0.18" 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/aki/.npm/_logs/2024-06-14T07_16_13_697Z-eresolve-report.txt

npm error A complete log of this run can be found in: /Users/aki/.npm/_logs/2024-06-14T07_16_13_697Z-debug-0.log

0 Replies