PS D:\> install npm
install : The term 'install' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ install npm
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (install:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
尝试在Windows 10操作系统中的vscode版本VSCodeSetup-x64-1.17.2中安装npm时,我收到错误。
调试器的错误代码如下所示
3221225477 Signal: null
e._onExtensionHostCrashed @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:29
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:28 Extension host terminated unexpectedly.
e.doShow @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:28
C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:28 Extension host terminated unexpectedly.
e.doShow @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:28
请告知如何解决此错误。
谢谢和问候 维杰
答案 0 :(得分:1)
答案 1 :(得分:0)
转到环境路径设置,在用户路径和系统路径的“路径”中,还有一个“;”对于visual studio代码,删除“;”并重新启动VS代码,现在一切正常。
我认为这是微软的错误。