v3.0.25 npm install failing on phantomjs
See original GitHub issuemacOS 10.12.6 node -v v8.4.0 npm -v 5.4.1
Updated to latest version of backstopjs which fails at phantomjs. Relevant portion of log below.
I’ll downgrade for now, but any idea what might be causing this?
16326 silly install phantomjs-prebuilt@2.1.15
16327 info lifecycle phantomjs-prebuilt@2.1.15~install: phantomjs-prebuilt@2.1.15
16328 verbose lifecycle phantomjs-prebuilt@2.1.15~install: unsafe-perm in lifecycle true
16329 verbose lifecycle phantomjs-prebuilt@2.1.15~install: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/davegrant/Sites/cipd/html/peoplemanagement/node_modules/phantomjs-prebuilt/node_modules/.bin:/Users/davegrant/Sites/cipd/html/peoplemanagement/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet
16330 verbose lifecycle phantomjs-prebuilt@2.1.15~install: CWD: /Users/davegrant/Sites/cipd/html/peoplemanagement/node_modules/phantomjs-prebuilt
16331 silly lifecycle phantomjs-prebuilt@2.1.15~install: Args: [ '-c', 'node install.js' ]
16332 silly lifecycle phantomjs-prebuilt@2.1.15~install: Returned: code: 1 signal: null
16333 info lifecycle phantomjs-prebuilt@2.1.15~install: Failed to exec install script
16334 verbose unlock done using /Users/davegrant/.npm/_locks/staging-849c7d926953bcc8.lock for /Users/davegrant/Sites/cipd/html/peoplemanagement/node_modules/.staging
16335 verbose stack Error: phantomjs-prebuilt@2.1.15 install: `node install.js`
16335 verbose stack Exit status 1
16335 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)
16335 verbose stack at emitTwo (events.js:125:13)
16335 verbose stack at EventEmitter.emit (events.js:213:7)
16335 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
16335 verbose stack at emitTwo (events.js:125:13)
16335 verbose stack at ChildProcess.emit (events.js:213:7)
16335 verbose stack at maybeClose (internal/child_process.js:927:16)
16335 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
16336 verbose pkgid phantomjs-prebuilt@2.1.15
16337 verbose cwd /Users/davegrant/Sites/cipd/html/peoplemanagement
16338 verbose Darwin 16.7.0
16339 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "i"
16340 verbose node v8.4.0
16341 verbose npm v5.4.1
16342 error code ELIFECYCLE
16343 error errno 1
16344 error phantomjs-prebuilt@2.1.15 install: `node install.js`
16344 error Exit status 1
16345 error Failed at the phantomjs-prebuilt@2.1.15 install script.
16345 error This is probably not a problem with npm. There is likely additional logging output above.
16346 verbose exit [ 1, true ]
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Error installing PhantomJS with NPM / NodeJS - Stack Overflow
So it seems that the installation script has some problems extracting the sources (maybe). Has anybody run into the same problem and solved...
Read more >phantomjs/README.md - UNPKG
3. 4, An NPM installer for [PhantomJS](http://phantomjs.org/), headless webkit ... 40, And npm will install a link to the binary in `node_modules/.bin` as....
Read more >How to install phantomjs-prebuilt? - JFrog
1. Manually download files from https://bitbucket.org/ariya/phantomjs/downloads to a local disk · 2. Create a new GENERIC repository in ...
Read more >Containerized private minion (CPM) release notes
Remove deprecated PhantomJS runtime and dependencies. October 15, 2020. Containerized private minion (CPM) v3.0.25. Updated OpenJDK to java8u265. Added node ...
Read more >node packages | Corvid by Wix
0.9.3. available. 12/28/2022. csv-converter-to-pdf-and-html ... 0.2.5. available. 08/24/2022. screenshotr. 1.0.0-beta. available. 08/24/2022 ... npm-install.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I fixed it by setting user/group of /usr/lib/node_modules/ (OS: Ubuntu 17.04) to my user and install BackstopJS globally without sudo:
No BackstopJS problem, but a npm/phantomJS one…
Try the following. For more info, please refer to: https://github.com/npm/npm/issues/17851#issuecomment-343666114