Have set up my enviro to use CasperJS with Mocha and Chai and PhantomJS . Then while trying to run something like "mocha-casperjs test/test-index.js" I get an error:
/c/Program Files/nodejs/node_modules/mocha-casperjs/bin/mocha-casperjs: line 42: /c: Is a directory
In fact even if I try to run "mocha-casperjs" I get the same error.
Have set up my enviro to use CasperJS with Mocha and Chai and PhantomJS . Then while trying to run something like "mocha-casperjs test/test-index.js" I get an error:
/c/Program Files/nodejs/node_modules/mocha-casperjs/bin/mocha-casperjs: line 42: /c: Is a directory
In fact even if I try to run "mocha-casperjs" I get the same error.
Please advise on what I might be doing wrong.