-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels