npm install sqlite3 成功后,开始执行nw-gyp rebuild --target=0.10.5 --targetarch=ia32,然后出现错误:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | ia32
gyp http GET http://node-webkit.s3.amazonaws.com/v0.10.5/nw-headers-v0.10.5.tar.
gz
gyp http 200 http://node-webkit.s3.amazonaws.com/v0.10.5/nw-headers-v0.10.5.tar.
gz
gyp http GET http://node-webkit.s3.amazonaws.com/v0.10.5/x64/nw.lib
gyp http GET http://node-webkit.s3.amazonaws.com/v0.10.5/nw.lib
gyp http GET http://node-webkit.s3.amazonaws.com/v0.10.5/x64/nw.lib
gyp http GET http://node-webkit.s3.amazonaws.com/v0.10.5/nw.lib
gyp http 404 http://node-webkit.s3.amazonaws.com/v0.10.5/x64/nw.lib
gyp WARN install got an error, rolling back install
gyp http 404 http://node-webkit.s3.amazonaws.com/v0.10.5/x64/nw.lib
gyp http 200 http://node-webkit.s3.amazonaws.com/v0.10.5/nw.lib
gyp http 200 http://node-webkit.s3.amazonaws.com/v0.10.5/nw.lib
gyp ERR! configure error
gyp ERR! stack Error: 404 status code downloading 64-bit nw.lib
gyp ERR! stack at Request.<anonymous> (D:\ledin\node\node_modules\nw-gyp\lib
\install.js:317:20)
gyp ERR! stack at Request.EventEmitter.emit (events.js:117:20)
gyp ERR! stack at Request.onRequestResponse (D:\ledin\node\node_modules\nw-g
yp\node_modules\request\request.js:1247:10)
gyp ERR! stack at ClientRequest.EventEmitter.emit (events.js:95:17)
gyp ERR! stack at HTTPParser.parserOnIncomingClient (http.js:1688:21)
gyp ERR! stack at HTTPParser.parserOnHeadersComplete [as onHeadersComplete]
(http.js:121:23)
gyp ERR! stack at Socket.socketOnData (http.js:1583:20)
gyp ERR! stack at TCP.onread (net.js:525:27)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "D:\\ledin\\node\\\\node.exe" "D:\\ledin\\node\\node_modules\\n
w-gyp\\bin\\nw-gyp.js" "rebuild" "--target=0.10.5" "--target_arch=ia32"
gyp ERR! cwd D:\ledin\node-webkit-v0.10.5\work\sqlite3_study\node_modules\sqlite
3
gyp ERR! node -v v0.10.22
gyp ERR! nw-gyp -v v0.12.3
gyp ERR! not ok