Unable to run npm install
See original GitHub issueAfter 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: react-three-next@2.0.0
npm ERR! Found: eslint@8.20.0
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 eslint-plugin-tailwind@0.2.1
npm ERR! node_modules/eslint-plugin-tailwind
npm ERR! dev eslint-plugin-tailwind@"^0.2.1" from the root project
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Can't run npm install - node.js - Stack Overflow
sudo npm install npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/mg/package.json' npm WARN mg No description npm WARN mg ...
Read more >5 Ways to Fix the Npm Install Not Working Issue
Way 1. Make Sure Npm Is Installed · Way 2. Make Sure There Is a Package.json File · Way 3. Delete Lock File...
Read more >How to fix npm install command not working
The error above happens when npm can't be found under the PATH environment variable. First, you need to make sure that npm is...
Read more >Common errors | npm Docs
Some strange issues can be resolved by simply running npm cache clean and trying again. · If you are having trouble with npm...
Read more >Problem with npm install - M220JS - MongoDB
Remove the node_modules folder inside the project folder where the package. · Run npm update -g npm · Execute this command by running...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

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.
Related: https://github.com/Idered/eslint-plugin-tailwind/issues/21. It does not list ESLint 8.x in its peer deps range.
eslint-plugin-tailwindcssmight be worth switching to.With NPM, you can use the
--legacy-peer-depsto ignore it or use a package manager like Yarn.