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

fix `npm run package` and `npm run local-install`

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Tech debt
    • None
    • 3
    • Not Needed
    • Iteration Unicornfish, Iteration Velvet Crab

      Build (npm run package) breaks.

      To make `npm run package` work we'll need to make the command run by the vscode package command (vsce) `npm list --production --parseable --depth=99999 --loglevel=error` work.
      To do this we'll need to make `@electron/remote` an optional dependency of `@mongodb-js/compass-utils` and update react to 17.
      LeafyGreen wants react 17. However, Enzyme seems to not like that and the tests fail.

      npm ERR! missing: electron@>= 13.0.0, required by @electron/remote@2.0.8

       ERROR  Command failed: npm list --production --parseable --depth=99999 --loglevel=error

      Reported on github: https://github.com/mongodb-js/vscode/issues/353 

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

              Created:
              Updated:
              Resolved: