360manu / kettlerUSB2BLE

Bridge from USB to Bluetooth low energy for old Kettler Trainers (Ergorace, ..) for Zwift and other apps
MIT License
38 stars 28 forks source link

Problem in the sudo node server.js #4

Open ironfedex opened 4 years ago

ironfedex commented 4 years ago

Hi, the compiling of "sudo node server.js" gives the following error:

sudo node server.js
/home/pi/kettlerUSB2BLE/node_modules/@serialport/bindings/lib/linux.js:45
    this.openOptions = { ...this.bindingOptions, ...options }
                         ^^^

SyntaxError: Unexpected token ...

I'm on a raspberry 3 B and the latest raspbian (installed using NOOBS), but I've checked to be on node 8. Thank you