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

Using yarn workspace with multiple Ember apps doesn't work ? #4081

Closed
asvny opened this issue Aug 3, 2017 · 8 comments
Closed

Using yarn workspace with multiple Ember apps doesn't work ? #4081

asvny opened this issue Aug 3, 2017 · 8 comments

Comments

@asvny
Copy link

asvny commented Aug 3, 2017

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
I have enabled workspace feature
In a repo , I have two ember-cli generated apps say 'a' and 'b' , when I run yarn ... it gets hoisted to root level .. but when navigate to 'a' directory and run 'yarn start' .. it says some packages need to be installed

To reproduce ..

What is the expected behavior?
When running yarn start , the ember-cli should start serving the app , with local dev server

Please mention your node.js, yarn and operating system version.
Node - 7.2.1
Yarn - 0.27.5
OS - MacBook Pro (v 10.12.5)

Note: Not really sure ... whether this is because of yarn (or) ember-cli .

@BYK
Copy link
Member

BYK commented Aug 7, 2017

Hey, thanks for trying out yarn woskpaces. This experimental feature is only available after 0.28.4 AFAIK so can you please try that?

Even better if you try one of our nightlies since we have landed a few important fixes onto master after 0.28.4 released.

@BYK BYK closed this as completed Aug 7, 2017
@BYK
Copy link
Member

BYK commented Aug 7, 2017

Closing the issue since this seems to be just due to using an older version of yarn. Feel free to reopen if it turns out otherwise.

@asvny
Copy link
Author

asvny commented Aug 7, 2017

Thanks ! ... let me get back to u ... after trying beta version

@asvny
Copy link
Author

asvny commented Aug 7, 2017

@BYK I tried with Yarn-1.0.0-20170807.1054 ... but I get same issue

@BYK
Copy link
Member

BYK commented Aug 7, 2017

I think this is an issue with ember-dependency-checker and workspaces' hoisting feature because all of the modules it complains about are actually installed in ./node_modules, just not in ./a/node_modules. I think ember-dependency-checker should mimic the resolution algorithm of node instead of simply looking at the working directory or project root.

@BYK
Copy link
Member

BYK commented Aug 7, 2017

There's a discussion going on about something similar in #3294 so you may wanna follow that.

@asvny
Copy link
Author

asvny commented Aug 8, 2017

Thanks a lot !

@ghost
Copy link

ghost commented Sep 20, 2017

@asvny @BYK Same happens for me! All other things works fine, but Ember doesn't, because it's say package is missing.

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