npm镜像安装失败 npm ERR! Windows_NT 10.0.16299.......

$ npm install

npm ERR! Windows_NT 10.0.16299

npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\                        node_modules\\npm\\bin\\npm-cli.js" "install"

npm ERR! node v4.4.3

npm ERR! npm  v2.15.1

npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' pe                        erDependencies requirements!

npm ERR! peerinvalid Peer [email protected] wants eslint@^4.4.1

npm ERR! peerinvalid Peer [email protected] wants eslint@>=3.1.0

npm ERR! peerinvalid Peer [email protected] wants eslint@>=3.0.0

npm ERR! peerinvalid Peer [email protected] wants eslint@>=3.1                        .0

npm ERR! peerinvalid Peer [email protected] wants eslint@>=3.1.0

npm ERR! peerinvalid Peer [email protected] wants eslint@^3.18.0 || ^4.0.                        0

npm ERR! peerinvalid Peer [email protected] wants [email protected] - 4.x

npm ERR! peerinvalid Peer [email protected] wants eslint@^3.0.0 || ^4.0.                        0

npm ERR! Please include the following file with any support request:

npm ERR!     F:\demo\es6-webpack\npm-debug.log

 

原因:node版本过低,去官网安装一个高版本的node.js即可。(我的原因是这个)

你可能感兴趣的:(小问题解决办法)