microsoft / devicescript

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

Command failed with exit code 100 #696

Open sergeychernov opened 3 days ago

sergeychernov commented 3 days ago

Type: Bug

I've installed VS Plugin, try to Debug, Start Simulator from ui or cli, i see the same: The terminal process "node './node_modules/.bin/devicescript', 'devtools', '--vscode'" terminated with exit code: 100.

To Reproduce

yarn start yarn run v1.22.19 $ npm run watch

esp32-s3@0.0.0 watch npm run watch:devicescript

esp32-s3@0.0.0 watch:devicescript devicescript devtools src/main.ts

using devs: v2.16.4, runtime: v2.16.4, node: v20.15.0 from /Users/chernovsi/code/esp32-s3/node_modules/@devicescript/cli/built devs: v2.16.4, runtime: v2.16.4, node: v20.15.0 running in /Users/chernovsi/code/esp32-s3 dashboard : http://127.0.0.1:8081/ connection : http://127.0.0.1:8081/connect websocket : ws://127.0.0.1:8081 tcpsocket : tcp://127.0.0.1:8082 dbgserver : tcp://127.0.0.1:8083 building src/main.ts... error Command failed with exit code 100. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Opened ports

lsof -i | grep -E LISTEN Dion 726 chernovsi 64u IPv6 0xcf2ceef5dc9042e1 0t0 TCP *:44951 (LISTEN) node 12200 chernovsi 24u IPv4 0xcf2ceee77cb3e331 0t0 TCP localhost:sunproxyadmin (LISTEN) node 12200 chernovsi 26u IPv4 0xcf2ceee77cb7e6b1 0t0 TCP localhost:us-cli (LISTEN) node 12200 chernovsi 27u IPv4 0xcf2ceee779b69b21 0t0 TCP localhost:us-srv (LISTEN)

Environment

vscode: 1.90.1 extension: 2.16.2

Devices

interaction_mode: 0 auto_connect: false reset_in: false last_reset_in_time: 0 transport: web: connected device: id: BO78 (0x8200a6e85438457d) product: ? (0x?) firmware_version: uptime: stats: announce 4803, drop 0, restart 0 services: infrastructure (0x1e1589eb) proxy (0x16f19949)

Extension version: 2.16.2 VS Code version: Code 1.90.1 (Universal) (611f9bfce64f25108829dd295f54a6894e87339d, 2024-06-11T21:02:41.372Z) OS version: Darwin x64 23.4.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|2, 2, 2| |Memory (System)|16.00GB (0.27GB free)| |Process Argv|--crash-reporter-id b3345d83-3a44-4b4d-a5ae-9b180c265ef3| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 jchc7451:31067544 chatpanelt:31048053 dsvsc021:30996838 01bff139:31013167 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 newcmakeconfigv2:31071590 legacy_priority:31082724 ```