我想在 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