elliette · GitHub

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

Read the original on github.com ↗