npm command issue

后端 未结 1 908
南旧
南旧 2021-01-28 18:02
  • I have installed node js on my system. (Windows 7).
  • I have set the environment path variable to \"C:\\Users\\pUser\\AppData\\Roaming\\npm\\node_modules\\npm
相关标签:
1条回答
  • 2021-01-28 18:10

    You have set the wrong environment path. It should be:

    C:\Users\pUser\AppData\Roaming\npm
    

    not the npm inside node_modules

    If Still you are facing the same issue then. By running where npm yOu will get all the paths for npm folder. Then uninstall the node js from your system and delete the npm folder wherever possible. Freshly installed node js.

    0 讨论(0)
提交回复
热议问题