Giter VIP home page Giter VIP logo

Comments (15)

briangershon avatar briangershon commented on June 10, 2024 1

I had the same problem when using the mocha generator, and may apply here too.

I fixed by manually going into the test folder, then running bower install. This added the necessary mocha dependencies and was off and running.

from generator-chrome-extension.

skeate avatar skeate commented on June 10, 2024

Changed package.json to require grunt-mocha ~0.4.0 and it works fine.

from generator-chrome-extension.

ragingwind avatar ragingwind commented on June 10, 2024

@skeate Thanks for reporting. I'm preparing a new version. This issue included in new version.

from generator-chrome-extension.

jonathanmv avatar jonathanmv commented on June 10, 2024

Hi, i'm having a similar (if not the exact same) issue with grun-test in a new project.
Win8.1 x64
Node v0.10.31
(yo) generator-webapp v0.4.9
Mocha v0.4.10

This is the output I get after running grunt test

Running "test" task

Running "clean:server" (clean) task

Running "concurrent:test" (concurrent) task

Running "copy:styles" (copy) task

Done, without errors.

Running "autoprefixer:dist" (autoprefixer) task

Running "connect:test" (connect) task
Started connect web server on http://localhost:9001

Running "mocha:all" (mocha) task
Testing: http://localhost:9001/index.html

Warning: PhantomJS timed out, possibly due to a missing Mocha run() call. Use --
force to continue.

Aborted due to warnings.

Execution Time (2014-08-28 02:41:25 UTC)
concurrent:test 1.4s ■■■■■■ 11%
connect:test 430ms ■■ 3%
mocha:all 10.7s ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 85%
Total 12.6s

I also tried changing grunt-mocha version to 0.4.0 as @skeate did but it didn't work either.

Please tell me how I can help. I'd be glad to

from generator-chrome-extension.

jonathanmv avatar jonathanmv commented on June 10, 2024

Confirmed. I followed @briangershon's instructions and the error has gone.
Thanks for sharing.

from generator-chrome-extension.

babyfatty avatar babyfatty commented on June 10, 2024

thx

from generator-chrome-extension.

RogueSheep-nl avatar RogueSheep-nl commented on June 10, 2024

Ran into the same issue, @briangershon quick fix did fix it.

from generator-chrome-extension.

wfresch avatar wfresch commented on June 10, 2024

But, you can't run bower install until you resolve these errrors, right?

  • No bower.json present
  • git is not installed or not in the PATH

from generator-chrome-extension.

ragingwind avatar ragingwind commented on June 10, 2024

yeoman/generator-mocha#28

from generator-chrome-extension.

saurajit avatar saurajit commented on June 10, 2024

I followed @briangershon's instructions and that fixed the error. Thanks for sharing.

from generator-chrome-extension.

bartgryszko avatar bartgryszko commented on June 10, 2024

I had similar issue on MacOSX Mavericks and in my case it was due to Xcode update that stopped bower from working properly. I had to agree with the license first. You can do this with sudo xcodebuild -license command.

from generator-chrome-extension.

hendrikbeck avatar hendrikbeck commented on June 10, 2024

+1 for @briangershon's instructions, fixed it for me as well. Thanks for sharing!

from generator-chrome-extension.

brendonco avatar brendonco commented on June 10, 2024

i'm getting PhantomJS timed out. I'm using "grunt-mocha": "^0.4.12", and grunt

from generator-chrome-extension.

izhan avatar izhan commented on June 10, 2024

+1 thanks @briangershon!

from generator-chrome-extension.

suifengfengye avatar suifengfengye commented on June 10, 2024

+1 thanks @briangershon. but I run bower install mocha .

from generator-chrome-extension.

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.