更新时间:2023-11-20 09:06:58
这是一个很老的帖子,但我想我会分享,以防万一它对某人有帮助.就我而言,问题不在于 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...