cho45 / GrblServer

64 stars 18 forks source link

How to get this running on OSX HighSierra #10

Open TFDan opened 6 years ago

TFDan commented 6 years ago

Hi,

I followed the instructions to install, but npm install failed due to problems with the SerialPort version bundled (1.7.4).

I tried swapping in the latest version of SerialPort (6.2.0), which builds OK on OSX HighSierra, but this doesn't work with GrblServer:

/Users/steph/Downloads/CNC/GRBLServer/out/server.js:358
            parser: serialport.parsers.readline("\n")
                                       ^

TypeError: serialport.parsers.readline is not a function

It looks like SerialPort has upgraded their interface, and 1.7.4 is a long way behind. I tried various other versions of SerialPort, but couldn't get it working.

Is this still supported on OSX, or am I doing something wrong?

Thanks, Dan