Compiling error on first 'npm start'
See original GitHub issueIs this a bug report?
Yes
These 3 steps:
npm install -g create-react-app
create-react-app my-app
cd my-app/
npm start
Resulted in:
Failed to compile.
./src/index.js Module build failed: Error: Failed to load plugin import: Cannot find module ‘eslint-plugin-import’
I have not edited the directories or files at all. Simply followed the first 3 steps in the Getting Started instructions
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
npm start, Failed to compile - create react app - Stack Overflow
Try deleting 'node_modules' folder and 'package-lock.json' file. Then run 'npm i'. This worked for me.
Read more >Common errors | npm Docs
Possible temporary npm registry glitch, or corrupted local server cache. Run npm cache clean and/or try again later. This can be caused by...
Read more >"The NPM script 'start' exited without indicating that the create ...
When I try to run my project I always get this error: 181477-image.png. I've tried everything I've seen online, and it still fails....
Read more >Error when running npm run build : r/react - Reddit
Error when running npm run build · Delete package-lock.json (not package.json!) and/or yarn. · Delete node_modules in your project folder. · Remove ...
Read more >How to fix start script error when running npm start command
In this video we are going to learn how to fix start script error when running npm start command.Thank You For Visiting My...
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 FreeTop 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
Top GitHub Comments
I faced the same when the first installation and fixed as followed up just at @latest for every installation done i.e.
npm install _LibName_@latest -g --save-dev
Install latest version of npm and remove node_moudles folder and lockfile, then re-install packages, the issue can be fixed. Here’s the command for Unix-like OS: