Skip to content

NPM not recognized as an internal or external command #2642

Description

@lukanp

I’ve installed latest version of NodeJS and I'm trying to install Angular CLI , but...
When i try to use NPM commands i always get this message:
'CALL “C:\Program Files\nodejs\node_modules \npm\bin\npm-cli.js” prefix -g' is not recognized as an internal or external command

and then command is executed.Here's an image
1

and when I try to instal Angular cli with "npm install -g @angular/cli" this happens:
2

and Angular's not working
3

PS: here's my Environment Variables
USER:
user

SYSTEM:
system
I don't know what could be a problem. Please help me...
Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions