grunt test fails with node 8.1, phantoms 2.1
See original GitHub issueTests fail to run.
Symptom:
$ grunt test --stack
...
Running "qunit:normal" (qunit) task
Testing http://localhost:8000/test/test.html
PhantomJS threw an error:ERROR
>> 0 [ '' ]
Warning: PhantomJS exited unexpectedly with exit code null. Use --force to continue.
When run with --force
:
$ grunt test --stack --force
...
PhantomJS threw an error:ERROR
>> 0 [ '' ]
Warning: PhantomJS exited unexpectedly with exit code null. Used --force, continuing.
Warning: 0/0 assertions ran (0ms) Used --force, continuing.
(node:37480) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.
Environment (Mac OSx 10.12.6):
$ node --version
v8.1.0
$ phantomjs --version
2.1.1
$ grunt --version
grunt-cli v1.2.0
grunt v0.4.5
Is there a specific phantomjs or node version ceiling? Are there some libraries we could update?
Thanks, Thatcher
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
PhantomJs Crashes while running with grunt-karma test cases
We are facing an issue while running karma test cases with phantomJs our phantomJs crashes and gets disconnected. Is that due to memory...
Read more >grunt-saucelabs - npm
Grunt is a task-based command line build tool for JavaScript projects, based on nodejs. QUnit is a powerful, easy-to-use JavaScript unit test ......
Read more >Continuous Integration (CI) - Obey the Testing Goat!
Running Our QUnit JavaScript Tests in Jenkins with PhantomJS · 24.9. ... Failed at the phantomjs-prebuilt@2.1.16 install script. npm ERR!
Read more >Grunt-contrib-jasmine NPM | npm.io
Run this task with the grunt jasmine command. Automatically builds and maintains your spec runner and runs your tests headlessly through Headless Chrome....
Read more >Testing Node.js | WebStorm Documentation - JetBrains
Run a single test from the editor · Create a Mocha run configuration · Run tests via a Mocha run configuration · Rerun...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
“we renamed everything” : http://qunitjs.com/upgrade-guide-2.x/
Fixed by #1374.