…
npm WARN sass-loader@3.2.0 requires a peer of webpack@^1.12.6 but none was installed.
npm WARN extract-text-webpack-plugin@1.0.1 requires a peer of webpack@^1.9.11 but none was installed.
npm WARN eslint-config-airbnb@9.0.1 requires a peer of eslint-plugin-jsx-a11y@^1.2.0 but none was installed.
npm WARN eslint-config-airbnb@9.0.1 requires a peer of eslint-plugin-import@^1.7.0 but none was installed.
npm WARN superagent-bluebird-promise@3.0.0 requires a peer of superagent@1.x but none was installed.
npm WARN webpack-dev-server@2.0.0-beta requires a peer of webpack@>=2.0.3-beta <3 but none was installed.
npm WARN eslint-config-airbnb-base@3.0.1 requires a peer of eslint-plugin-import@^1.7.0 but none was installed.
Eslint not working:
/usr/local/bin/node /Users/vss/Projects/_basket/redux-easy-boilerplate/node_modules/eslint/bin/eslint.js --format=checkstyle --stdin --stdin-filename app/redux/modules/posts/posts.js
Failed to load plugin jsx-a11y: Cannot find module 'eslint-plugin-jsx-a11y'
Referenced from: airbnb
Referenced from: /Users/vss/Projects/_basket/redux-easy-boilerplate/.eslintrc
Error: Failed to load plugin jsx-a11y: Cannot find module 'eslint-plugin-jsx-a11y'
Referenced from: airbnb
Referenced from: /Users/vss/Projects/_basket/redux-easy-boilerplate/.eslintrc
at Function.Module._resolveFilename (module.js:438:15)
at Function.Module._load (module.js:386:25)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object.module.exports.load (/Users/vss/Projects/_basket/redux-easy-boilerplate/node_modules/eslint/lib/config/plugins.js:114:26)
at Array.forEach (native)
at Object.module.exports.loadAll (/Users/vss/Projects/_basket/redux-easy-boilerplate/node_modules/eslint/lib/config/plugins.js:136:21)
at load (/Users/vss/Projects/_basket/redux-easy-boilerplate/node_modules/eslint/lib/config/config-file.js:500:21)
at /Users/vss/Projects/_basket/redux-easy-boilerplate/node_modules/eslint/lib/config/config-file.js:386:36
at Array.reduceRight (native)
Process finished with exit code 1
And npm ls > npmls.txt:
npm ERR! peer dep missing: superagent@1.x, required by superagent-bluebird-promise@3.0.0
npm ERR! peer dep missing: webpack@^1.9.11, required by extract-text-webpack-plugin@1.0.1
npm ERR! peer dep missing: webpack@^1.12.6, required by sass-loader@3.2.0
npm ERR! peer dep missing: webpack@>=2.0.3-beta <3, required by webpack-dev-server@2.0.0-beta
npm ERR! peer dep missing: eslint-plugin-import@^1.7.0, required by eslint-config-airbnb@9.0.1
npm ERR! peer dep missing: eslint-plugin-jsx-a11y@^1.2.0, required by eslint-config-airbnb@9.0.1
npm ERR! peer dep missing: eslint-plugin-import@^1.7.0, required by eslint-config-airbnb-base@3.0.1
Hello, @sotnikov-link, can you tell me your version node and npm?)
And i updated package.json, try now "rm -rf node_modules" and "npm install" and "npm rebuild"
After
npm i
:Eslint not working:
And
npm ls > npmls.txt
:npmls.txt
What to do with "UNMET PEER DEPENDENCY"? (
Command+F
/Ctrl+F
)Sorry for the long message.