• Every time I try to use the espruino tools I get the error below on windows. But using the Espruino web IDE native it connects without a problem.

    Any suggestions?

    $ espruino --list

    Espruino Command-line Tool 0.1.29

    C:\Users\medma\AppData\Roaming\npm\node_modules\espruino\node_modules\usb\usb.js:34

        this.__open()
             ^
    

    Error: LIBUSB_ERROR_NOT_SUPPORTED

    at Device.usb.Device.open (C:\Users\medma\AppData\Roaming\npm\node_modules\espruino\node_modules\usb\usb.js:34:7)
    at BluetoothHciSocket.bindUser (C:\Users\medma\AppData\Roaming\npm\node_modules\espruino\node_modules\@abandonware\bluetooth-hci-socket\lib\usb.js:90:19)    
    at BluetoothHciSocket.bindRaw (C:\Users\medma\AppData\Roaming\npm\node_modules\espruino\node_modules\@abandonware\bluetooth-hci-socket\lib\usb.js:43:8)      
    at Hci.init (C:\Users\medma\AppData\Roaming\npm\node_modules\espruino\node_modules\@abandonware\noble\lib\hci-socket\hci.js:101:35)
    at NobleBindings.init (C:\Users\medma\AppData\Roaming\npm\node_modules\espruino\node_modules\@abandonware\noble\lib\hci-socket\bindings.js:82:13)
    at Noble.<anonymous> (C:\Users\medma\AppData\Roaming\npm\node_modules\espruino\node_modules\@abandonware\noble\lib\noble.js:57:24)
    at process._tickCallback (internal/process/next_tick.js:61:11)
    at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
    at startup (internal/bootstrap/node.js:282:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
    
  • This is an issue with Windows & node BLE driver.
    Just run espruino --list --no-ble.
    More details in this issue

  • thank you that worked perfectly.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Issues using espruino tools from terminal using windows 10

Posted by Avatar for user102526 @user102526

Actions