首页 > 其他 > 详细

gyp ERR! find VS

时间:2020-02-20 18:49:02      阅读:4916      评论:0      收藏:0      [点我收藏+]

 

yarn install 安装提示错误如下:

gyp ERR! find VS
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 checking VS2019 (16.3.29411.108) found at:
gyp ERR! find VS \"D:\\viso\"
gyp ERR! find VS - found \"Visual Studio C++ core features\"
gyp ERR! find VS - missing any VC++ toolset
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
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

 

解决方法:

  下载安装visual studio 2019

  including the \"Desktop development with C++\" workload.

     注意安装时勾选 包含c++的桌面开发选项就行安装

gyp ERR! find VS

原文:https://www.cnblogs.com/irobotzz/p/12336767.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!