浏览器列表:caniuse-lite 已过时请运行:远程:npx browserslist@latest --update-db

问题描述

我想在 Heroku 上部署 MERN 项目。当我写命令 git push heroku main 时,就会出现错误

 browserslist: caniuse-lite is outdated. Please run:
 remote: npx browserslist@latest --update-db

我尝试了以下解决方案,但无济于事

npx browserslist@latest --update-db

npm i autoprefixer@latest

npm i caniuse-lite browserslist@latest

npm i caniuse-lite@latest

npm --depth 9999 update

npm --depth 99 update caniuse-lite browserslist

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)