I get the following output when running mongosh : -
Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
I've tried the command, but it doesn't work.
CodePudding user response:
Try to run mongosh using this command line:
BROWSERSLIST_IGNORE_OLD_DATA=1 mongosh ...
On GNU/Linux or macOSX. Or...
set BROWSERSLIST_IGNORE_OLD_DATA=1
mongosh ...
On windows.
This way the message is not shown.
