npm run build 时报错“caniuse-lite is outdated”

1、报错:Building for production...Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist`

 

 

 

1、解决:
npm i autoprefixer@latest 
npm i caniuse-lite@latest 
npm i caniuse-lite browserslist@latest

 

posted @ 2020-08-14 20:33  鸣人卷~~  阅读(6378)  评论(0编辑  收藏  举报