I just tried to update my installed modbus node, but the install log told me that the NPM version was too low.
I needed version 10 or higher, but before I updated the system with a bash file I thought was the right way to update and gave me version 7.7.6 of NPM. Can anyone advise me on this subject?
@knolleary My current version of modbus is 5.14.1 that I was trying to update to 5.15.0. Did I overshoot with updating node.js? So will I need to install an earlier version of node.je in order to keep modbus running without problems?
Did I use the right bash file to update my system every now and then?
Yes - use the node14 install.
But which hardware platform are you running on ? If it's a Pi or Debian based operating system like Ubuntu you should be able to use the documented install script (with the extra --node14 parameter to force it to use node14)
@knolleary@dceejay Thankjs for your help, guys. I think the best thing to do for me, is keep running the current version, as I don't seem to have any problems with modbus. It is running without any problems now for months. Maybe when I go back to previous version of node.js, I will run into unexpected problems.
Also maybe modbus will be updated in the future to run with higher version of node.js too.
By the way @dceejay , I am running the system on a RPI 3B+