Skip to content

Telemetry exception when loading extension in Theia #4519

@elliette

Description

@elliette

Describe the bug
When loading the VSCode Dart extension in Theia, the following error is shown (see also screenshot):

Activating extension 'Dart' failed: vscode_1.env.createTelemetryLogger is not a function

To Reproduce
Steps to reproduce the behavior:

  1. Fork & clone https://github.com/elliette/theia-dart
  2. Update the extensions from version 3.60.0 to 3.62.0 in browser-app/package.json (see below)
  3. Follow the instructions in the README to run
  "theiaPlugins": {
    "vscode-dart": "https://github.com/Dart-Code/Dart-Code/releases/download/v3.62.0/dart-code-3.62.0.vsix",
    "vscode-flutter": "https://github.com/Dart-Code/Flutter/releases/download/v3.62.0/flutter-3.62.0.vsix"
  },

Expected behavior
No exception

Screenshots
Screenshot 2023-05-03 at 12 41 46 PM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions