【发布时间】: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 无法运行。