Skip to content

Include node js version support status in ng version #20879

Closed
@josephperrott

Description

@josephperrott

🚀 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions