Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

[io.js v1.0.1] Certificate error causing phantomjs install to fail #271

Closed
pheuter opened this issue Jan 14, 2015 · 6 comments
Closed

[io.js v1.0.1] Certificate error causing phantomjs install to fail #271

pheuter opened this issue Jan 14, 2015 · 6 comments

Comments

@pheuter
Copy link

pheuter commented Jan 14, 2015

$ npm install
node install.js

Looks like an `npm install -g`; unable to check for already installed version.
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip
Saving to /var/folders/hw/6bcr1lnj4n94tfw8z0k13fjr0000gn/T/phantomjs/phantomjs-1.9.8-macosx.zip
Receiving...

Error making request.
Error: certificate not trusted
    at Error (native)
    at TLSSocket.<anonymous> (_tls_wrap.js:895:36)
    at TLSSocket.emit (events.js:92:17)
    at TLSSocket._finishInit (_tls_wrap.js:438:8)

Please report this full log at https://github.com/Medium/phantomjs
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v1.0.1
npm ERR! npm  v2.1.18
npm ERR! code ELIFECYCLE

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

npm ERR! Please include the following file with any support request:
npm ERR!    ./npm-debug.log
@nicks
Copy link
Contributor

nicks commented Jan 14, 2015

filed as nodejs/node#402

given that io.js v1.0.1 is currently marked beta, I don't think we should try to work around this in this package (as it's a pretty far-reaching openssl problem)

@pheuter
Copy link
Author

pheuter commented Jan 14, 2015

Gotcha, makes sense.

@corbinu
Copy link

corbinu commented Jan 20, 2015

That issue has been fixed how ever when installing phantomjs on iojs the install now gets stuck and never stops on 'Copying extracted folder /var/folders/pt/_mpbrdv90p3741h3xyt253pw0000gn/T/phantomjs/phantomjs-1.9.8-macosx.zip-extract-1421713554555/phantomjs-1.9.8-macosx -> /Users/corbinu/Developer/tests/node_modules/phantomjs/lib/phantom'

I am on OS X 10.10

@pheuter
Copy link
Author

pheuter commented Jan 20, 2015

Same.

@nicks
Copy link
Contributor

nicks commented Jan 20, 2015

i'm going to close this issue and re-open a different one, since it sounds like this is a new issue

@19h
Copy link

19h commented Jan 28, 2015

given that io.js v1.0.1 is currently marked beta, I don't think we should try to work around this in this package (as it's a pretty far-reaching openssl problem)

err! The io.js versioning changed from what you're used to in node. It is not marked as beta, but as unstable, because it now follows the Google Chrome release cycle. We'll hit stable when V8 4.1 (Chrome 41) will land in for general availability. (Chrome stable; March)

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

No branches or pull requests

4 participants