expo / vscode-expo

Expo Tools keep you productive with debugging, IntelliSense, and prebuild previews
https://marketplace.visualstudio.com/items?itemName=expo.vscode-expo-tools
MIT License
413 stars 11 forks source link

Error after installation of extension in vsc #242

Closed nicolasWD closed 7 months ago

nicolasWD commented 7 months ago

Description of the bug

On a fresh install from VSCode Extension manager and after restarting VS Code itself I get the following big error as a side notification down below: image

To Reproduce

  1. Installed extension
  2. Restart VS Code and wait for it to appear on the bottom right

if I try to run the command 'Expo: Debug ... Hermes' then I get the following error:

image

Expected behavior

I don't know, work? It's like when I was a kid and I was unwrapping presents and got disappointed when it was bed sheets.

Actual behavior

errors shown above

Additional context

byCedric commented 7 months ago

Hi @nicolasWD! This issue is likely related to vscode being outdated. We don't use the telemetry API directly, instead, we rely on the @vscode/telemetry-extension (which follows the user's telemetry preferences -- e.g. don't send anything when disabled).

What version of vscode are you using exactly?

nicolasWD commented 7 months ago

Hi @byCedric, thank you so much for the reply. The version details are below:

Version: 1.74.3 (user setup) Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534 Date: 2023-01-09T16:59:02.252Z Electron: 19.1.8 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Windows_NT x64 10.0.19045 Sandboxed: No

I guess it is outdated based on the fact that it's a year old. I'll update and let you know

nicolasWD commented 7 months ago

Hi @byCedric, I just updated VSCode and everything works just fine. Thank you again for being quick to point out what was wrong.

byCedric commented 7 months ago

Glad we could resolve it fast :) Happy coding!