Skip to content

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

@gitChicoHub

Description

@gitChicoHub

Hi client team:

The problem that I am getting when installing new modules (i.e., fs-extra, fs) using the npm command is:

'CALL "C:\ProgramTools\nodejs\node.exe" "C:\ProgramTools\nodejs\node_modules\npm\bin\npm-cli.js" prefix -g' is not recognized as an internal or external command

Can you provide your feedback? I provided more information below.
I would appreciate your help.
/Chic0

// Configuration ++++++++++++

  • Node.js Version: v14.16.0
  • OS: Windows 10 x64 10.0.19042
  • Scope (install, code, runtime, meta, other?): MS Visual Studio Code version 1.55.2
  • Module (and version) (if relevant): fs, fs-extra

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions