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

node_module paths in angular-cli.json should be updated when migrating an existing project #132

Closed
mrmeku opened this issue Dec 1, 2017 · 2 comments

Comments

@mrmeku
Copy link
Contributor

mrmeku commented Dec 1, 2017

When migrating an existing project to an nx workspace I had to manually change many paths to node_module paths for the app that was created. It mostly involved adding ../../ to the existing paths since the old ./src directory now resided within ./apps/APP_NAME/src. I think fixing this issue should be as simple as doing a depth first search through each key of the created app within angular-cli.json. If that key begins with '[./]*node_modules/' then we should add the prefix '../../' to that key

@FrozenPandaz
Copy link
Collaborator

This should be handled by the Angular 6 migration as those paths, ideally are updated.

FrozenPandaz added a commit to FrozenPandaz/nx that referenced this issue Jan 12, 2023
@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 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants