Win10 系统中 VS Code 中执行 npx husky-init && yarn
报错 The token '&&' is not a valid statement separator in this version.
![](https://img.haomeiwen.com/i6264414/af9cbb56fa4532cd.png)
原因为 powershell 不支持这种写法,在 Git Bash 中执行就好了
![](https://img.haomeiwen.com/i6264414/c9e777c1d55e8e71.png)
Win10 系统中 VS Code 中执行 npx husky-init && yarn
报错 The token '&&' is not a valid statement separator in this version.
原因为 powershell 不支持这种写法,在 Git Bash 中执行就好了
本文标题:The token '&&' is not a valid st
本文链接:https://www.haomeiwen.com/subject/txefkltx.html
网友评论