To fix this we need to update mongosh to version 1.18+ and then it will be fixed.
Here's the original description:
Looks like something when we run playgrounds something is looking for browserlists in the open workspace. To reproduce you can open a node js project folder/workspace and edit the package.json and add something like:
"browserslist": [ "Node 14.18" ],
Or add a .browserslistrc file with similar.
The error then occurs when trying to run a playground.
Reported on github: https://github.com/mongodb-js/vscode/issues/375
- depends on
-
MONGOSH-1085 Current folder's browserslist is parsed and checked when mongosh is started
- Closed