解决办法 1、以管理员身份运行cmd 搜索cmd,然后右键“以管理员身份运行” 2.再运行命令 npm install --global --production windows-build-tools