K
K
Konstantin Chuykov2015-04-29 14:26:23
JavaScript
Konstantin Chuykov, 2015-04-29 14:26:23

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

1 answer(s)
S
smartup, 2015-04-30
@chuikoffru

First:
And then:
From here: webdevil.ru/post/2015/352-centos-7-phantomjs-install

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question