Giter Site home page Giter Site logo

Comments (18)

jwlrs avatar jwlrs commented on August 22, 2024

I'm having the same exact issue.

from grunt-contrib-qunit.

thom4parisot avatar thom4parisot commented on August 22, 2024

It seems to be related to gruntjs/grunt-lib-phantomjs#17 and Medium/phantomjs#15 and more specifically.

from grunt-contrib-qunit.

kevinparkerson avatar kevinparkerson commented on August 22, 2024

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.

odiroot avatar odiroot commented on August 22, 2024

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.

jwlrs avatar jwlrs commented on August 22, 2024

@odiroot just tried that, didn't work for me, but thanks for the tip.

from grunt-contrib-qunit.

odiroot avatar odiroot commented on August 22, 2024

@joelarson4 have you tried cleaning your local node_modules? Also cleaning npm cache?

from grunt-contrib-qunit.

kevinparkerson avatar kevinparkerson commented on August 22, 2024

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.

erikfried avatar erikfried commented on August 22, 2024

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.

kevinparkerson avatar kevinparkerson commented on August 22, 2024

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.

erikfried avatar erikfried commented on August 22, 2024

It seems that this issue is non-present in node 0.10.

from grunt-contrib-qunit.

kevinparkerson avatar kevinparkerson commented on August 22, 2024

Really? Bummer... I'm stuck using node 0.8.14 until our production environment upgrades :(

from grunt-contrib-qunit.

jsoverson avatar jsoverson commented on August 22, 2024

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.

tkellen avatar tkellen commented on August 22, 2024

Sweet! I've published this and added you as an author for the future.

from grunt-contrib-qunit.

badsyntax avatar badsyntax commented on August 22, 2024

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.

furybyname avatar furybyname commented on August 22, 2024

@badsyntax cheers, worked for me

from grunt-contrib-qunit.

BradleyFord avatar BradleyFord commented on August 22, 2024

worked for me too; thanks

from grunt-contrib-qunit.

sattes-faction avatar sattes-faction commented on August 22, 2024

kudos @badsyntax - this did the trick.

from grunt-contrib-qunit.

500mi-mitsui avatar 500mi-mitsui commented on August 22, 2024

how to solve this

from grunt-contrib-qunit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.