当我又运行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
答案 0 :(得分:1)
试试这个:
npm install --global windows-build-tools@4.0.0