-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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 hanging on npm install with phantomjs #1236
Comments
It looks like I can reproduce this (with |
You mean with npm @ 2.7.0 and node @ 0.12, right? cc @othiym23? |
I went through a number of steps. I know I upgraded NPM to 2.7.1 for 1.5.1, and I believe I did the same for Node 0.12.0. FYI from my perspective using later versions of phantomjs are just fine. I brought this issue up because the install works on Node and not on iojs. |
The changelogs for both |
@gtarcea {
"name": "tests",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT",
"dependencies": {
"socket.io": "1.0",
"phantomjs": "1.9.9"
}
} i agree with @kenany. phantomjs supports iojs on v1.9.15. |
Relevant: Medium/phantomjs#275. Issue seems to have been |
Ah so it was that bug again. @gtarcea please report back if above phantomjs version worked. |
Upgrading to the lastest phantomjs resolved the issue. I tried it on both mac and linux (fedora). Thanks everyone! |
I had a similar issue only on 1.6.2 (1.5 was fine) - but not using phantomjs. npm (2.7.1) worked again after removing all global modules. Too bad that I did not make a copy of the package list - discovered this issue too late. |
This update fixes an issue which causes npm install to hang while extracting and copying phantomjs. See: johnpapa#20 nodejs/node#1236
Hi all,
The package.json file below hangs iojs when doing an npm install. I've tested this across versions 1.5.0, 1.5.1 and 1.6.1. I've also tried npm versions 2.7.0 and 2.7.1. It works with node v0.12.0. This occurs on a Linux fedora box and Mac (yosemite). The output from npm where it hangs is always at the phantomjs install:
=============== start npm output =================================
spelljammer:~/t/longshoreapp$> npm install
npm WARN package.json longshoreapp@0.0.0 No repository field.
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
SOLINK_MODULE(target) Release/bufferutil.node: Finished
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
SOLINK_MODULE(target) Release/validation.node: Finished
Looks like an
npm install -g
; unable to check for already installed version.Download already available at /var/folders/80/xlwcdgms42nfs4t1j4r83km00000gn/T/phantomjs/phantomjs-1.9.7-macosx.zip
Extracting zip contents
Copying extracted folder /var/folders/80/xlwcdgms42nfs4t1j4r83km00000gn/T/phantomjs/phantomjs-1.9.7-macosx.zip-extract-1427025859423/phantomjs-1.9.7-macosx -> /Users/gtarcea/t/longshoreapp/node_modules/phantomjs/lib/phantom
================ end npm output ==========================
The package.json file is as follows:
========= start package.json ==========
{
"name": "longshoreapp",
"description": "",
"version": "0.0.0",
"scripts": {
"init": "npm install",
"install": "bower install",
"start": "node --harmony src/server/app.js",
"test": "gulp test"
},
"dependencies": {
},
"devDependencies": {
"phantomjs": "1.9.9"
}
}
========= end package.json ==========
If there is anything I should do or try please let me know.
The text was updated successfully, but these errors were encountered: