Code Monkey home page Code Monkey logo

Comments (5)

hardillb avatar hardillb commented on June 16, 2024

This is a bug in the node-serial node on ARM, the pre-built binaries just don't work on ARM, this has been reported upstream but there has been no fix for many years. serialport/bindings-cpp#139

The workaround is to log into the container and run npm rebuild in the /data directory

from node-red-docker.

edu-sistec avatar edu-sistec commented on June 16, 2024

Hi Ben,

thanks for answering

Yes, I have done what you mention in the thread: node-red/node-red#3461

I have followed all the steps with the result order suced, but finally when running the contrib-modbus node the result is the same error.

I don't know what I'm doing wrong.

Edu

from node-red-docker.

hardillb avatar hardillb commented on June 16, 2024

Then the only other option is to try changing the node-red container for the debian based image instead of the alpine one.

Change the container line in the docker compose to point to nodered:latest-debian

from node-red-docker.

edu-sistec avatar edu-sistec commented on June 16, 2024

Hi Ben,

Thanks, I'll try it

Right now I've reset the device and I don't have it ready to test, but when I get a chance I'll try and let you know.

from node-red-docker.

edu-sistec avatar edu-sistec commented on June 16, 2024

Hi Ben

It is already working perfectly.
Finally I just had to add in docker-compose that it takes the Debian version: nodered:latest-debian.

I didn't need to do npm rebuild

Thank you for your time
Edu

from node-red-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.