I have Weidmuller UC20-WL2000-IoT controller and some peripheral device which use RS-485 interface for trasmitting read data from prussure/temp sensors on the board.
Also I have UR20-1COM-232-485-422 module for connecting controller through RS-485.
I want realized programming on Nod-RED(web version). The controller must receive pressure and temperature data from sensors via the RS-485 interface. And also convert the received data into understandable values. From voltage signals to bar.
I tried to install the nodes I needed, but constantly errors. Updated the controller to update the version, because the separate node (web version) is not updated.
If you login to the device running node-red and run ping registry.npmjs.org
does it work ok? If it does then try wget https://registry.npmjs.org/node-red-node-serialport
How can I check that ping registry.npmjs.org does work?
I tried to install some another nodes or update nodes is use but I got same error.
I connected to two networks with Internet access, in one I tried wireless and wired connection, but the result is the same. Perhaps I need to fix some network settings? Only what?
Please copy/paste text rather than screenshot wherever possible.
I am confused. You have run ping on your windows machine, but I thought node-red was running on the Weidmuller. Which device is node-red running on?
In an earlier screenshot you showed that the browser was connected to 192.168.10.202. Is that the Weidmuller? That is the device that needs internet access.
You have not posted all the log so it is difficult to be sure what the problem is. Did you see my earlier suggestion?
However, I can see that you are using node.js 10.15.3. V10 went out of support long ago. The earliest version now supported it v16. You should upgrade to 16 or 18.
I have some problem with update my PLC. Weidmuller technical support will help to fix it... then I will try to update PLC to actual version because Node-red haven't possibilities to update independetly.
You are still using an obsolete version on nodejs, though that is probably not the issue causing this particular problem.
The error seems quite clear, the compiler g++ is not installed. On a Debian based system one would fix that by running sudo apt-get install build-essential
but that may not apply to your system.
Using node-red on obsolete hardware/software is always going to be problematic.