After update with apt update and apt full-upgrade i cant start Node-red anymore, because of the problem in the picture:
i would be very thankful for your help
After update with apt update and apt full-upgrade i cant start Node-red anymore, because of the problem in the picture:
i would be very thankful for your help
What OS and version, and hardware are you running on?
What do these commands show?
node -v
which node
apt policy node
Edit: please copy/paste text, not screenshot.
Hi,
I am using a Raspberry Pi 4 8GB with Respian
> pi@raspberrypi:~ $ node -v
> v14.20.0
> pi@raspberrypi:~ $ which node
> /home/pi/.nvm/versions/node/v14.20.0/bin/node
> pi@raspberrypi:~ $ apt policy node
> node:
> Installiert: (keine)
> Installationskandidat: 0.3.2-7.4
> Versionstabelle:
> 0.3.2-7.4 500
> 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
That is a bad idea.
I suggest you fully remove nvm and delete the .nvm folder. Then install the latest node-red and a good version of nodejs using the recommended script for a pi.. I fully expect that to fix the problem.
If i uninstall nvm could this cause problems with Grafana and influxdb because they are currently working without problems?
is that enough?
rm -rf ~/.nvm
rm -rf ~/.npm
rm -rf ~/.bower
i also found the following command:
rm -rf $NVM_DIR ~/.npm ~/.bower
pi@raspberrypi:~ $ nodejs -v
v18.17.0
I am not aware of either of those needing nvm. How did you install nvm initially? You should uninstall it in the same way (and delete the folders).
I don't know what that command does. It is not installed on any of my systems. The command to show the version of nodejs is
node -v
I used rm -rf ~/.nvm and the instructions from your link and it worked ![]()
Big Thanks!
I don't think that has uninstalled nvm, you have just removed the local folders. Whether you will see problems in the future I don't know. Probably not, provided you don't ever run the nvm command.
Thanks for the notice and your quick support ![]()
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.