My package.json looks like this..
"karma-phantomjs-launcher": "^0.1.4", "karma-safari-launcher": "^0.1.1", "karma-sinon-chai": "~0.2.0", "karma-spec-reporter": "~0.0.16", "mocha": "~1.20.1"
my npm version is 2.2.0
whay am I getting this when I run karma test - karma start my.conf.js
This seems to be an issue with phantom js runner and phantom js versions.
https://github.com/karma-runner/karma-phantomjs-launcher/issues/31
How I fixed my issue..
# install npm install -g karma-phantomjs-launcher # temporary path.. set the path export PHANTOMJS_BIN=/usr/local/lib/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/bin/phantomjs karma start my.conf.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With