Read the statement by Michael Teeuw here.
Install scripts won't install?
-
Every attempt shows the below. I am stumped any help is appreciated.
ys@raspberry:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”
$$\ $$\ $$\ $$\ $$\ $$\ $$$$$$
$$$\ $$$ | _| $$$\ $$$ |_| $$ $$
$$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ _/ $$ |
$$$$$$ $$ | _$$\ $$ $$\ $$ |$$ |$$$$$$ $$ |$$ |$$ $$\ $$ $$\ $$ $$\ $$ $$\ $$$$$$ |
$$ $$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ $$$ $$ |$$ |$$ | _|$$ | _|$$ / $$ |$$ | _|$$ /
$$ |$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ |
$$ | _/ $$ |$$$$$$$ |$$$$$$$ |$$ |$$$$$$$\ $$ | _/ $$ |$$ |$$ | $$ | $$$$$$ |$$ | $$$$$$$$
_| _| _| _$$ |_| _|_| _|_|_| __| _/ _| _______|
$$\ $$ |
$$$$$$ |
_____/install log being saved to /home/hhays/install.log
Updating packages …
Installing helper tools …
nvm_command is export NVM_DIR=/home/hhays/.config/nvm; . “/home/hhays/.config/nvm/nvm.sh” [ -s “/home/hhays/.config/nvm/nvm.sh” ] && . “/home/hhays/.config/nvm/nvm.sh”; nvm install v22.21.1 nvm uninstall
node failed to execute, please check the error message and resolve before trying again -
@heath1066 interesting
Open a terminal window, then do
nvm install v22.21.1If successful,
dohash -r node -vShould report v22.21.1
If correct, then rerun the install scriptPlease advise. I’ll fix my script
-
@sdetweil install v22.21.1 failed.
-
@heath1066 ok, try the command n
If it is not found do
sudo npm install -g nThen
n —versionShould work
If so then do
sudo n 22.21.1 hash -r node -versionShould say 22.21.1
If so, then rerun install script
-
errors in shared libraries now
hhays@raspberry:~ $ n --version
10.2.0
hhays@raspberry:~ $ sudo n 22.21.1
installing : node-v22.21.1
mkdir : /usr/local/n/versions/node/22.21.1
fetch : https://nodejs.org/dist/v22.21.1/node-v22.21.1-linux-x64.tar.xz
copying : node/22.21.1
node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/local/bin/node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
installed : (with npm ) -
@heath1066 oh, are you on buster? Or 32 bit system?
Dolsb_release -aCan you send me the ~/install.log?
Same userid as here on Gmail. Thx
-
@sdetweil
spberry:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye -
@heath1066 well then.
uname -a
-
@sdetweil I will have to send later this eve, but here:
@raspberry:~ $ uname -a
Linux raspberry 5.10.0-39-amd64 #1 SMP Debian 5.10.251-1 (2026-03-09) x86_64 GNU/Linux -
@heath1066 weird
try this
sudo apt update sudo apt install libstdc++6then if successful
sudo n 22.21.1
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login