Read the statement by Michael Teeuw here.
This command "node --run install-mm" causes error "-bash: node: command not found"
-
After installing this https://www.raspberrypi.com/software/
I first ran both these commands:
sudo apt full-upgrade
sudo apt updateThen followed documentation on this page https://docs.magicmirror.builders/getting-started/installation.html
This command “node --run install-mm” causes error “-bash: node: command not found” on RPi 5.
-
@CaptainKen after you did the updates, did you reboot? or close and open the terminal window??
if you updated the OS, then its best to reboot before doing anything else
and they should have been in the opposite order…
update the changes list
then install the updates -
I did reboot after the updates.
I just ran these commands:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejsnode -1 (v20.19.6)
npm -v (10.8.2)sudo apt full-upgrade
Now this command “node --run install-mm” gives the error “node: bad option: --run”
-
@CaptainKen yes, you need node 22 for that
MagicMirror requires 22.18.0 for v2.33
Next release is 22.21.1Node 24 removes 32 bit support. So we are trying to hold on to 32bit support as long as we can.
-
@sdetweil Thank you for replying with some details. So you’re saying I should not have installed RPi 64-bit.
-
@CaptainKen no. You need to install node 22.18.0
You installed node 20
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