Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-315

Extension picks up browserslist node s version from workspace

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.9.0
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Not Needed
    • Iteration Tokyo

      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

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: