Windows Use Zadig to install the WinUSB driver for your USB device.
Otherwise you will get LIBUSB_ERROR_NOT_SUPPORTED when attempting to
(which I found when trying to figure out why espruino --list finds no ports in Ubuntu either)
espruino --listfinds no ports in Ubuntu either
In that case you need the
setcapcommand to give it permissions.
Odd about the COM ports on Windows though - maybe try
espruino.cmd --list --verboseand see if it gives you any hints about why the
serialportlibrary isn't working?
I am trying to get VS Code working with Espruino via https://www.espruino.com/Typescript+and+Visual+Studio+Code+IDE
But I've been running into a bit of a hiccup, where it doesn't want to open the COM port (COM7 in this case). Different apps can all open the COM port, individually of course, not all at once!
This is what VS Code is saying after a Ctrl+Shift+B => 'build', then a Ctrl+Shift+B => 'espruino-console':
Possibly related, it appears that espruino-cli maybe isn't seeing COM ports?
I'll look at this more tomorrow, but my brain is about toast for the evening.