question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

grunt test fails with node 8.1, phantoms 2.1

See original GitHub issue

Tests 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:closed
  • Created 6 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
nein09commented, Dec 2, 2017

“we renamed everything” : http://qunitjs.com/upgrade-guide-2.x/

0reactions
iangilmancommented, Jan 23, 2018

Fixed by #1374.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found