microsoft / devicescript

TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)
https://microsoft.github.io/devicescript/
MIT License
3.24k stars 112 forks source link

Can not connect to device #570

Closed louisvangeldrop closed 11 months ago

louisvangeldrop commented 11 months ago

Start the DeviceScript Extension version 2.14.3 => Connect Device => results in the messages:

  1. DeviceScript - Unable to locate Node.JS v16+.
  2. The terminal process failed to launch: Path to shell executable "C:\Program Files\nodejs" is not a file or a symlink.
louisvangeldrop commented 11 months ago

Fixed by running "npm update"

pelikhan commented 11 months ago

I've beefed up the help with this error message. https://github.com/microsoft/devicescript/commit/941084f4ad58e701bbad6dfdf4a166eff6d66a60