Repository navigation
node-gyp rebuild not working #433
Description
Activity
yes, this is a problem with node-gyp upstream not supporting io.js yet, we'll be submitting a patch asap but for now you can use the node-gyp that comes bundled with io.js: /usr/local/lib/node_modules/npm/node_modules/node-gyp/ (you could go into that directory and
npm linkif you want to make itnode-gypglobal).leaving this issue open as a reminder that we need to do this
thanks
windows, does not work
gyp ERR! stack Error: 404 status code downloading 32-bit node.lib@reklatsmasters That should have been fixed by 5de334c.
@bnoordhuis Cool. But it's not in
v1.0.1right?- fd30eb2 - (upstream/v1.x) src: fix jslint errors (50 minutes ago) Yosuke Furukawa yosuke.furukawa@gmail.com
- 946eabd - tools: update closure linter to 2.3.17 (50 minutes ago) Yosuke Furukawa yosuke.furukawa@gmail.com
- 9e62ae4 - _debug_agent: use
readableObjectModeoption (2 hours ago) Vladimir Kurchatkin vladimir.kurchatkin@gmail.com - eec4c81 - doc: fix formatting in LICENSE for RTF generation (2 hours ago) Rod Vagg rod@vagg.org
- e789103 - doc: fix 404s for syntax highlighting js (3 hours ago) Phil Hughes me@iamphill.com
- ca039b4 - src: define AI_V4MAPPED for OpenBSD (4 hours ago) Aaron Bieber deftly@gmail.com
- 753fcaa - doc: extend example of http.request by end event (5 hours ago) Michal Tehnik michal.tehnik@mictech.cz
- 8440cac - src: fix documentation url in help message (14 hours ago) Shigeki Ohtsu ohtsu@iij.ad.jp
- 24def66 - win,msi: warn that older io.js needs manual uninstall (20 hours ago) Bert Belder bertbelder@gmail.com
- 59d9361 - win,msi: change UpgradeCode (20 hours ago) Bert Belder bertbelder@gmail.com
- 5de334c - deps: make node-gyp work again on windows (21 hours ago) Bert Belder bertbelder@gmail.com
<<< FIX - 07bd05b - deps: update libuv to 1.2.1 (22 hours ago) Saúl Ibarra Corretgé saghul@gmail.com
- e177377 - doc: mention io.js alongside Node in Punycode docs (24 hours ago) Mathias Bynens mathias@qiwi.be
- 598efcb - deps: update http_parser to 2.4.1 (24 hours ago) Fedor Indutny fedor@indutny.com
- 3dd7ebb - doc: update cluster entry in CHANGELOG (24 hours ago) Ben Noordhuis info@bnoordhuis.nl
- 0c5de1f - doc: fix double smalloc example (27 hours ago) Mathias Buus mathiasbuus@gmail.com
- 0926cb9 - crypto: add deprecated verisign cert for s3 compat (2 days ago) Ben Noordhuis info@bnoordhuis.nl
- 182c3b6 - benchmark: fix command name in benchmark scripts (2 days ago) Yosuke Furukawa yosuke.furukawa@gmail.com
- a7f5309 - doc: fix broken readme links to collaborator list (2 days ago) Chris Alley chris@chrisalley.info
- 010c567 - doc: fix mixed content issues (2 days ago) Mathias Bynens mathias@qiwi.be
- 38a46b9 - Working on 1.0.2 (2 days ago) Rod Vagg rod@vagg.org
- ad1e102 - doc: change link man doc (2 days ago) Jesse cogollo cogollo87@gmail.com
- 5459594 - (tag: v1.0.1-release) 2015-01-14 io.js v1.0.1 Release (2 days ago) Rod Vagg rod@vagg.org
<<< RELEASE - 82d2fd1 - Merge tag 'v1.0.0-release' into v1.x (2 days ago) Bert Belder bertbelder@gmail.com
@ralphtheninja Nope, but it will be in v1.0.2.
@rvagg Thanks for the tip with the link. I had to do
$ cd /usr/local/lib/iojs-v1.0.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp $ npm link -fTo get rid of the warning
npm ERR! Linux 3.13.0-44-generic npm ERR! argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "link" npm ERR! node v1.0.1 npm ERR! npm v2.1.18 npm ERR! path /usr/local/bin/node-gyp npm ERR! code EEXIST npm ERR! Refusing to delete: /usr/local/bin/node-gyp not in /usr/local/lib/iojs-v1.0.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp File exists: /usr/local/bin/node-gyp Move it away, and try again.Also just published a fork to give Nate a bit of time to digest and act on the above (and also provide us with a path forward if we can't get a merge): https://github.com/rvagg/pangyp
npm install pangyp -gto get back the functionality you need while we wait if you are doing addon dev.@caninojories please re-open if you are still having issues post-
pangyp. :)👍
gyp info it worked if it ends with ok gyp info using node-gyp@1.0.3 gyp info using node@1.6.3 | linux | x64 gyp http GET https://iojs.org/dist/v1.6.3/iojs-v1.6.3.tar.gz gyp http 404 https://iojs.org/dist/v1.6.3/iojs-v1.6.3.tar.gz gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: 404 status code downloading tarball gyp ERR! stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:246:14) gyp ERR! stack at emitOne (events.js:82:20) gyp ERR! stack at Request.emit (events.js:166:7) gyp ERR! stack at Request.onRequestResponse (/usr/local/lib/node_modules/npm/node_modules/node-gyp/node_modules/request/request.js:1139:10) gyp ERR! stack at emitOne (events.js:77:13) gyp ERR! stack at ClientRequest.emit (events.js:166:7) gyp ERR! stack at HTTPParser.parserOnIncomingClient (_http_client.js:410:21) gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23) gyp ERR! stack at TLSSocket.socketOnData (_http_client.js:300:20) gyp ERR! stack at emitOne (events.js:77:13) gyp ERR! System Linux 3.13.0-45-generic gyp ERR! command "/usr/local/bin/iojs" "/usr/local/bin/node-gyp" "rebuild" "--debug" gyp ERR! cwd /home/liying/workspace/node-addon-examples/1_hello_world/node_0.12 gyp ERR! node -v v1.6.3 gyp ERR! node-gyp -v v1.0.3 gyp ERR! not okwhy https://iojs.org/dist/v1.6.3/iojs-v1.6.3.tar.gz? the latest is https://iojs.org/dist/v1.6.2/iojs-v1.6.2.tar.gz!
10 remaining items
@rickdog Thank you! You're a life saver.
thanks @rickdog, but still, this should be fixed because i dislike installing global npm modules
- added a commit that references this issue
on Jun 9, 2015 - added a commit that references this issue
on Jul 10, 2015 If this affects a package being installed on Travis, then often it's due to
npm install -g npmbeing invoked in some form at some point. Since the version ofnpmshipped with iojs works just fine, one possible solution is omitting that install, or at least making it conditional so it gets skipped if$TRAVIS_NODE_VERSIONstarts withiojs. Example:before_install: | case ${TRAVIS_NODE_VERSION} in iojs*) echo "Not upgrading npm for iojs." ;; *) npm update -g npm ;; esac
- added 4 commits that reference this issue
on Aug 11, 2015 - added a commit that references this issue
on Oct 3, 2015
gyp info it worked if it ends with ok
gyp info using node-gyp@1.0.2
gyp info using node@1.0.1 | darwin | x64
gyp http GET http://nodejs.org/dist/v1.0.1/node-v1.0.1.tar.gz
gyp http 404 http://nodejs.org/dist/v1.0.1/node-v1.0.1.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 404 status code downloading tarball
gyp ERR! stack at Request. (/usr/local/lib/node_modules/node-gyp/lib/install.js:246:14)
gyp ERR! stack at Request.emit (events.js:117:20)
gyp ERR! stack at Request.onRequestResponse (/usr/local/lib/node_modules/node-gyp/node_modules/request/request.js:1255:10)
gyp ERR! stack at ClientRequest.emit (events.js:95:17)
gyp ERR! stack at HTTPParser.parserOnIncomingClient (_http_client.js:399:21)
gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:89:23)
gyp ERR! stack at Socket.socketOnData (_http_client.js:290:20)
gyp ERR! stack at Socket.emit (events.js:95:17)
gyp ERR! stack at readableAddChunk (_stream_readable.js:143:16)
gyp ERR! stack at Socket.Readable.push (_stream_readable.js:106:10)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/usr/local/bin/node-gyp" "rebuild"