Skip to content

prefix -g is not recognized as internal or external command #2266

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

Closed
ShaiLesh-Haldankar opened this issue Nov 1, 2019 · 4 comments
Closed

Comments

@ShaiLesh-Haldankar
Copy link

'CALL "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" prefix -g' is not recognized as an internal or external command,
operable program or batch file.

@addaleax addaleax transferred this issue from nodejs/node Nov 1, 2019
@addaleax
Copy link
Member

addaleax commented Nov 1, 2019

@ShaiLesh-Haldankar This isn’t an issue with Node.js or with npm, it’s the Windows CLI not being able to parse your command. However, with only the error message, it’s impossible for me to tell what went wrong.

@DerekNonGeneric
Copy link

Cross-repo issue links seemed to have vanished after the transfer. Re-linking #2642 so as to re-establish.

A couple of commands associated w/ the error message seen here have been identified, which is evident in #2642 (comment).

  • From the 1st image, 2nd command: npm -v.
  • From the 2nd image, 3rd command: npm install -g @angular/cli.

@PoojaDurgad
Copy link

@ShaiLesh-Haldankar - is this still an issue?

@PoojaDurgad
Copy link

inactive. closing!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants