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