The term '-Command' is not recognized as the name of a cmdlet 发表于 2021/07/13 | 分类于 报错的解决方案 | 热度 ℃ 字数统计: 84 | 阅读时长 ≈ 1某一天,启动项目后,项目无法正常启动,报错如下 ……报错截图解决方案打开 VSCode 的设置文件(settings.json)添加如下配置12345{ // .... "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe"}或者123456789{ "terminal.integrated.defaultProfile.windows": "C:\\Windows\\System32\\cmd.exe (migrated)", "terminal.integrated.profiles.windows": { "C:\\Windows\\System32\\cmd.exe (migrated)": { "path": "C:\\Windows\\System32\\cmd.exe", "args": [] } }}-------------本文结束感谢您的阅读-------------坚持原创技术分享,您的支持将鼓励我继续创作!打赏微信支付支付宝本文作者: 天火流光本文链接: https://blog.thlg.xyz/2021/07/13/The-term-Command-is-not-recognized-as-the-name-of-a-cmdlet/60363/版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 3.0 许可协议。转载请注明出处!