node.js npm 错误消息 - 系统找不到指定的路径 [英] node.js npm error message - system cannot find the path specified
问题描述
我有一条奇怪的错误消息,我不明白或无法摆脱.其次,当我尝试在 webstorm 上创建 express 应用程序时,它找不到 express.我使用的是 Windows 7 64 位.
I have a strange error message I don't understand or can't get rid of. Secondly when I try to create express app on webstorm it can't find express. I'm using windows 7 64 bit.
PS C:\dv>npm -v
系统找不到指定的路径.
The system cannot find the path specified.
1.2.14
PS C:\dv>
非常感谢
杰瑞米
推荐答案
这是一个很老的帖子,但我想我会分享,以防万一它对某人有帮助.就我而言,问题不在于 npm,而在于 ansicon.
It's a really old post, but I thought I'd share just in case it helps someone. In my case, the issue wasn't with npm, but instead with ansicon.
删除注册表项 HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
的值解决了该问题,如这些链接中所述...
Removing the value of the registry key HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
resolved the issue, as described in these links...
https://github.com/cmderdev/cmder/issues/121
系统在启动 Ruby 和 Rails 命令提示符时找不到指定的路径
这篇关于node.js npm 错误消息 - 系统找不到指定的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!