尝试安装Windows Build工具时出错

时间:2020-06-05 05:23:28

标签: node.js windows powershell npm discord.js

当我又运行const routeChange = () => history.push("/checkdetail");

npm run windows-intall

我收到以下错误。我已经安装了python 3.8.2,已安装Node v14.0.0 x64,将Powershell添加到了[环境变量,用户变量/系统变量,PATH]中的路径。从VScommunity下载的Windows Build工具。我也下载了Windows dev的通用选项。(尚未重启PC)

这是我得到的错误:

npm install -g --production windows-build-tools && npm install --production

1 个答案:

答案 0 :(得分:1)

试试这个:

npm install --global windows-build-tools@4.0.0
相关问题