📅  最后修改于: 2022-03-11 15:00:01.058000             🧑  作者: Mango
npm config set script-shell "C:\\Program Files (x86)\\git\\bin\\bash.exe"
or (64bit installation)
npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"
Note that you need to have git bash for windows installed.
You can revert it by running:
npm config delete script-shell