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 545 forks source link

Would like to ask, the local environment is no problem, Linux CentOS error, how to solve it? #607

Open beclass opened 3 years ago

beclass commented 3 years ago

image

tjswk2008 commented 3 years ago

@beclass please try "npm install phantomjs-prebuilt --ignore-scripts" or "npm install phantomjs-prebuilt@2.1.16 --update-binary"