ng version does not show the version 17

Discussão em 'Angular' iniciado por Artem Tartakovskiy, Outubro 31, 2024.

  1. I have installed Angular globally on my Linux Fedora machine with sudo npm i -g @angular/cli@17.0.3. However, when I run ng version, it prints the following:


    _ _ ____ _ ___
    / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
    / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
    / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
    /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
    |___/


    Angular CLI: 14.2.1
    Node: 20.17.0 (Unsupported)
    Package Manager: npm 10.8.1
    OS: linux x64

    Angular: undefined
    ...

    Package Version
    ------------------------------------------------------
    @angular-devkit/architect 0.1402.1
    @angular-devkit/core 14.2.1
    @angular-devkit/schematics 14.2.1
    @angular/cli 14.2.1
    @schematics/angular 14.2.1

    Warning: The current version of Node (20.17.0) is not supported by Angular.


    The version in the output is not 17.0.3 as desired. Why?

    I tried to uninstall it using npm uninstall -g @angular/cli and then install again (following the answer on this question), but that did not help, it still prints the Angular version as 14.2.1.

    Continue reading...

Compartilhe esta Página