gyp info it worked if it ends with ok
gyp verb cli [ 'node',
gyp verb cli 'C:\\Users\\ashamsut\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli 'configure',
gyp verb cli '--verbose' ]
gyp info using node-gyp@1.0.3
gyp info using node@0.10.35 | win32 | x64
gyp verb command configure []
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python C:\Python27\python.EXE
gyp verb check python version `python -c "import platform; print(platform.python_version());"` returned: "2.7.0\r\n"
gyp verb get node dir no --target version specified, falling back to host node version: v0.10.35
gyp verb command install [ 'v0.10.35' ]
gyp verb install input version string "v0.10.35"
gyp verb install installing version: 0.10.35
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 0.10.35
gyp verb ensuring nodedir is created C:\Users\ashamsut\.node-gyp\0.10.35
gyp verb created nodedir C:\Users\ashamsut\.node-gyp\0.10.35
gyp http GET http://nodejs.org/dist/v0.10.35/node-v0.10.35.tar.gz
gyp verb download using proxy url: "http://localhost:3128"
gyp http 403 http://nodejs.org/dist/v0.10.35/node-v0.10.35.tar.gz
gyp WARN install got an error, rolling back install
gyp verb command remove [ '0.10.35' ]
gyp verb remove using node-gyp dir: C:\Users\ashamsut\.node-gyp
gyp verb remove removing target version: 0.10.35
gyp verb remove removing development files for version: 0.10.35
gyp ERR! configure error
gyp ERR! stack Error: 403 status code downloading tarball
gyp ERR! stack at Request.<anonymous> (C:\Users\ashamsut\AppData\Roaming\npm\node_modules\node-gyp\lib\install.js:24
6:14)
gyp ERR! stack at Request.emit (events.js:117:20)
gyp ERR! stack at Request.onRequestResponse (C:\Users\ashamsut\AppData\Roaming\npm\node_modules\node-gyp\node_module
s\request\request.js:1156:10)
gyp ERR! stack at ClientRequest.emit (events.js:95:17)
gyp ERR! stack at HTTPParser.parserOnIncomingClient (http.js:1693:21)
gyp ERR! stack at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:122:23)
gyp ERR! stack at Socket.socketOnData (http.js:1588:20)
gyp ERR! stack at TCP.onread (net.js:528:27)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Users\\ashamsut\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configur
e" "--verbose"
gyp ERR! cwd C:\
gyp ERR! node -v v0.10.35
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
&#13;
问题。为什么node-gyp尝试下载node-v0.10.35.tar.gz虽然它已经安装了但我怎么能避免下载? 谢谢!