Update problem - with script


trying to update my raspberry pi from o.21 to latest version with the script.
when doing this i get the following error in my screen.
How can i solve this?

npm ERR! error in /usr/lib/node_modules/node-red: ENOENT: no such file or directory, open '/usr/lib/node_modules/node-red/package.json'

Just for confirmation, which script do you mean? Is it the one at Running on Raspberry Pi : Node-RED

Please post the install log here /var/log/nodered-install.log

Which OS version are you running?

version is below
yes from that webpage

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION="9 (stretch)"

log i cannot paste because is to many characters

Can you attach it as a file?

nodered-install.pdf (125.6 KB)
does this work?

You didn't need to convert to pdf, a text file would have been ok.

Did you check all your installed nodes were at the latest versions before running the script? If not then do that via the palette manager and re-run the script. If node-red won't run then post the startup log when you try to start it.

Edit: Before you do that update your system, I see from the log that there are 345 packages that are out of date. You can do that using
sudo apt-get update && sudo apt-get dist-upgrade

Thanks! I try it.

its a pdf because i couldnt select a txt file

I see it won't allow .log files to be attached. It will allow .txt files, so for the future, copying it and renaming it to a .txt file would work.

The forum settings have been adjusted so that .log files can now by attached to a post.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.