domenic / svg2png

Converts SVGs to PNGs, using PhantomJS
Other
585 stars 134 forks source link

Issue with svg2png on Linux: #88

Closed eaaliprantis closed 7 years ago

eaaliprantis commented 7 years ago

Hello,

So if i run the code on windows, the code runs fine. But when i run the code on Linux (Ubuntu 16.04) on OVH, it returns: UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: spawn /home/eaaliprantis/DJD/live/node_modules/phantomjs-prebuilt/lib/phantom\bin\phantomjs.exe ENOENT

Any particular reason why?

eaaliprantis commented 7 years ago

Ignore this. The issue was that when installing svg2png (via npm install svg2png --save it does not install the correct package (of phantomjs-prebuilt). That's the reason why.