This in on my main PiZero that does most of my cheerlights processing
ran the standard script - all seemed to go OK but when I ran
node-red
I got
Tried runing script again again - same result
tried
node-red-start
Just got into the node-RED is not installed properly loop
It is an old Jessie install but it has managed to be upgraded to 0.20.5 in the past so unless 0.20.7 has something new been introduced that doesn't work with Jessie?
This is using the bash script from the docs ? or the local command ?
It should have reported the installed version of Node-RED like Install Node-RED core ✔ 0.20.7 so something def not right..
I've copied my flow/credentials from it to another SD card that already was at 0.20.7 and put that one in orig Pi instead so I'm up and running again
So I can do anything on the old setup without fear of damage if you want me to try anything
last bit of log file
Started : Mon 12 Aug 13:41:00 BST 2019
Running for user pi at /home/pi
Found global nodes: :
WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodered' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 414 not upgraded.
WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodejs' is not installed, so not removed
Package 'nodejs-legacy' is not installed, so not removed
Package 'npm' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 414 not upgraded.
dpkg: warning: ignoring request to remove nodejs which isn't installed
dpkg: warning: ignoring request to remove node which isn't installed
rm: cannot remove ‘/usr/lib/node_modules/npm’: Is a directory
E: Command line option 'y' [from -y] is not known.
WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists...
Building dependency tree...
Reading state information...
414 packages can be upgraded. Run 'apt list --upgradable' to see them.
npm ERR! Cannot read property 'resolve' of undefined
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-08-12T12_46_36_657Z-debug.log
npm ERR! Cannot read property 'resolve' of undefined
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-08-12T12_46_55_842Z-debug.log
The user `pi' is already a member of `gpio'.
Finished : Mon 12 Aug 13:41:00 BST 2019