As the title says, it's Windows 10.
Version 22H2, to be precise.
Espruino Command-line Tool 0.1.46
I like to access my Bangle.js 2, but I thought this is some generic problem. I don't know what the COM-ports actually are on my system.
I've already reinstalled the cli and still get the error. I also assume that no bluetooth modules are installed, since AppData\Roaming\npm\node_modules\espruinĀo\node_modules\ does not contain folders winnus or noble, and the @abandonware subfolder is empty. The npm install espruino command, however, did not show any errors.
By the way, while looking at the code where the noble error comes from, I discovered serial_noble.js lines 58ff
where the exception from require('noble') is swallowed, which (at least in my case) is the root problem. I suggest adding some log message that noble could not be loaded and @abandonware/noble is tried instead.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
As the title says, it's Windows 10.
Version 22H2, to be precise.
Espruino Command-line Tool 0.1.46
I like to access my Bangle.js 2, but I thought this is some generic problem. I don't know what the COM-ports actually are on my system.
I've already reinstalled the cli and still get the error. I also assume that no bluetooth modules are installed, since AppData\Roaming\npm\node_modules\espruinĀo\node_modules\ does not contain folders winnus or noble, and the @abandonware subfolder is empty. The
npm install espruino
command, however, did not show any errors.By the way, while looking at the code where the noble error comes from, I discovered serial_noble.js lines 58ff
where the exception from
require('noble')
is swallowed, which (at least in my case) is the root problem. I suggest adding some log message that noble could not be loaded and @abandonware/noble is tried instead.