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

iojs not working with node-pre-gyp #453

Closed
thlorenz opened this issue Jan 15, 2015 · 2 comments
Closed

iojs not working with node-pre-gyp #453

thlorenz opened this issue Jan 15, 2015 · 2 comments

Comments

@thlorenz
Copy link
Contributor

Tried to install v8-profiler on OSX and run into a problem because:

  1. The io.js? (or other) certificate is not trusted and therefore node-pre-gyp falls back to node-gyp
  2. node-gyp tries to download v1.0 from the original node site which fails

I assume this has to do with the fact that io.js isn't properly signed at this point?
If this is actually a node-pre-gyp (or other) problem, please lmk and I'll take it over there.

As a note doing nave use 0.11 npm install works fine which is why I think it's some issue related to io.js.

Stack

> v8-profiler@5.2.2 install /Volumes/d/dev/v8-profiler
> node-pre-gyp install --fallback-to-build

node-pre-gyp http GET https://node-inspector.s3.amazonaws.com/profiler/v5.2.2/node-v42-darwin-x64.tar.gz
node-pre-gyp http certificate not trusted (falling back to source compile with node-gyp)
child_process: customFds option is deprecated, use stdio instead.
gyp http GET http://nodejs.org/dist/v1.0.0/node-v1.0.0.tar.gz
gyp http 404 http://nodejs.org/dist/v1.0.0/node-v1.0.0.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 Request.emit (events.js:117:20)
gyp ERR! stack     at Request.onRequestResponse (/usr/local/lib/node_modules/npm/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 "/usr/local/bin/iojs" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--name=v8-profiler" "--configuration=Release" "--module_name=profiler" "--version=5.2.2" "--major=5" "--minor=2" "--patch=2" "--runtime=node" "--node_abi=node-v42" "--platform=darwin" "--target_platform=darwin" "--arch=x64" "--target_arch=x64" "--module_main=v8-profiler" "--host=https://node-inspector.s3.amazonaws.com/" "--module_path=/Volumes/d/dev//v8-profiler/build/profiler/v5.2.2/node-v42-darwin-x64" "--module=/Volumes/d/dev/v8-profiler/build/profiler/v5.2.2/node-v42-darwin-x64/profiler.node" "--remote_path=./profiler/v5.2.2/" "--package_name=node-v42-darwin-x64.tar.gz" "--staged_tarball=build/stage/profiler/v5.2.2/node-v42-darwin-x64.tar.gz" "--hosted_path=https://node-inspector.s3.amazonaws.com/profiler/v5.2.2/" "--hosted_tarball=https://node-inspector.s3.amazonaws.com/profiler/v5.2.2/node-v42-darwin-x64.tar.gz"
gyp ERR! cwd /Volumes/d/dev/v8-profiler
gyp ERR! node -v v1.0.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
node-pre-gyp ERR! build error
@thlorenz thlorenz changed the title iojs breaks node-pre-gyp iojs not working with node-pre-gyp Jan 15, 2015
@bnoordhuis
Copy link
Member

I think this is #402. S3's certificate chain has a deprecated 1024 bits certificate in it. We're still discussing what the best way forward is.

@thlorenz
Copy link
Contributor Author

Ok, thanks, closing as it is a duplicate.

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

No branches or pull requests

2 participants