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

bug(schematics/workspace): generating lib causes app's src to be included in lib path #38

Closed
jeffbcross opened this issue Oct 3, 2017 · 2 comments
Labels

Comments

@jeffbcross
Copy link
Member

Steps:

  1. ng new my-app
  2. ng generate convert-to-workspace my-proj --collection=@nrwl/schematics
  3. ng generate lib foo --collection=@nrwl/schematics

Result:

Creates lib at libs/foo/apps/my-app/src (also creates entry for that path in angular-cli.json).

@vsavkin
Copy link
Member

vsavkin commented Oct 6, 2017

This is due to the fact that the CLI version that your project had installed didn't have the needed patch. I updated the convert-to-workspace to update the version of the cli to our patched one--so it should not be a problem anymore.

@vsavkin vsavkin closed this as completed Oct 6, 2017
@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants