繁体   English   中英

Visual Studio C++ 运行 yarn add 时出错

[英]Visual Studio C++ Error while running yarn add

错误:

gyp ERR! find VS msvs_version not set from command line or npm config  
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt  
gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer  
gyp ERR! find VS looking for Visual Studio 2015  
gyp ERR! find VS - not found  
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8  
gyp ERR! find VS  
gyp ERR! find VS **************************************************************  
gyp ERR! find VS You need to install the latest version of Visual Studio  
gyp ERR! find VS including the "Desktop development with C++" workload.  
gyp ERR! find VS For more information consult the documentation at:  
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows  
gyp ERR! find VS **************************************************************

我试过但无法解决错误。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM