![]() |
|
[Javascript] NPM Package not working in production? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183) +---- Thread: [Javascript] NPM Package not working in production? (/showthread.php?tid=5704301) |
NPM Package not working in production? - Fresku - Aug 27, 2017 Hi, I'm working on a project and it's all runing fine in dev on my localhost. But when I use plesk to deploy a node application on there, everything works great except for one libary... It's called HorsemanJS and I use it to scrape websites that execute Javascript on the page ( simple GET requests wont do the trick then ). I double checked the package.json in dev and production, and they were the same, with no devDependencies... Iknow the HorsemanJS is dependent on PhantomJS, but I have phantom also required in the package.json, they're exactly the same files.. |