When I get to the bash command, the RPI gives me the following error:
bash: /dev/fd/63: No such file or directory
A quick search on your forum indicates that the error has already been spotted but I did not know how to resolve it.
However, I can give you the following information about my installation.
1- I installed Git with the command "sudo apt install build-essential git"
2- Cat /etc/os-release :
Can you copy/paste the terminal output showing the command you are entering and the error please? Copy/paste rather than a screenshot please, if possible.
node -v
-bash: node: commande not found
which node
-bash: node: commande not found
apt policy nodejs
nodejs:
Installed: (none)
Candidate: 10.24.0~dfsg-1~deb10u1
Version table:
10.24.0~dfsg-1~deb10u1 500
500 http://respbian.raspberrypi.org/raspbian buster/main armf Packages
It therefore seems not installed by default correctly at the "node" level. But since I am starting from a very fresh isntalattion it is possible that something needs to be done.
It's pretty straightforward.
When I try to install curl I get this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version (7.64.0-4+deb10u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ```
28 / 5000
Résultats de traduction
In order I do this:
OMG, it works without the sudo ... Me using my commands. Good visibvlement must be done in order ... and transfer the sudo for the bash command
This is what is happening:
pi@raspberrypi:~ $ sudo apt-get update && sudo apt-get upgrade
pi@raspberrypi:~ $ sudo reboot
pi@raspberrypi:~ $ sudo apt-get install vim
pi@raspberrypi:~ $ sudo apt-get install build-essential git
pi@raspberrypi:~ $ sudo apt-get install curl
pi@raspberrypi:~ $ bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
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 ✔
Install Node.js LTS ✔ Node v12.22.1 Npm 6.14.12
Clean npm cache ✔
Install Node-RED core ✔ 1.3.4
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
All done.
You can now start Node-RED with the command node-red-start
or using the icon under Menu / Programming / Node-RED
Then point your browser to localhost:1880 or http://{your_pi_ip-address}:1880
Started Wed 12 May 13:04:10 CEST 2021 - Finished Wed 12 May 13:06:30 CEST 2021
pi@raspberrypi:~ $