Read the statement by Michael Teeuw here.
Rpi 3B+, can't install
-
I tried like 3 or 4 times to follow several guides. Can’t make it work, as I see errors during installation process. in short - is there anyone who can help me installing via SSH?
-
I was having a ton of errors installing on a new Rpi 3B+ too. Following @NoNameRo 's suggestion on uninstalling & reinstalling node from source fixed it for me: https://forum.magicmirror.builders/topic/8431/npm-install-is-giving-error/9?page=1
What errors are you getting?
-
There is a bounch of npm warn notice security, but error i get is

-
Followed your advice and I got new error

-
This post is deleted! -
Personally, I would try a manual install of MM instead of the install script which seems to falter at times.
- Rename your current MagicMirror folder (so you don’t lose it)
- Download MagicMirror from the Repo
- Rename the new MM folder to MagicMirror
- Run
npm installin the new MagicMirror directory - Run
npm startin the new MagicMirror directory
At this point you should get an error message to create a config. That’s a good thing. It means MM is installed correctly and running. You just need a working config.
https://forum.magicmirror.builders/topic/4528/how-to-create-a-working-config-for-absolute-beginners
-
Would you please type correct commands? I’m not too good with commandline.
I usedmv MagicMirror MagicMirror2 bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"I see an error

-
so I did
mv MagicMirror MagicMirror3 git clone https://github.com/MichMich/MagicMirror npm startand I see
Segmentation fault -
Try
git clone https://github.com/MichMich/MagicMirrorthencd MagicMirrorfollowed bynpm install.
Looks to me you tried to start the MagicMirror before installing it. -
Segmentation fault
-
I have set up WAN Port Forwarding to RPi, if there is somebody willing to help me.
-
@epi
I got the same issue and I installed manually.- install the latest Node.js version.
-
Updates Debian apt package repository to include the NodeSource packages.
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - -
install Node.js
sudo apt install -y nodejs -
Check your node version ( should be V 10.10.0)
node -v
- Clone the repository and check out the master branch: git clone https://github.com/MichMich/MagicMirror
- Enter the repository: cd MagicMirror/
- Install and run the app with: npm install && npm start
- create a working config.
-
-
Still doesn’t work for me.
What I did is- Install fresh RASPBIAN STRETCH WITH DESKTOP
- After install, configure wifi credentials and enable SSH access
- Connect via SSH and proceed with
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install -y nodejs
node -v
(got answer “v10.10.0”)
git clone https://github.com/MichMich/MagicMirror
cd MagicMirror/
npm install && npm start

-
any clue what to do next?
-
Not sure this will help but you could try
npm install -g electronwithin your MagicMirror directory.If that doesn’t work, try
npm install electron@2.0.0inside your MM directory. -
Issue found, everything works now.
Problem was my SD card, it, is (becomes) corrupt at some point. -
That’s why I run mine from a cheap SSD (Kingston A400, 120GB iirc). Much faster and no risk of corrupting it. I paid 27€ for my SSD. At this price I think it is worth considering buying one.
-
Please try the following
sudo apt-get remove nodejs nodejs-legacy noderedafter that
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs sudo npm install -g npm@latestafter that enter in the repository with
cd MagicMirrorIf have not install MM, use this from github
bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"then install and run the app with
npm install && npm startThis method worked for me.
Credit: @NoNameRo
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