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

Cannot find module 'electron'

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.8.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Developer Tools
    • Not Needed
    • Iteration Jupiter

      Problem Statement/Rationale

      From GitHub issue: https://github.com/mongodb-js/vscode/issues/798

      Mongo DB for VS Code 1.8.0 does not start for some users with the error:
      2024-08-29 20:00:39.444 [error] Activating extension mongodb.mongodb-vscode failed due to an error:2024-08-29 20:00:39.444 [error] Error: Cannot find module 'electron'Require stack:- /home/node/.vscode-server/extensions/mongodb.mongodb-vscode-1.8.0/dist/extension.js- /vscode/vscode-server/bin/linux-x64/fee1edb8d6d72a0ddff41e5f71a671c23ed924b9/out/bootstrap-fork.js 

      Steps to Reproduce

      Install 1.8.0 and try to use the extension

      Expected Results

      Extension works

      Actual Results

      Extension can not activate

            Assignee:
            alena.khineika@mongodb.com Alena Khineika
            Reporter:
            alena.khineika@mongodb.com Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: