【问题标题】:npm is not working even after installing the node again即使再次安装节点后,npm 也无法正常工作
【发布时间】:2022-10-07 13:46:29
【问题描述】:
C:\\Users\\Sahil Mandoliya> npm --version
Program \'npm.cmd\' failed to run: The system cannot find the file specifiedAt line:1 char:1
+ npm --version
+ ~~~~~~~~~~~~~.
At line:1 char:1
+ npm --version
+ ~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

我正在尝试运行 npm,但它不工作并且显示 npm.cmd 无法运行。

    标签: node.js npm


    【解决方案1】:

    查看github上提到的这个答案 https://github.com/npm/npm/issues/8312

    【讨论】:

      最近更新 更多