Closed
Description
Is this a bug report?
Yes, seems like it to me.
Can you also reproduce the problem with npm 4.x?
I haven't tried yet. I think that would be a wild goose chase. This problem just started today out of the blue. My hunch is that is an environment problem of some sort.
Which terms did you search for in User Guide?
I did a google search instead. Found no help.
Environment
node -v
: v8.1.2npm -v
: 5.2.0yarn --version
(if you use Yarn): don't usenpm ls react-scripts
(if you haven’t ejected): react-scripts@1.0.10
Then, specify:
- Operating system: macOS 10.12.5
- Browser and version (if relevant): Chrome Version 59.0.3071.115 (Official Build) (64-bit)
Steps to Reproduce
(Write your steps here:)
Invoke:
- create-react-app my-app (no issues here)
- cd my-app
- npm start
After step #3 the console window shows:
Failed to compile.
./src/index.js
Module build failed: Error: Failed to load plugin import: Cannot find module 'eslint-plugin-import'
Referenced from:
at Array.forEach (native)
at Array.reduceRight (native)
Expected Behavior
(Write what you thought would happen.)
Actual Behavior
(Write what happened. Please add screenshots!)
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)