I'm new to react. I'm following the tutorial steps installing node. However, when I run npm start, errors keep show up.
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)
Also, I tried to install 'eslint-plugin-import', but in vain...
npm install eslint-plugin-import -g
npm WARN [email protected] requires a peer of [email protected] - 4.x but none was installed.
+ [email protected]
System info
eslint --version
v4.2.0
npm -v
5.2.0
npm list -g | grep eslint
├─┬ [email protected]
│ ├─┬ [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ ├─┬ [email protected]
├─┬ [email protected]

eslint-plugin-flowtypeandeslint-plugin-jsx-a11y