Install Problems: inst runs ok, but node-red & node-red-pi are missing

I ran this cmd:
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

Output:
Stop Node-RED :heavy_check_mark:
Remove old version of Node-RED :heavy_check_mark:
Node option not specified : --node12, --node14, or --node16
Leave existing Node.js : v14.19.2 Npm 6.14.17
Clean npm cache -
Install Node-RED core :heavy_check_mark:
Move global nodes to local -
Leave existing nodes -
Install extra Pi nodes :heavy_check_mark:
Add shortcut commands :heavy_check_mark:
Update systemd script - Skipped - existing script is customized.

log output:
/root/.npm-global/bin/node-red -> /root/.npm-global/lib/node_modules/node-red/red.js
/root/.npm-global/bin/node-red-pi -> /root/.npm-global/lib/node_modules/node-red/bin/node-red-pi

  • node-red@2.2.2
    updated 1 package in 48.889s
    Now create basic package.json for the user and move any global nodes
    Installing extra nodes: node-red-node-pi-gpio@latest node-red-node-random@latest node-red-node-ping@latest node-red-contrib-play-audio@latest node-red-node-smooth@latest node-red-node-serialport@latest :

@serialport/bindings-cpp@10.7.0 install /home/pi/.node-red/node_modules/@serialport/bindings-cpp
node-gyp-build

npm notice created a lockfile as package-lock.json. You should commit this file.

  • node-red-node-random@0.4.0
  • node-red-node-ping@0.3.1
  • node-red-node-pi-gpio@2.0.3
  • node-red-contrib-play-audio@2.5.0
  • node-red-node-serialport@1.0.1
  • node-red-node-smooth@0.1.2
    added 27 packages from 94 contributors in 13.176s
    Now add the shortcut and start/stop/log scripts to the menu
    Now add systemd script and configure it for pi:pi @ /home/pi
    Customized systemd script found @ /lib/systemd/system/nodered.service. To prevent loss of modifications, we'll not recreate the systemd script.
    If you want the installer to recreate the systemd script, please delete or rename the current script & re-run the installer.
    ln: failed to create symbolic link '/usr/bin/python': File exists
    Now add launcher to top bar, add cpu temp example, make sure ping works
    The user pi' is already a member of gpio'.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
python3-rpi.gpio is already the newest version (0.6.5-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Memory : 1.0G
Started : Thu 05 May 2022 01:49:31 PM CEST
Finished: Thu 05 May 2022 01:51:23 PM CEST

Then:

node-red-start

Node-RED is not yet fully installed. Please re-run the install script again manually.
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
then retry node-red-start

Reason, two files (scripts) are missing: node-red-pi & node-red ..

How to fix it ? Thanks. Titus.

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