Read the statement by Michael Teeuw here.
trouble booting magicmirror
-
@mykle1 I don’t think I made a copy and yes I’m trying to open the config file as the tutorial says
-
I type npm start and get a error.
Run-start.sh: 4: run-start.sh: electron: not found
-
Ok, I assume you ran
npm start
in the MagicMirror directory and received that error. This is a fairly common problem. The installation of dependencies fails at times to install electron properly.-
From your desktop(GUI) go to MagicMirror/node_modules folder. Inside this folder you will find the electron folder. Delete the electron folder.
-
Now, open a terminal and type
cd MagicMirror
and enter. Now, in the MagicMirror directory typenpm install
and enter.
This SHOULD install electron.
-
-
@mykle1 I do not have any folders in /home/pi/MagicMirror/node_modules
-
@tbs86 said in trouble booting magicmirror:
I do not have any folders in /home/pi/MagicMirror/node_modules
Not one? I think you never installed your dependencies at all. No matter, still run
npm install
in the MagicMirror directory to install ALL of your dependencies -
@mykle1 thank you that worked! Now it’s telling me I need to create a config file
-
I have edited the config file thank you for your help!!! Much appreciated!
-
You can mark the topic as solved