• You could also run espruino --list --verbose and see if any errors get
    reported - Noble might be trying to say that there was some error - or
    it's possible that NPM totally failed to install Noble at all.

    Ah - that verbose switch was useful - that's exactly what's happening. Have tried repeating the install steps to no avail. Have tried apt-get update + upgrade. Have also tried npm rebuild.
    I am not sure if the error referencing 'Acorn Library' is important but the following error stating noble could not be loaded and the following error about 'binding.node' look more significant. Any ideas how I can resolve this?

    Error: The module '/usr/lib/node_modules/espruino/node_modules/bluetooth-hci-socket/build/Release/binding.node'
    was compiled against a different Node.js version using
    NODE_MODULE_VERSION 48. This version of Node.js requires
    NODE_MODULE_VERSION 51. Please try re-compiling or re-installing
    
    

    Grateful for any advice on how I could have sorted this in an orderly way but in the meantime I seem to have fixed this after a number of npm rebuild attempts and strangely a reboot.

    espruino --list
    Espruino Command-line Tool 0.0.26
    -----------------------------------
    
    PORTS:
      f2:91:92:05:39:xx (Puck.js 39xx)
      fe:ec:68:7b:6e:xx (Puck.js 6exx)
    
    

    Now off to find out how I control which of these 2 pucks I am connecting to.

About

Avatar for JamesS @JamesS started