吉普错误!堆栈错误:`C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` 失败,退出代码:1 [英] gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1

查看:95
本文介绍了吉普错误!堆栈错误:`C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` 失败,退出代码:1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用命令 truffle unbox react 来构建一个 dapp.这只是我的 dapp 开发的第一步.然而,这很糟糕.它不断弹出

I used the command truffle unbox react to build a dapp. It is just the initial step of my dapp development. However, it sucks. It continually pops up

gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1

这个错误.我已经谷歌了这个错误.因此,我将 python 默认版本设置为 2.7 并安装了 Visual Studio 2015 和 Visual Studio 2017.此外,我还重新安装了 node-gyp 和 npm 以确保它是最新版本.而且,npm install --global --production windows-build-tools 我已经尝试了任何我可以谷歌的东西.请帮助!

this error. I've already google this error. Therefore, I set my python default version at 2.7 and install visual studio 2015 and visual studio 2017. Also I've reinstall node-gyp and npm to make sure if it is the latest version. And also, npm install --global --production windows-build-tools I've tried whatever I can google. PLEASE HELP!

推荐答案

我也遇到了这个问题,最后我没意识到是怎么回事.

I also had this problem, And finally I didn't realize what was going on.

但是

我的问题就这样解决了

我卸载了节点 12.14.1 并安装了 10.18.1 它现在可以工作了.

I uninstall node 12.14.1 and install 10.18.1 It's working now.

这篇关于吉普错误!堆栈错误:`C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` 失败,退出代码:1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆