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

Tests / deploys hang forever after "built project successfully" #198

Open
gschorkopf opened this issue Aug 9, 2016 · 5 comments
Open

Tests / deploys hang forever after "built project successfully" #198

gschorkopf opened this issue Aug 9, 2016 · 5 comments

Comments

@gschorkopf
Copy link
Member

gschorkopf commented Aug 9, 2016

To duplicate:

$ ember test
(node:22049) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
DEPRECATION: `ember-cli/lib/errors/silent.js` is deprecated, use `silent-error` instead.
DEPRECATION: `ember-cli/lib/errors/silent.js` is deprecated, use `silent-error` instead.
DEPRECATION: `ember-cli/lib/errors/silent.js` is deprecated, use `silent-error` instead.
WARNING: Node v6.0.0 has currently not been tested against Ember CLI and may result in unexpected behaviour.
version: 1.13.13
Built project successfully. Stored in "/Users/geoff/projects/frolfr-client/tmp/class-tests_dist-wYmN0vRX.tmp".

Sounds promising, but then it never runs the tests. Same issue with deploys.

@pdougall1 / @ultimatemonty ever run into this?

@ultimatemonty
Copy link
Member

@gschorkopf nope - seems like it could be Node 6? Are you using nvm to set node versions? I've got Atlanta Ember deploying to Heroku via CircleCI and it's set to use Node 4.4.7 (circle.yml)

@gschorkopf
Copy link
Member Author

Are you able to use ember t? I installed nvm / node v4 and it still stalls.

@ultimatemonty
Copy link
Member

ultimatemonty commented Aug 11, 2016

@gschorkopf looks like an issue with Phantom. Running ember test --server yields 128/128 passed in Chrome, 0/128 in Phantom. I get the following errors in Phantom:

ReferenceError: Can't find variable: EmberENV at http://localhost:7357/1556/tests/index.html?hidepassed
, line 39
ReferenceError: Can't find variable: define at http://localhost:7357/assets/test-loader.js, line 3
ReferenceError: Can't find variable: define at http://localhost:7357/assets/tests.js, line 1

Edit
Another interesting quirk - Phantom fails on the initial test run but as soon as you make any change and tests re-run, Phantom passes with no issues.

Will try and look into tomorrow night unless someone else beats me to it.

@gschorkopf
Copy link
Member Author

Haha, considering we're the only two folks commenting on these things, I doubt someone else will beat you to it (unless it's me).

@gschorkopf
Copy link
Member Author

This definitely isn't a "solution", but I noticed in various other reported issues (https://github.com/ember-cli/ember-cli/issues, search "ember build hangs" or anything like that) that most folks were using ember 1.13.13. Downgrading to 1.13.0 resolved the issue:

1..127
# tests 127
# pass  127
# fail  0

Very frustrating.

gschorkopf added a commit to frolfr/frolfr-client that referenced this issue Aug 15, 2016
* Frustratingly, ember test, ember build, and ember deploy (anything
that relies on phantom.js) stalls forever with this version of Ember.
* See frolfr/frolfr-server#198
@gschorkopf gschorkopf reopened this Aug 15, 2016
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