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

2.1.1 fails to install on windows / ELIFECYCLE #442

Closed
johanneswuerbach opened this issue Jan 25, 2016 · 2 comments · Fixed by #443
Closed

2.1.1 fails to install on windows / ELIFECYCLE #442

johanneswuerbach opened this issue Jan 25, 2016 · 2 comments · Fixed by #443

Comments

@johanneswuerbach
Copy link

2.1.1 is failing to install on Windows (appveyor CI)

$ node -v
4.2.4
$ npm -v
2.14.12
npm install -g
C:\Users\appveyor\AppData\Roaming\npm\phantomjs -> C:\Users\appveyor\AppData\Roaming\npm\node_modules\phantomjs\bin\phantomjs

> [email protected] install C:\Users\appveyor\AppData\Roaming\npm\node_modules\phantomjs
> node install.js

Looks like an `npm install -g` on windows; unable to check for already installed version.
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-windows.zip
Saving to C:\Users\appveyor\AppData\Local\Temp\1\phantomjs\phantomjs-2.1.1-windows.zip
Receiving...

Received 17767K total.
Extracting zip contents
Removing C:\Users\appveyor\AppData\Roaming\npm\node_modules\phantomjs\lib\phantom
Copying extracted folder C:\Users\appveyor\AppData\Local\Temp\1\phantomjs\phantomjs-2.1.1-windows.zip-extract-1453759798332\phantomjs-2.1.1-windows -> C:\Users\appveyor\AppData\Roaming\npm\node_modules\phantomjs\lib\phantom
chmod failed: phantomjs was not successfully copied to C:\Users\appveyor\AppData\Roaming\npm\node_modules\phantomjs\lib\phantom\phantomjs.exe
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "phantomjs"
npm ERR! node v4.2.4
npm ERR! npm  v2.14.12
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node install.js`

Full run:
https://ci.appveyor.com/project/johanneswuerbach/testem/build/748/job/fd1om6g152old123

@jameskleeh
Copy link

Also seeing this issue on Windows 10

@0xadada
Copy link

0xadada commented Jan 25, 2016

I'm seeing this on OS X and Linux:

$ npm install
...
npm ERR! Darwin 14.5.0
npm ERR! argv "/Users/xxx/.nvm/versions/node/v5.2.0/bin/node" "/Users/ronaldjadams/.nvm/versions/node/v5.2.0/bin/npm" "install"
npm ERR! node v5.2.0
npm ERR! npm  v3.3.12
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! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, 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.

This seems to fix it in OS X (Still working on a linux fix):

npm install --python=python2.7

@johanneswuerbach johanneswuerbach changed the title 2.1.1 fails to install on windows 2.1.1 fails to install on windows / ELIFECYCLE Jan 25, 2016
nicks added a commit that referenced this issue Jan 25, 2016
fix up windows install because the package structure changed. Fixes #442
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants