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.
/bin/bash
(which is my shell). I suspect that the-l
flag is supposed to be passed to the shell so that it becomes a "login shell" and loads settings from.profile
. The command is coming from the.vscode/tasks.json
file where the first task is of type "npm" and script "watch". – Despiteful