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

useYarn: true causes ember try:each to fail #147

Closed
alexdiliberto opened this issue Sep 4, 2017 · 4 comments
Closed

useYarn: true causes ember try:each to fail #147

alexdiliberto opened this issue Sep 4, 2017 · 4 comments

Comments

@alexdiliberto
Copy link

Steps to reproduce:

# Create a new addon
ember addon test-addon --yarn

# Now add `useYarn: true` to `config/ember-try.js`

# Now test
yarn test

# ...Error on the first test run
...

=== Scenario: ember-lts-2.8 ====================================================

Error!
The command ember test exited Error: Cannot find module 'ember-cli' from '/Users/alexdiliberto/Repos/temp/test-addon'
undefined
error Command failed with exit code 1.

Remove useYarn: true and it works again

$ ember v --verbose
ember-cli: 2.15.0
http_parser: 2.7.0
node: 6.11.2
v8: 5.1.281.103
uv: 1.11.0
zlib: 1.2.11
ares: 1.10.1-DEV
icu: 58.2
modules: 48
openssl: 1.0.2l
os: darwin x64
alexdiliberto added a commit to alexdiliberto/ember-transformicons that referenced this issue Sep 4, 2017
[It is causing issues when running `yarn test`
locally](ember-cli/ember-try#147).
@kategengler
Copy link
Member

useYarn: true in not yet released. Did you specifically point to ember-cli/ember-try master?

@alexdiliberto
Copy link
Author

@kategengler Agh oh, it's in the README. I just figured it was in stable release

@noslouch
Copy link

It's also printed out to the screen when running ember try:each with ember-cli 2.15.1.

image

@varoot
Copy link

varoot commented Oct 26, 2017

Is this supposed to be working? I got the same error. My ember-try version is 0.2.17 according to yarn.lock. Ember CLI 2.16.2

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

4 participants