• Hi!

    I try to get espruino cli working.

    I ran

    npm install -g espruino
    espruino --list --verbose
    

    and get several errors. The complete log is in the attachment, the problematic parts are shown here (the actual user dir was masked to by me before posting this):

    :
    Found <MYUSERDIR>\AppData\Roaming\npm\node_mod­ules\espruino/core/serial_winnus.js
    'winnus' module not found, no Windows Bluetooth Low Energy Error: Cannot find module 'winnus'
    Require stack:
    - <MYUSERDIR>\AppData\Roaming\npm\node_mod­ules\espruino\index.js
    - <MYUSERDIR>\AppData\Roaming\npm\node_mod­ules\espruino\bin\espruino-cli.js
    :
    Initialising SetTime
    Searching for serial ports...
    Noble: getPorts - initialising...
    Noble: module couldn't be loaded, no node.js Bluetooth Low Energy
     Error: Cannot find module '@abandonware/noble'
    Require stack:
    - <MYUSERDIR>\AppData\Roaming\npm\node_mod­ules\espruino\index.js
    - <MYUSERDIR>\AppData\Roaming\npm\node_mod­ules\espruino\bin\espruino-cli.js
    :
    [Error: ENOENT: no such file or directory, open 'C:\serial\ports'] {
      errno: -4058,
      code: 'ENOENT',
      syscall: 'open',
      path: 'C:\\serial\\ports'
    }
    /serial/ports doesn't exist - disabling WebSocket support
    PORTS:
      COM6  (Microsoft)
      COM5  (Microsoft)
    

    Any suggestions?


    1 Attachment

About

Avatar for neshanjo2 @neshanjo2 started