Fatal error: spawn ENOENT when running in cygwin
Closed this issue · 7 comments
We should probably do this somewhere else, but my workaround was to set casperBin to casperjs.exe
//Local casperjs dependency path
//var casperBin = "./node_modules/.bin/casperjs";
var casperBin = "./node_modules/grunt-casper/node_modules/casperjs/bin/casperjs.exe";
Used 0.3.1
Oh Windows.. Let me look into this in the next couple of nights and figure out a way to make it work for all platforms.
Thanks for finding this.
This has been fixed in v0.3.2.
Any chance you could publish this version to npmjs? I want to force this version as a minimum in a library whose tests should run on Windows.
Isn't casperjs is installed under grunt-casper ? For me what worked was
var casperBin = "./node_modules/grunt-casper/node_modules/casperjs/bin/casperjs" + (isWindows ? ".exe" : "");
Published v0.3.3, cleaned up the location path handling a bit.
Rock on; thanks very much! :-)
Perfect!! thanks :)