generator-gulp-angular icon indicating copy to clipboard operation
generator-gulp-angular copied to clipboard

Macos Sierra gulp test doesn't run

Open sombra-development opened this issue 8 years ago • 4 comments

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.

sombra-development avatar Sep 29 '16 09:09 sombra-development

the same here.

brunoeris avatar Sep 30 '16 20:09 brunoeris

I have the same issue here - did you find any fix for this?

ghost avatar Oct 20 '16 19:10 ghost

Update your package.json version for PhantomJS, and re-run npm install:

"phantomjs": "~2.1.1"

Worked for me.

adam404 avatar Oct 25 '16 17:10 adam404

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.

carlosfunk avatar Oct 31 '16 01:10 carlosfunk