React :caniuse-lite is outdated. please run next command
运行react项目时报错
caniuse-lite is outdated. please run next command
然后你运行了他给的npm update……还是不行,
在网上找了这个方法,可行:
Solution:
- Close Visual Studio
- Head to
C:\Users\USERNAME\AppData\Local\Temp\WebCompilerX.X.X
(X is the version of WebCompiler) - Delete following folders from
node_modules
folder :caniuse-lite
andbrowserslist
- Open up CMD (inside
C:\Users\USERNAME\AppData\Local\Temp\WebCompilerX.X.X
) and run:npm i caniuse-lite browserslist
- Done!
就是去你的node_modules
下删除caniuse-lite
和browserslist两个文件夹,记住这个文件夹,
再执行npm命令重新安装,如果没安装到上面这个文件夹下,那么就复制一份过去,
原文在这里,
转载于:https://www.cnblogs.com/1394htw/p/11023377.html
React :caniuse-lite is outdated. please run next command相关推荐
- flink1.13.2源码编译遇到的坑(三)Browserslist: caniuse-lite is outdated. Please run next command `npm update
问题:Browserslist: caniuse-lite is outdated. Please run next command npm update 解决办法:先删了node_modules/c ...
- uni-app系列(十):Browserslist: caniuse-lite is outdated. Please run next command `npm update`
- Browserslist: caniuse-lite is outdated. Please run: npx ....
今天打包 Vue 项目,突然蹦出一个告警: Browserslist: caniuse-lite is outdated. Please run:$ npx browserslist@latest - ...
- 控制台报错:Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db
控制台报错:Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db 问题处理 1 ...
- Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest
一.背景 使用 yarn start 或者 npm run dev 运行项目出现警告: Browserslist: caniuse-lite is outdated. Please run: npx ...
- Browserslist: caniuse-lite is outdated. Please run:npx browserslist@latest --update-db
使用yarn start 运行项目出现警告⚠️ Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest ...
- 【前端】vue项目打包Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest解决方案
解决方案 一.背景描述 二.解决方案 2.1 解决方案一:重新安装 caniuse-lite.browserslist 2.2 解决方案二:npm update caniuse-lite browse ...
- Linux timeout命令的使用:timeout - run a command with a time limit
timeout是一个命令行实用程序,它运行指定的命令,如果在给定的时间段后仍在运行,则终止该命令.timeout命令是GNU核心实用程序软件包的一部分,该软件包几乎安装在所有Linux发行版中. NA ...
- ubuntu服务器上提示 To run a command as administrator (user “root“), use “sudo <command>“. See “ 解决方案
ubuntu服务器上提示 To run a command as administrator (user "root"), use "sudo ". See & ...
- Linux终端出现:To run a command as administrator (user “root“), use “sudo <command>“.
Linux终端出现:To run a command as administrator (user "root"), use "sudo ". 解决办法: to ...
最新文章
- 6个用于大数据分析处理的最好工具
- win 2008 控制共享文件夹大小_win10如何一键网络共享
- WINDOWS 端口查看
- Codeforces Round #579 (Div. 3) F1. Complete the Projects (easy version) 排序 + 贪心
- linux内核分析第五次实验
- Docker入门系列(一):目标和安排
- 利用python对excel文件进行操作_数据处理-对Excel文件读取和操作和存储(python版)...
- python数据科学手册_数据科学的Python
- unity怎么根据坐标绘制线_怎么根据阴线和阳线判断股票将稳步上涨或者下跌不止,K线组合...
- 为什么阿里规定需要在事务注解 @Transactional 中指定 rollbackFor?这...
- windows程序设计基础知识
- AI上推荐 之 xDeepFM模型(显隐性高阶特征交互的组合策略)
- 基于Netty实现群聊功能
- OpenCV怎么下载?OpenCV下载后怎么配置?
- 输出数组元素(c语言)
- EVIEWS:ARCH类、GARCH、EGARCH,建模估计沪深300指数2019-2020年交易日的波动率,并对结果进行分析。
- vue-awsome-swiper 使用跳坑
- CSS 设置 border 边框不占元素宽高
- AS(强直性脊柱炎)完全手册
- 大白菜装机教程win10_装机吧教你没有光盘的情况下:如何重装系统