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
Not compatible with ember-cli@2.13 #182
Comments
What is your environment? Is this under npm@2, npm@3, yarn, etc? What node version? |
Can you push up a demo app, including |
Sorry, I should have indicated I used |
Pushing to https://github.com/aexmachina/ember-cli-mocha-182... |
That's pushed now |
I can reproduce this with just: ember new foo --yarn
cd foo
ember install ember-cli-mocha
ember serve @aexmachina thanks for the reproduction! |
This seems to be an issue inside of Ember CLI. After |
Good news!! I have determined the issue here... It comes down to issues with |
cool, thanks! |
Just spoke to @rwjblue, the solution is: No longer trust npm to do
|
@Turbo87 I suspect we want to do the second one, as this will give a better user experience. What are your thoughts? |
@stefanpenner I'm not yet convinced that this is actually the issue or solution. I'd be very surprised if npm would be that broken. I'm instead suspecting that something is not resolving from the correct cwd. |
Also I had the same issue with yarn, and yarn is supposed to have stable output which seems to be another hint that something else might be wrong. |
@Turbo87 ah, ok. So it sounds like this needs more exploration? |
yes. the problem is that I am not aware of what could have caused this to break in Ember CLI itself since it all works fine with the v2.12 releases. |
npm is that broken, I deal with this particular bug often. The solution to manually add to package.json and then run |
Also, fwiw, I've noticed this in prior ember-cli releases, but it's become more problematic recently because of the babel6 upgrade and a few other dependency bumps. I don't think this is an issue with ember-cli because I have been able manually recreate this problem without the involvement of any cli commands. |
what particular bug are you talking about? I'm not sure we're all talking about the same things here...
since downgrading ember-cli to v2.12 solves the issue I'm pretty sure it is an issue in ember-cli or at least surfaced by ember-cli v2.13-beta |
I've tried upgrading Ghost to ember-cli v2.13-beta.3 to test and have also run into this issue. yarn: v0.23.2
If there's any other info I can provide to help track the issue down please let me know. My test branch is here if it's of any use |
result of
|
Submitted the fix in #190 |
Thanks @rwjblue 👍 |
I just created a clean test project with ember-cli@2.13 using
ember new ember-test --yarn
then ranember install ember-cli-mocha
and nowember s
fails with the following error message:The text was updated successfully, but these errors were encountered: