astriaai / headshots-starter

https://headshots-starter.vercel.app
MIT License
3.56k stars 575 forks source link

npm ERR! ERESOLVE unable to resolve dependency tree #66

Open Sequential-circuits opened 9 months ago

Sequential-circuits commented 9 months ago

While trying to install locally with npm install I get

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: headshots-ai-by-leap@undefined npm ERR! Found: next@13.4.19 npm ERR! node_modules/next npm ERR! next@"13.4" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer next@"^12.0.7" from next-multipart@0.5.1 npm ERR! node_modules/next-multipart npm ERR! next-multipart@"^0.5.1" 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.

sidwise commented 9 months ago

Hello, I have the same issue

ambrofelipe commented 9 months ago

Update your package.json. Change "next-multipart": "^0.5.1", to "next-multiparty": "^0.7.0",. Then run npm install again. Same author, same package, but the latter supports Next 13.

lakshman111 commented 9 months ago

@ambrofelipe ahhhh thank you!