Answer the question
In order to leave comments, you need to log in
How to install PhantomJS on CentOS 7?
Hello! Trying to install PhantomJS >$ npm install phantomjs -g
Extracting tar contents (via spawned process)
Error extracting archive
Phantom installation failed { [Error: Command failed: tar (child): bzip2: Exec function failed: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
] killed: false, code: 2, signal: null } Error: Command failed: tar (child): bzip2 : exec function failed: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
at ChildProcess.exithandler (child_process.js:648:15)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js: 823:5)
npm ERR! weird error 1
npm ERR! not ok code 0
also tried to compile from the sources according to the documentation on the site, but it also freezes in one place. What could be the problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question