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

fix(@angular/cli): remove version command node module assumptions #18765

Merged
merged 1 commit into from
Sep 14, 2020

Conversation

clydin
Copy link
Member

@clydin clydin commented Sep 11, 2020

This change removes all direct usage of the node_modules directory from the version command. This provides improved support for yarn PnP as well as prevents a crash when a workspace does not have a node_modules directory.

Fixes #10474

This change removes all direct usage of the `node_modules` directory from the version command.  This provides improved support for yarn PnP as well as prevents a crash when a workspace does not have a `node_modules` directory.

Fixes angular#10474
@clydin clydin added the target: patch This PR is targeted for the next patch release label Sep 11, 2020
@clydin clydin requested a review from alan-agius4 September 11, 2020 19:14
@clydin clydin merged commit b6ea1ab into angular:master Sep 14, 2020
@clydin clydin deleted the version-command-node-modules branch September 14, 2020 11:24
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6rc6 better output on ng -v command inside cli project when /node_modules not exist
3 participants