Comments (18)
I'm having the same exact issue.
from grunt-contrib-qunit.
It seems to be related to gruntjs/grunt-lib-phantomjs#17 and Medium/phantomjs#15 and more specifically.
from grunt-contrib-qunit.
Have been seeing the same problem myself and cannot unit-test via phantom at the moment.
Running on Mac OSX Version 10.7.5
from grunt-contrib-qunit.
This pull request provided some inspiration: adobe/brackets#3210
When I pinned phantomjs
to 1.8.1-1
and grunt-lib-phantomjs
to 0.2.0
it started to work again.
from grunt-contrib-qunit.
@odiroot just tried that, didn't work for me, but thanks for the tip.
from grunt-contrib-qunit.
@joelarson4 have you tried cleaning your local node_modules
? Also cleaning npm cache?
from grunt-contrib-qunit.
Tried it as well, no dice... notice his last comment on that request:
Sigh. This is busted now on mac. Giving up for this sprint and closing.
from grunt-contrib-qunit.
For me this issue is present in all versions of phantomjs > 0.2.3 , not being fixed until the fresh 1.9
For me this issue should solved just by bumping phantomjs version to ~1.9.0-1
node --version: v0.8.22
mac osx 10.8.3
from grunt-contrib-qunit.
Thanks, that worked! Although I had to manually add the contents of 1.9.0-1 phantomjs to grunt-contrib-qunit / grunt-lib-phantomjs / node_modules / phantomjs because the latest grunt-contrib-qunit has a dependency on a ~1.8 version of phantomjs. Hopefully they upgrade grunt-contrib-qunit & grunt-lib-phantomjs soon so it's not necessary!
I then started seeing this:
Testing test/fuelux-editor-test.htmlOK
Warning: 0/0 assertions ran (33ms) Use --force to continue.
Aborted due to warnings.
Strange when all my tests pass in browser... turned out to be a problem with upgrading to the latest version of requirejs. Past 2.0.6 it fails when phantomjs runs the qunit tests:
#19
Hope that helps anyone using AMD and encountering issues when upgrading this stuff.
from grunt-contrib-qunit.
It seems that this issue is non-present in node 0.10.
from grunt-contrib-qunit.
Really? Bummer... I'm stuck using node 0.8.14 until our production environment upgrades :(
from grunt-contrib-qunit.
Just updated the grunt-lib-phantomjs dependency and all is good for me on OSX and ubuntu.
@cowboy, @tkellen, @shama this just needs to be published, feel free to add me in npm or publish (marked as 0.2.1).
from grunt-contrib-qunit.
Sweet! I've published this and added you as an author for the future.
from grunt-contrib-qunit.
Sorry for high-jacking this old thread but it's number one on google. So I still get this error using grunt-contrib-qunit V0.2.2. I found it odd no-one even mentioned the real issue I experienced, which is an OS level dependency issue:
./phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
A simple sudo apt-get install fontconfig
sorted the issue for me (on Ubuntu Server 12.04.2)
Hope this helps.
[edit] - I created a ticket to add a note about this to the phantomjs module README: Medium/phantomjs#80
from grunt-contrib-qunit.
@badsyntax cheers, worked for me
from grunt-contrib-qunit.
worked for me too; thanks
from grunt-contrib-qunit.
kudos @badsyntax - this did the trick.
from grunt-contrib-qunit.
how to solve this
from grunt-contrib-qunit.
Related Issues (20)
- Can't find variable test
- grunt-contrib-qunit should support headless chrome HOT 5
- Meaningless error when resources failed to load or there is a script error HOT 1
- qunit grunt fails with phantomjs HOT 2
- Appears to try loading the file from the wrong location HOT 1
- Option 'inject' stopped working in 3.0.0 HOT 3
- puppeteer unable to launch Chrome on Windows HOT 3
- Could not load the specified bridge file HOT 7
- Blocked by CORS policy HOT 5
- Missing tag for 3.1.0 version HOT 1
- Unable to run qunit tests for SAP UI5 applications
- Update repo "About" description HOT 1
- Page timeout no longer works since grunt-contrib-qunit 3.0
- Switching to ESM only HOT 1
- Problem with puppeteer version on Apple M1 chip HOT 3
- Bridge's testEnd event handler is passing too much to sendMessage: JSON errors. HOT 8
- Upgrade puppeteer to the latest?
- Unreadable output for deepEqual() assertions HOT 1
- Seeing "Error: ReferenceError: QUnit is not defined" HOT 8
- Fail to install "Puppeteer" dependency HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-contrib-qunit.