Read the statement by Michael Teeuw here.
npm start
-
https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/6
I follwed this tutorial exactly and it did not say anything about npm install where would execute that?
-
The automatic installer command
bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
does not always complete, for whatever reason. Included in that script is updating dependencies (npm install) in the MagicMirror directory. I don’t know if this is the case for you but you could try runningnpm install
in your MagicMirror directory. If that does not help, please paste ALL of your terminal output when attempting to run the mirror.I don’t use the automatic installer for this very reason. I only do manual installations so I don’t encounter that. All it requires is downloading the MM software from github instead of using the automatic script and running
npm install
in the MagicMirror directory. -
Re: npm start
It happened to me, the auto install does not always complete successfully, then after reading lot of articles on pi magazine, found out that we need to install few packages before we go for manual or auto installation and so far it has worked for me like thrice.
After installing Raspbian follow the below link, install node.js using a package manager, follow all the steps make sure everything installs successfully.
https://github.com/cncjs/cncjs/wiki/Raspberry-Pi-Setup-Guide
Then go for manual or auto installation of magic mirror, it will get installed without any errors, so far it has worked for me.
-
This is right from the repo page
Manual Installation
Download and install the latest Node.js version.
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: npm install && npm start
Important: npm start does not work via SSH, use DISPLAY=:0 nohup npm start & instead. This starts the mirror on the remote display.Note: if you want to debug on Raspberry Pi you can use npm start dev which will start the MagicMirror app with Dev Tools enabled.
-
@Mykle1 Hi
the manual installation worked and I now have it up and running, thank you very much
-
@dannymaclean98 said in npm start:
the manual installation worked and I now have it up and running, thank you very much
That’s fantastic!
You’re welcome. :^)