The term 'node.exe' is not recognized as the name of a cmdlet, function, script file, or...

Discussão em 'Angular' iniciado por Abdullah-Al-Nahian, Abril 30, 2025.

  1. I'm getting an error while trying to create an angular project. This is the first time I have installed node.js and all the testing was successful.


    PS D:\ASP.NET Core & Angular\AngularAPI> ng new Angular7
    & : The term 'node.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling
    of the name, or if a path was included, verify that the path is correct and try again.
    At C:\Users\Nahian\AppData\Roaming\npm\ng.ps1:15 char:5
    + & "node$exe" "$basedir/node_modules/@angular/cli/bin/ng" $args
    + ~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (node.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    The environment variables were set according to the instruction as well

    [​IMG]

    Can anyone tell me what am I missing?

    EDIT:

    I have Installed the node.js and angular

    [​IMG]

    Continue reading...

Compartilhe esta Página