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

Yarn workspaces #881

Open
anehx opened this issue Sep 26, 2022 · 3 comments
Open

Yarn workspaces #881

anehx opened this issue Sep 26, 2022 · 3 comments

Comments

@anehx
Copy link

anehx commented Sep 26, 2022

Hi there!

I've tried running ember-try within a monorepo with yarn workspaces but I couldn't get it to work. I always go the error No ember-cli-build.js found.. This makes total sense to me, since the _runCommand method always uses the project root:

_runCommand(options) {
return runCommand(this.project.root, options.commandArgs, options.commandOptions);
},

Shouldn't this take the root of the current workspace? Is there an example of a project using the workspaces feature?

@runspired
Copy link

I've had no issue with it in ember-data, though you'll want to look at the code from a release or two back as we've recently converted to pnpm.

@anehx
Copy link
Author

anehx commented Nov 1, 2022

I just checked the config of ember-data a few releases back, it's not using useWorkspaces so I don't think we can compare this issue with the situation in ember data.

@runspired
Copy link

May be a bug with that specifically, but we do use try with workspaces within multiple packages

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