I have updated Node-RED on one of my Pi's, and that worked nicely. But updating the nodes did not go that well. I first tried with Palette manager and got "Failed to update: node-red-contrib-fs-ops, Install failed, Check the log for more information"
I cheched the log, and it seemed like a permission problem:
ERR! Error: EACCES: permission denied, access '/home/pi/.node-red/node_modules/node-red-contrib-fs-ops'
Next step was manual installation, first by finding out which nodes that I needed to update:
cd ~/.node-red npm outdated
So I tried using command line with sudo, but that gave me this:
pi@Z-Wave-Tellstick:~/.node-red $ sudo npm install node-red-contrib-fs-ops npm WARN email@example.com No repository field. npm WARN firstname.lastname@example.org No license field. + email@example.com updated 1 package and audited 1662 packages in 16.863s found 1 high severity vulnerability run `npm audit fix` to fix them, or `npm audit` for detail
And even if it says that "updated 1 package, the node is still on the old version. An idea what's happening here? There were in total six packages I tried to update, and none of them did
Another one of my Pi's, which has the exact same "roots", built in December some time, updated without problems. I installed one Pi first with all the common stuff they all need installed and then split them into different uses and install the extra packages needed.