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

Include node js version support status in ng version #20879

Closed
1 task done
josephperrott opened this issue May 20, 2021 · 1 comment · Fixed by #20881
Closed
1 task done

Include node js version support status in ng version #20879

josephperrott opened this issue May 20, 2021 · 1 comment · Fixed by #20881
Labels
area: @angular/cli feature Issue that requests a new feature
Milestone

Comments

@josephperrott
Copy link
Member

🚀 Feature request

Command (mark with an x)

  • version

Description

The ng version command should surface whether the version of node being used in conjunction with the projects angular dependencies is supported.

A clear and concise description of the problem or missing capability...

Describe the solution you'd like

I believe we have a couple of options in the output of ng version:

  1. Note when an unsupported version is used alongside the Node version stamp
...
Angular CLI: 12.0.0
Node: 8.2.1 (Unsupported)
Package Manager: yarn 1.22.10
OS: linux x64
...
  1. Print a warning at the end of the output.
...
@schematics/angular               12.0.0
rxjs                              6.6.7
typescript                        4.2.4

Warning: The current version of Node (8.2.1) is not supported by Angular
@josephperrott josephperrott added the feature Issue that requests a new feature label May 20, 2021
clydin added a commit to clydin/angular-cli that referenced this issue May 21, 2021
…mmand

Unsupported versions of Node.js will now show an unsupported warning when the `ng version` command is executed.
Currently Node.js major versions 12 and 14 are considered supported and tested.

Closed angular#20879
clydin added a commit to clydin/angular-cli that referenced this issue May 21, 2021
…mmand

Unsupported versions of Node.js will now show an unsupported warning when the `ng version` command is executed.
Currently Node.js major versions 12 and 14 are considered supported and tested.

Closes angular#20879
@ngbot ngbot bot added this to the Backlog milestone May 21, 2021
clydin added a commit to clydin/angular-cli that referenced this issue May 21, 2021
…mmand

Unsupported versions of Node.js will now show an unsupported warning when the `ng version` command is executed.
Currently Node.js major versions 12 and 14 are considered supported and tested.

Closes angular#20879
clydin added a commit that referenced this issue May 22, 2021
…mmand

Unsupported versions of Node.js will now show an unsupported warning when the `ng version` command is executed.
Currently Node.js major versions 12 and 14 are considered supported and tested.

Closes #20879
@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 Jun 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular/cli feature Issue that requests a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants