Skip to content

[macOS]The terminal process "/bin/sh '-c', 'npm run watch'" failed to launch (exit code: 127). #123267

@shenruisi

Description

@shenruisi
  • VS Code Version: Code - Insiders 1.57.0
  • OS Version:macOS Catalina 10.15

Steps to Reproduce:

1.yo code create new typescript extension
2. F5 start debug

terminal settings

{
    "workbench.colorTheme": "Tomorrow Night Blue",
    "terminal.integrated.automationShell.osx": "/bin/bash"
}

tasks.json

{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "npm",
			"script": "watch",
			"problemMatcher": [
				"$ts-webpack-watch",
				"$tslint-webpack-watch"
			],
			"isBackground": true,
			"presentation": {
				"reveal": "never"
			},
			"group": {
				"kind": "build",
				"isDefault": true
			}
		},
		{
			"type": "npm",
			"script": "test-watch",
			"problemMatcher": "$tsc-watch",
			"isBackground": true,
			"presentation": {
				"reveal": "never"
			},
			"group": "build"
		},
		{
			"type": "npm",
			"script": "compile",
			"group": "build",
			"problemMatcher": [],
			"label": "npm: compile",
			"detail": "webpack"
		}
	]
}

And when I set terminal.integrated.inheritEnv : true seems tip unknown configuration setting, the same error.

Does this issue occur when all extensions are disabled?: Yes/No

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions