找不到“ msbuild.exe”。您是否有Microsoft Visual Studio Windows 10

我正在尝试为我的项目安装所有软件包。https://github.com/Wolox/react-chat-widget。但是我出错了

gyp ERR! build error
gyp ERR! stack Error: Command failed: reg query "HKLM\Software\microsoft\MSBuild\ToolsVersions" /s /reg:32
gyp ERR! stack 'reg' is not recognized as an internal or external command,gyp ERR! stack operable program or batch file.
gyp ERR! stack
gyp ERR! stack Can't find "msbuild.exe". Do you have microsoft Visual Studio C++ 2008+ installed?
gyp ERR! stack     at C:\React\react-chat-widget-master\node_modules\node-gyp\lib\build.js:142:25
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:302:5)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at maybeclose (internal/child_process.js:1021:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\React\\react-chat-widget-master\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\React\react-chat-widget-master\node_modules\node-sass
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
Build failed with error code: 1

操作系统:Windows 10家庭版

节点:v12.13.0

npm:6.12.0

如何解决此问题。请帮助我

yancangchen521 回答:找不到“ msbuild.exe”。您是否有Microsoft Visual Studio Windows 10

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3126265.html

大家都在问