I have a application that generates PDF's using html-pdf
on nodejs, but after I made a deploy to the production server, I'm not able to generate. It gives this error:
'html-pdf: Failed to load PhantomJS module. You have to set the path to the PhantomJS binary using 'options.phantomPath'
And if I run npm install html-pdf
again, it gives this error
npm ERR! errno 1
npm ERR! node@11.8.0 preinstall: `node installArchSpecificPackage`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node@11.8.0 preinstall script.
And this error replicates to other modules, but I made a turn around.
Runing node 13.7.0 and npm 6.9.0