Skip to content

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

Closed

Description

@ShaiLesh-Haldankar

'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.

Activity

  1. transferred this issue fromnodejs/nodeon Nov 1, 2019
  2. addaleax commented on Nov 1, 2019

    @addaleax
    Member

    @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.

  3. DerekNonGeneric commented on Apr 24, 2020

    @DerekNonGeneric

    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.
  4. PoojaDurgad commented on Sep 28, 2020

    @PoojaDurgad

    @ShaiLesh-Haldankar - is this still an issue?

  5. PoojaDurgad commented on Oct 29, 2020

    @PoojaDurgad

    inactive. closing!!

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