Virgin Raspbian "Buster" install, 2019-09-26-raspbian-buster-full.zip. I setup OpenVINO and Coral Edgetpu support and verified that my AI code runs. My goal is to document the steps for my GitHub. All seems well.
Installed node-red using the bash script:
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
All seemed to go fine until I did node-red-start. It did four crash and restarts before giving up. Unfortunately I lost the error text I was planning to post when I I went to the node-red site to make sure I hadn't used the wrong version of the script. I hadn't.
Then I saw the blurb about may need to run sudo apt-get install build essentials.
I didn't explicitly install this, so I did, but seems the OpenVINO or TPU installation did it,
So I re-ran the script and things went from bad to worse.
Running Node-RED install for user pi at /home/pi on raspbian
This can take 20-30 minutes on the slower Pi versions - please wait.
Stop Node-RED โ
Remove old version of Node-RED โ
Remove old version of Node.js -
Leave existing Node.js โ Failed to install Node.js - Exit
Clean npm cache
Install Node-RED core
Move global nodes to local
Install extra Pi nodes
Npm rebuild existing nodes
Add shortcut commands
Update systemd script
Any errors will be logged to /var/log/nodered-install.log
sudo apt-get install npm fails:
$ sudo apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
npm : Depends: nodejs (>= 6.11~) but it is not going to be installed
Depends: node-abbrev (>= 1.1.1~) but it is not going to be installed
apt-get install nodejs gives:
sudo apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (12.14.1-1nodesource1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Never seen such Debian fubar since the days of Knoppix!
Short of starting over anyone got any helpful hints on how to get node-red running?