下拉代码后安装依赖,最后出现:Error: Can't find Python executable "python", you can set the PYTHON env variable.
报错:
解决办法:
输入:npm install --global --production windows-build-tools
,但是又报错:Please restart this script from an administrative PowerShell!
The build tools cannot be installed without administrative rights.
To fix, right-click on PowerShell and run "as Administrator"
以管理员身份运行cmd,再次输入上述命令
这样就完成了!