microsoft / vscode-tools-for-ai

Azure Machine Learning for Visual Studio Code, previously called Visual Studio Code Tools for AI, is an extension to easily build, train, and deploy machine learning models to the cloud or the edge with Azure Machine Learning service.
Other
321 stars 91 forks source link

Cannot connect to compute instance because of "EventEmitter" error #2224

Open lindsayevanslee opened 8 months ago

lindsayevanslee commented 8 months ago

Expected Behavior

I am trying to work with my Azure ML workspace with VS Code. I am expecting that when I click "VS Code (Desktop)" from the list of compute instances, my VS Code client will open and connect to the running compute instance and show me the files available in the workspace.

Actual Behavior

When I try to open VS Code by clicking "VS Code (Desktop)" from the list of compute instances, VS Code opens but sends me an error The "emitter" argument must be an instance of EventEmitter or EventTarget. Received an instance of AbortSignal

Steps to Reproduce the Problem

  1. Go to Compute -> Compute Instances in the Azure ML workspace
  2. Turn on a compute instance and wait for its startup to complete
  3. Click "VS Code (Desktop)"
  4. Navigate to VS Code and see error

Specifications

tbombach commented 8 months ago

Hi @lindsayevanslee, thank you for filing this issue and for the easy to follow repro steps! I will investigate this issue and provide an update on what I find.

ameicler commented 8 months ago

same here when trying to connect to compute instance on Mac version

Version: 0.15.1 VSCode Version: 1.83.1 Commit: 254fc847749811620c31fd780d453b15bd1013e0 Date: 2023-11-11T03:33:44.428Z Electron: 25.8.4 ElectronBuildId: undefined Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Darwin arm64 22.3.0

we started to investigate here but issue was closed (https://github.com/microsoft/vscode-tools-for-ai/issues/2176)