Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to run node-gyp configure in iojs 3.0.0 #685

Closed
sbrl opened this issue Aug 7, 2015 · 15 comments
Closed

Failure to run node-gyp configure in iojs 3.0.0 #685

sbrl opened this issue Aug 7, 2015 · 15 comments

Comments

@sbrl
Copy link

sbrl commented Aug 7, 2015

If I try to install the canvas like this:

# npm install canvas

I get this:

> canvas@1.2.7 install /some/path/here
> node-gyp rebuild

gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 404 response downloading https://nodejs.org/dist/v3.0.0/node-v3.0.0.tar.gz
gyp ERR! stack     at Request.<anonymous> (/usr/local/lib/iojs-v3.0.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:251:14)
gyp ERR! stack     at emitOne (events.js:82:20)
gyp ERR! stack     at Request.emit (events.js:169:7)
gyp ERR! stack     at Request.onRequestResponse (/usr/local/lib/iojs-v3.0.0-linux-x64/lib/node_modules/npm/node_modules/request/request.js:992:10)
gyp ERR! stack     at emitOne (events.js:77:13)
gyp ERR! stack     at ClientRequest.emit (events.js:169:7)
gyp ERR! stack     at HTTPParser.parserOnIncomingClient (_http_client.js:415:21)
gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23)
gyp ERR! stack     at TLSSocket.socketOnData (_http_client.js:305:20)
gyp ERR! stack     at emitOne (events.js:77:13)
gyp ERR! System Linux 2.6.32-042stab108.5
gyp ERR! command "/usr/local/lib/iojs-v3.0.0-linux-x64/bin/iojs" "/usr/local/lib/iojs-v3.0.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /srv/www-admin/codenamerainbowfrog/node_modules/canvas
gyp ERR! node -v v3.0.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Linux 2.6.32-042stab108.5
npm ERR! argv "/usr/local/lib/iojs-v3.0.0-linux-x64/bin/iojs" "/usr/local/bin/npm" "install" "canvas"
npm ERR! node v3.0.0
npm ERR! npm  v2.13.4
npm ERR! code ELIFECYCLE

npm ERR! canvas@1.2.7 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the canvas@1.2.7 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the canvas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls canvas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /srv/www-admin/codenamerainbowfrog/npm-debug.log

Apparently, I am supposed to include npm-debug.log when requesting help, so I uploaded it to termbin.com.

Does anyone know why this is happening? Is io.js v3.0.0 not supported?

@davegomez
Copy link

It seems it is not supported yet, I've been having the same issue while compiling.

@micky2be
Copy link

same here

@Fishrock123
Copy link
Contributor

gyp ERR! stack Error: 404 response downloading https://nodejs.org/dist/v3.0.0/node-v3.0.0.tar.gz

Are you folks still getting this same error?

@sbrl
Copy link
Author

sbrl commented Aug 19, 2015

@Fishrock123 Yep, I still get the same error. I am running Ubuntu Server 15.04.

Here's the output from uname -a:

Linux starbeamrainbowlabs.com 2.6.32-042stab108.8 #1 SMP Wed Jul 22 17:23:23 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux

@vramana
Copy link

vramana commented Aug 22, 2015

@Fishrock123 Shouldn't that url read https://iojs.org/dist/v3.0.0/iojs-v3.0.0.tar.gz cause there is no v3.0.0 folder in https://nodejs.org/dist ??

@Fishrock123
Copy link
Contributor

Are you folks trying to build with a different npm than ships with io.js? Only io.js's npm is able to build native addons for io.js. (Needs floating patches.)

@Fishrock123
Copy link
Contributor

npm ERR! npm v2.13.4

Looks like it. npm is only 2.13.3 in io.js 3.0.0 and 3.1.0.: https://github.com/nodejs/node/commits/6faf17cb45e27cb6feeff4a0da1513ea99a68b58/deps/npm

This is a known issue, sorry. It should be resolvable now that nodejs/node@04fd4fa landed.

@vramana
Copy link

vramana commented Aug 23, 2015

@Fishrock123 Yeah. I am trying out the latest npm beta version.

@sbrl
Copy link
Author

sbrl commented Aug 23, 2015

@Fishrock123 Nope, I just installed io.js for windows 7 64 bit as normal.

EDIT: I installed npm with iojs on Ubuntu as normal. Apparently I haven't got enough sleep recently....

@Fishrock123
Copy link
Contributor

@sbrl what does npm -v output for you?

@Fishrock123
Copy link
Contributor

#701

@sbrl
Copy link
Author

sbrl commented Aug 23, 2015

@Fishrock123 2.13.5.

@Fishrock123
Copy link
Contributor

@sbrl Please see the above. :s

@sbrl
Copy link
Author

sbrl commented Aug 23, 2015

@Fishrock123 Updated to npm 2.14.0, and it still doesn't work. I doesn't really understand what's going on here.

@CuthbertJungle
Copy link

i had loads of problems with this too. fixed it with https://github.com/creationix/nvm i now have node-gyp building under both node and iojs. result !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants