marcbachmann / node-html-pdf

This repo isn't maintained anymore as phantomjs got dreprecated a long time ago. Please migrate to headless chrome/puppeteer.
MIT License
3.56k stars 543 forks source link

Phantom installation failed { Error: Command failed: tar jxf /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 #435

Closed Messilimeng closed 6 years ago

Messilimeng commented 6 years ago

image

Asreepathi commented 5 years ago

I am facing the same issue, please help

Messilimeng commented 5 years ago

@Asreepathi i am sorry i forgot how to fix that

HBF1 commented 5 years ago

run command yum install bzip2

its works

nabajitroy commented 4 years ago

Gr8 -yum install bzip2 worked for me

henimbola commented 2 years ago

Installing bzip2 also worked for me.

Heriberto-Juarez commented 1 year ago

Gr8 -yum install bzip2 worked for me

In my case I am running ubuntu and it worked too:

sudo apt install bzip2