(npm) Error when starting the project: Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db
1. Manually delete the corresponding files
Delete the caniuse-lite and browserslist folders in the node_modules dependency directory.
2. Reinstall
npm i caniuse-lite browserslist -D
The main function of these two dependencies is to deal with the compatibility issues of some styles and scripts of the front-end page in various browsers.
Solution reference:https://blog.csdn.net/qq_36968599/article/details/127612025