react-three-next
react-three-next copied to clipboard
Unable to run npm install
After cloning the project, when running npm install
, the following output occurs:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^8.20.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" from [email protected]
npm ERR! node_modules/eslint-plugin-tailwind
npm ERR! dev eslint-plugin-tailwind@"^0.2.1" from the root project
Was this ever resolved? or it it our issue
I'm not so clued up on solving npm dependency issues but I'm guessing the problem is on your side (the creators) because I've never had this issue with other installers.
It had to do with the eslint-plugin-tailwind. I haven't checked to see if any package updates have resolved the problem.
Personally I think cutting out Tailwind and the related packages from the starter template is worthwhile. Not only does that resolve the issue, but I think a CSS framework is best left out of a starter template.
Hi all. I am getting this same error. Any updates?
Hi all. I am getting this same error. Any updates?
I would just switch to yarn
Related: https://github.com/Idered/eslint-plugin-tailwind/issues/21. It does not list ESLint 8.x in its peer deps range. eslint-plugin-tailwindcss
might be worth switching to.
With NPM, you can use the --legacy-peer-deps
to ignore it or use a package manager like Yarn.