Discussions
NPM install throwing dependency errors.
Every time I try to NPM install in the directory, I keep getting this error no matter what I do.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/framer-motion
npm error framer-motion@"~11.1.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer framer-motion@">=11.5.6 || >=12.0.0-alpha.1" from @nextui-org/[email protected]
npm error node_modules/@nextui-org/react
npm error @nextui-org/react@"^2.4.2" from the root project
If I try to install a different version of framer-motion, it still continues to throw errors. No matter what I do, the error doesn't seem to be going away. What is the issue here?