We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Serialport requires different Node.js version

  • Hi,

    I am trying to use serialport in NodeJS 8 on the latest firmware on Omega2S+. I tried installing the module from https://github.com/sdesalas/node-serialport-omega2 but 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

    I tried cross-compiling serialport but I end up getting another error when running a simple test:

    Fatal error in ../deps/v8/src/api.cc, line 1244
    Check failed: !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo().

    Not having much (read: any) experience building my own Node modules or cross-compiling at all, I have no clue how to solve this. Maybe going back to an earlier version of the firmware with NODE_MODULE_VERSION 46, but that does not seem like a good long-term solution.

    Any help is greatly appreciated

Log in to reply

Looks like your connection to Community was lost, please wait while we try to reconnect.