sdesalas / node-serialport-omega2

Run your Onion Omega2 robot overlord using javascript.
MIT License
9 stars 1 forks source link

Version conflict on latest Omega2 firmware #7

Open ErikHougaard opened 5 years ago

ErikHougaard commented 5 years ago

Hi,

I tried installing your build of serialport on the latest Omega2S+ firmware, and I get this error:

...was compiled against a different Node.js version using NODE_MODULE_VERSION 46. This version of Node.js requires NODE_MODULE_VERSION 57. Please try re-compiling or re-installing the module

Is a new build available for this version, or will I need to cross-compile myself (which I have never tried before, so I'm hoping I don't have to :-))

Ronald-Omega commented 3 years ago

Good afternoon. Could you solve it? Could you guide me how you did the cross compilation?

luka1995 commented 1 year ago

@ErikHougaard @Ronald-Omega How to fix this error? I've been wasting time for a couple of days... node and npm version is v8

ErikHougaard commented 1 year ago

@luka1995 I honestly don't remember how I managed to solve it, but I have made the module available here: https://github.com/ErikHougaard/serialport

Hope it helps :-)

luka1995 commented 1 year ago

@ErikHougaard thanks I tried. I forked repo to my github and run npm i luka1995/serialport-onion, but I'm geting error:

luka1995 commented 1 year ago
Screenshot 2022-11-25 at 11 02 56
luka1995 commented 1 year ago

I think this library not working anymore.

Screenshot 2022-11-25 at 11 14 17