You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the plugin on Windows 8 x64 throws an error ENOENT when trying to spawn phantomjs. It seems like is a known issue with child_process.spawn not respecting EXTPATH, as mentioned here: nodejs/node-v0.x-archive#2318
Then I tried to change the name passed to spawn process to 'phantomjs.cmd' and it worked fine. As this is not a X-platform solution, I thought on requiring explicitly phantomjs in project, taking the opportunity to require latest phantomjs-prebuilt module and calling spawn with require('phantomjs-prebuilt').path
I tried it on Win8x64 and Ubuntu 14.04 and working fine.
The text was updated successfully, but these errors were encountered:
Running the plugin on Windows 8 x64 throws an error ENOENT when trying to spawn phantomjs. It seems like is a known issue with child_process.spawn not respecting EXTPATH, as mentioned here: nodejs/node-v0.x-archive#2318
Then I tried to change the name passed to spawn process to 'phantomjs.cmd' and it worked fine. As this is not a X-platform solution, I thought on requiring explicitly phantomjs in project, taking the opportunity to require latest phantomjs-prebuilt module and calling spawn with require('phantomjs-prebuilt').path
I tried it on Win8x64 and Ubuntu 14.04 and working fine.
The text was updated successfully, but these errors were encountered: