babel --version出错的原因

65 阅读1分钟

出现了图中红色错误,如何解决呢?

主要原因

因为在vscode上默认的是使用powershell,所以从powershell改成cmd终端就好了,如下

解决方法

image.png