Hi, I tried installing nodered locally on my new raspberry pi 4B and the provided Github install script does not work.I followed the official docs,make sure git curl build-essential works successfully.But when I ran the installation script, there was no output.sudo is not used
At first I thought it was my installation problem because I was a novice. But I used a new sd card with a new raspberry pi os(64-bit) and still had the same problem.
lmy@raspberrypi:~ $ curl https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered
curl: (7) Failed to connect to raw.githubusercontent.com port 443 after 31 ms: Couldn't connect to server
The command I suggested in that thread is probably not sensible to use in every case, though it can't do any harm.
If the file nrinstall exists but has no content it does indeed suggest that your Pi has a network problem.
It might have been a temporary outage. Try the standard installation command again and let us know if you still have problems.
I really appreciate your answer.I have successfully installed, it is a problem caused by the network, I am from China
Use the vim /etc/hosts command to open the hosts file on an unreachable machine and add the following:
It's a network problem. I just posted the solution above. Thank you for helping me with your answers before the forum, and thank you very much for your answers this time
The correct solution is use a DNS service that is able to provide the ip addresses. Perhaps that solution is not available in your country.
IP addresses can change, which would stop the script from running again. That is why DNS is used to map domain names to IP addresses.