VSCode terminal process command failed to launch

时光怂恿深爱的人放手 提交于 2021-01-27 05:36:30

问题


I am trying out the Hello World sample extension. But when I run the extension from the 'Run Extension' task. It gives the following error:

The terminal process command '/bin/zsh -c 'npm run watch'' failed to launch (exit code: 127)

But I am able to run the above command from terminal without any errors.


回答1:


Just found this https://github.com/microsoft/vscode/issues/76542 For me in OSX apparently is an issue when opening code from the terminal with code . and can be fixed by checking in settings Terminal>Integrated: Inherit Evn to inherit the environment from VSCode



来源:https://stackoverflow.com/questions/54194964/vscode-terminal-process-command-failed-to-launch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!