you need to install the latest version of Visual Studio
- 问题 npm i 的时候遇见了这个问题
- 我认为原因
本机下载的visual studio 版本和项目里使用的版本不一致 - solve
参考这个【大佬的解决办法】1. 方法一失败
npm i -g windows-build-tools
2. 方法二 成功
咱一步步来
npm config get msvs_version
2.1 这一步如果出现版本 就跳到第四步配置环境变量,可以参考这个大佬的文章 【配置VS环境变量】一步一步操作
为了确保成功,我还是去参考了这个【网站】
然后点开 Visual Studio Build Tools
下载了这个
然后双击下载, 就会出来这个面板,根据这个
然后把那个C++ build tool勾上,然后下载,
这是下载成功的样子
然后我再去试 npm i 就可以了
注意,本篇文章只是能解决在我本地的环境中的这个问题
you need to install the latest version of Visual Studio相关推荐
- Zune software is not installed. Install the latest version of Zune software.
刚学习Windows Phone7开发,遇到这个配置错误,在此记录一下. 错误提示:Zune软件未安装 Zune software is not installed. Install the late ...
- 解决This version of Visual Studio is unable to open the following projects
用unity打开vs2013之后,在打开其它项目就会卒. 报错如下: This version of Visual Studio is unable to open the following pro ...
- Install Visual Studio
有篇:<windows10安装Visual Studio 2017>https://blog.csdn.net/Rong_Toa/article/details/80251939 以下为微 ...
- Provided path doesn't exist. pylama Please fix pylama path or install latest version(UBuntu版本下的情况)
atom编辑器运行python出现如下报错 Provided path doesn't exist. pylama Please fix pylama path or install latest v ...
- 解决eclipse出现This Android SDK requires Andro...date ADT to the latest version.问题
更新完android SDK之后,eclipse出现了"This Android SDK requires Andro...date ADT to the latest version.&q ...
- This beta version of Typora is expired,please download and install a newer version.
1 Typora的beta版本已经被强制停止使用 众所周知,2021年11月,Typora推出了正式版v1.0,软件从免费改为了收费,价格为¥89,支持三台设备使用.由于囊中羞涩,并且Typora也并 ...
- There was an error checking the latest version of pip [已解决]
当我们的pip版本过期时,就会出现报错"There was an error checking the latest version of pip 我们可以使用pip install --u ...
- 【问题】WARNING: There was an error checking the latest version of pip.
目录 1.问题描述: 2.解决办法: 3.结果: 参考文献:1.3.4可以解决问题 今天在学习NLP是需要安装 jieba 库 和 word2vec 库,但是在安装的时候出现了一下问题. 1.问题描 ...
- wget 安装:Package wget-1.14-18.el7_6.1.x86_64 already installed and latest version
wget 命令是 Linux 系统中最常用的指定链接文件下载命令,wget 稳定性很好,即使服务器带宽很小,不稳定,该命令也很实用.如果服务器存在网络不稳定现象导致文件下载失败,wget 会自动尝 ...
- MSB8036 The Windows SDK version 10.0 was not found. Install the required version of Windows SDK o
MSB8036 The Windows SDK version 10.0 was not found. Install the required version of Windows SDK o ...
最新文章
- linux为用户添加sudo权限
- python求平方根的代码_Python求解平方根的方法
- winform 鼠标 静止时间_赢得电竞的奥秘,你需要一块好鼠标垫
- cocos2d-lua3.7组件篇(三)-http通信demo
- c#操作XML文件 1614260503
- TensorFlow2.0(八)--tf.function函数转换
- 微课|中学生可以这样学Python(例6.4):因数分解
- 可串联使用的模10计数器
- 计算机网络传媒介,2.3 网络传输媒介 - 第2章 计算机网络硬件基础 - 《计算机网络技术与应用》 - 倾心驿站 - 恰教程网...
- mongodb常用操作——命令行
- opencv 指定分辨率_更改OpenCV视频文件的分辨率
- 【obs-studio开源项目从入门到放弃】windows 窗口采集和桌面采集的解决方案
- 我的美国CS面试经验分享
- 自制ADK To Win11PE,加入原生explorer,初步修改注册表(图文1.1万字,很细) (2)
- 嵌入式系统(五):GPIO(输入输出端口扩展器)接口
- 关于含税单价和不含税单价的关系记录
- actor 模型原理 (二)
- 【T001】win10开机 自动打开 chrome word excel
- 解决win11不能拖拽图片进ppt/ps的问题
- c语言 自动生成word文件,C#根据Word模版生成Word文件
热门文章
- Kent Beck:敏捷和极限编程是关于Be Yourself
- 语义分割的评价指标——IoU
- 后渗透阶段的权限维持
- Mysql命令大全——转自博客园 宁静.致远博客
- linux网络驱动 poll,网络 – Linux网络驱动程序中的并发:probe()VS ndo_open(),ndo_start_xmit()VS NAPI poll()...
- linux6 64位,CentOS 6.0 X64官方正式版系统(64位)
- mysql超卖问题处理_高并发下超卖问题及如何解决
- 关于请求_小七_新浪博客
- 【小技巧】H5禁止手机虚拟键盘弹出
- VUzzer: Application-aware Evolutionary Fuzzing