generator-gulp-angular
generator-gulp-angular copied to clipboard
Macos Sierra gulp test doesn't run
29 09 2016 12:20:11.654:ERROR [launcher]: Cannot start PhantomJS
29 09 2016 12:20:11.801:ERROR [launcher]: Cannot start PhantomJS
29 09 2016 12:20:11.935:ERROR [launcher]: Cannot start PhantomJS
29 09 2016 12:20:11.937:ERROR [launcher]: PhantomJS failed 2 times (cannot start). Giving up.
the same here.
I have the same issue here - did you find any fix for this?
Update your package.json version for PhantomJS, and re-run npm install:
"phantomjs": "~2.1.1"
Worked for me.
Updating to the latest karma-phantomjs-launcher pulls in PhantomJS 2.1.1. Also with PhantomJS 2 you don't need karma-phantomjs-shim any more.
npm uninstall --save --save-dev phantomjs karma-phantomjs-shim
npm install karma-phantomjs-launcher@latest --save --save-dev
Then edit karma.js.conf and remove any references to phantomjs-shim.