Espruino IDE on the Pi crashes on Port select

Posted on
  • Noble: Starting scan
    undefined:117

        Espruino.Core.Utils.isRecognisedBluetoot­hDevice(name)) {
                           ^
    

    TypeError: Cannot read property 'isRecognisedBluetoothDevice' of undefined

    at Noble.eval (eval at <anonymous> (/usr/local/lib/node_modules/espruino-we­b-ide/server.js:54:6), <anonymous>:117:28)
    at emitOne (events.js:77:13)
    at Noble.emit (events.js:169:7)
    at Noble.onDiscover (/usr/local/lib/node_modules/espruino-we­b-ide/node_modules/noble/lib/noble.js:17­8:10)
    at emitMany (events.js:108:13)
    at emit (events.js:182:7)
    at NobleBindings.onDiscover (/usr/local/lib/node_modules/espruino-we­b-ide/node_modules/noble/lib/hci-socket/­bindings.js:174:10)
    at emitMany (events.js:108:13)
    at emit (events.js:182:7)
    at Gap.onHciLeAdvertisingReport (/usr/local/lib/node_modules/espruino-we­b-ide/node_modules/noble/lib/hci-socket/­gap.js:256:10)
    
  • I just made some changes. Try using npm update and running again.

    It's a strange one - it appears to work fine when run locally for some reason but it failed when installed globally.

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

Espruino IDE on the Pi crashes on Port select

Posted by Avatar for user88169 @user88169

Actions