-
Notifications
You must be signed in to change notification settings - Fork 110
General setup issues
I faced an error and it is resolved with an additional step, Just thought of sharing this with the community. When I executed
grunt dist
I faced the following error in the karma execution sequence.
`Running "clean:build" (clean) task
Running "jshint:src" (jshint) task
22 files lint free.
Running "jshint:test" (jshint) task
6 files lint free.
Running "jshint:src" (jshint) task
22 files lint free.
Running "jshint:test" (jshint) task
6 files lint free.
Running "clean:test" (clean) task Cleaning test-target/...OK
Running "karma:runner" (karma) task public/views/blank-page.html public/views/blank-sub-page.html public/views/dashboards.html INFO [karma]: Karma v0.12.37 server started at http://localhost:9876/ INFO [launcher]: Starting browser PhantomJS ERROR [launcher]: No binary for PhantomJS browser on your platform. Please, set "PHANTOMJS_BIN" env variable.`
To fix this, we have to run
npm install karma-phantomjs-launcher --save
But this package is included in package.json but still it doesn't pick up from there, so once the above command completed run
npm install
again. This will solve this problem.