Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grunt test fails #1

Open
kgish opened this issue Aug 13, 2014 · 6 comments
Open

grunt test fails #1

kgish opened this issue Aug 13, 2014 · 6 comments

Comments

@kgish
Copy link

kgish commented Aug 13, 2014

I followed the instructions step by step according to the book to the end of chapter 3, while grunt server works fine, if I run grunt test I get the following error.

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

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

Here is my bower.json fiel:

{
  "name": "rocknrollcall",
  "version": "0.0.0",
  "dependencies": {
    "ember": "1.5.0",
    "handlebars": "1.2.1",
    "ember-data": "1.0.0-beta.7",
    "bootstrap-sass-official": "3.1.1"
  },
  "devDependencies": {
    "ember-mocha-adapter": "0.1.2"
  }
}

@MichalGallovic
Copy link

hey @kgish I ran in to the same problem, what solved this for me was doing inside rocknrollcall-yeoman
cd test
bower install
try that and let me know

@kgish
Copy link
Author

kgish commented Aug 21, 2014

Yes of course, pretty obvious and it works, thanks!

Is there some configuration setting for grunt that needs to be included in order to make this work out of the box?

@MichalGallovic
Copy link

@kgish well when you yo ember it initializes project this way, so I guess it was meant to be that way, but it would be nice if it ran bower install inside test as well so grunt test would work out of the box

@kgish
Copy link
Author

kgish commented Aug 22, 2014

I agree, how to make this happen?

@MichalGallovic
Copy link

well maybe you could post issue here then

https://github.com/yeoman/generator-ember

@kgish
Copy link
Author

kgish commented Aug 22, 2014

My posted issue can be found here:
https://github.com/yeoman/generator-ember/issues/229

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants