microsoft / devicescript

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

Error: spawn wmic ENOENT windows 11 #662

Open aeroniemi opened 7 months ago

aeroniemi commented 7 months ago

WMIC seems to have become an optional feature in the latest builds of windows 11 and is needed by the VSCode extension to "flash firmware", giving a Error: spawn wmic ENOENT error if it's missing. It'd be worth adding error handling that directs people to docs on how to enable that

pelikhan commented 7 months ago

indeed, it is deprecated --> https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/wmic