求助,npm install g

阅读(3431)
gyp&ERR!&configure&error
gyp&ERR!&stack&Error:&Python&executable&"python"&is&v2.4.3,&which&is&not&supported&by&gyp.gyp&ERR!&stack&You&can&pass&the&--python&switch&to&point&to&Python&&=&v2.5.0&&&&&3.0.0.gyp&ERR!&stack&&&&&at&failPythonVersion&(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:125:14)gyp&ERR!&stack&&&&&at&/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:114:9
解决,安装多个版本的python
设定一个符合的一个版本
You can use&--python&option to npm like so:
npm&install&--python=python2.7
or set it to be used always:
npm&config&set&python&python2.7
Npm will in turn pass this option to node-gyp when needed.
(note: I'm the one who opened an issue on Github to have this included in the docs, as there were so many-) )
阅读排行榜npm install 报错 求教解决办法 · Ruby China
用的是 bootstrap3
npm cache clear
npm install
npm http 304
npm http GET
npm http 304
npm http 304
npm http 304
npm http 304
npm http GET
npm http 200
npm http 304
npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer grunt-banner@0.2.2 wants grunt@~0.4.1
npm ERR! peerinvalid Peer grunt-contrib-clean@0.5.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-concat@0.3.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-connect@0.6.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-copy@0.5.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-csslint@0.2.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-cssmin@0.7.0 wants grunt@~0.4.1
npm ERR! peerinvalid Peer grunt-contrib-jade@0.9.1 wants grunt@~0.4.1
npm ERR! peerinvalid Peer grunt-contrib-jshint@0.8.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-less@0.9.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-qunit@0.4.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-uglify@0.3.3 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-watch@0.5.3 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-csscomb@2.0.1 wants grunt@~0.4.2
npm ERR! peerinvalid Peer grunt-exec@0.4.3 wants grunt@~0.4
npm ERR! peerinvalid Peer grunt-html-validation@0.1.14 wants grunt@~0.4.1
npm ERR! peerinvalid Peer grunt-jekyll@0.4.1 wants grunt@~0.4.1
npm ERR! peerinvalid Peer grunt-jscs-checker@0.3.2 wants grunt@0.4.2
npm ERR! peerinvalid Peer grunt-saucelabs@5.0.1 wants grunt@~0.4.1
npm ERR! peerinvalid Peer grunt-sed@0.1.1 wants grunt@~0.4
npm ERR! System Darwin 13.1.0
npm ERR! command "/usr/local/Cellar/node/0.10.26/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/xxx/www/xxx
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code EPEERINVALID
npm ERR! Additional logging details can be found in:
/Users/xxx/www/xxx/npm-debug.log
npm ERR! not ok code 0
万恶的墙。
楼主 grunt 版本太低了,不符合这些组件的 peerDependencies 要求。装个新版本的 grunt
我的貌似是太高了grunt v0.4.4
后方可回复, 如果你还没有账号请点击这里 。
共收到 4 条回复npm命令概述 | realwall
- 38,483 views - 31,939 views - 8,270 views - 6,890 views - 6,596 views - 5,510 views - 5,250 views - 4,647 views - 4,478 views - 4,119 viewsnpm 解决无法install的问题(设置代理) - 简书
下载简书移动应用
写了12709字,被5人关注,获得了5个喜欢
npm 解决无法install的问题(设置代理)
在公司的网络中npm一直install不了
C:\Users\heroyan&npm install less
npm http GET https://registry.npmjs.org/less
npm http GET https://registry.npmjs.org/less
npm http GET https://registry.npmjs.org/less
npm ERR! Error: connect ETIMEDOUT
at errnoException (net.js:768:11)
at Object.afterConnect [as oncomplete] (net.js:759:19)
npm ERR! If you need help, you may report this log at:
&/isaacs/npm/issues&
npm ERR! or email it to:
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Fi
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "less"
npm ERR! cwd C:\Users\heroyan
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! syscall connect
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! Additional logging details can be found in:
C:\Users\heroyan\npm-debug.log
npm ERR! not ok code 0
原来是代理的问题,电脑通过代理上网,所以设置下代理就可以了,运行命令npm set proxy=
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
选择支付方式:

我要回帖

更多关于 npm install dev 的文章

 

随机推荐