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
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.
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?