本文作者:DurkBlue

Error: Could not find any Visual Studio installation to use推荐

DurkBlue 2023-10-12 281 抢沙发
Error: Could not find any Visual Studio installation to use摘要: Error: Could not find any Visual Studio installation to useShaelyn_解决方案方案1: 根据报错提示安装最新版本的v...

Error: Could not find any Visual Studio installation to use

Shaelyn_

Error: Could not find any Visual Studio installation to use  第1张


解决方案

方案1: 根据报错提示安装最新版本的visual studio, 并引入相关的c++桌面开发

工具;

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-windows12345


报错友好, 提供了指引地址: https://github.com/nodejs/node-gyp#on-windows

具体操作

Error: Could not find any Visual Studio installation to use  第2张


Error: Could not find any Visual Studio installation to use  第3张



方案 2: 可以试下全局安装构建工具

npm install --global windows-build-tools


此篇文章由DurkBlue发布,感谢转载需要请注明来处
文章投稿或转载声明

来源:DurkBlue版权归原作者所有,转载请保留出处。本站文章发布于 2023-10-12
温馨提示:文章内容系作者个人观点,不代表DurkBlue博客对其观点赞同或支持。

赞(0)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

阅读
分享

发表评论取消回复

快捷回复:
AddoilApplauseBadlaughBombCoffeeFabulousFacepalmFecesFrownHeyhaInsidiousKeepFightingNoProbPigHeadShockedSinistersmileSlapSocialSweatTolaughWatermelonWittyWowYeahYellowdog

评论列表 (暂无评论,281人围观)参与讨论

还没有评论,来说两句吧...