Skip to content

npm script not work in default terminal  #132824

@sweetwisdom

Description

@sweetwisdom

npm script not work in default terminal (windows10)

In the past, I configured settings in NPM Script. When running '. Sh' script, PowerShell did not support it. So I set GitBash as the default terminal .

image

However,Now I set git bash as the default terminal. When I click the run-time NPM script

bash不是内部或外部命令,也不是可运行的程序或批处理文件。
Bash 'is not an internal or external command, nor is it a runnable program Or batch file

it's not work , the terminal to execute is still PowerShell,

image

How to set Git Bash as the default terminal of NPM script ?

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseverifiedVerification succeeded

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions