Read the statement by Michael Teeuw here.
Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
-
nothing to do, it doesn’t seem to find the electron file and folders
-
@airart i don’t understand, I installed on windows 10 without trouble… but it was npm v6.
I just installed and used npm 7.14…
I had to use the full path to electron
here is my package.json start line
"start": "/Users/sdetw/MagicMirror/node_modules/.bin/electron js/electron.js",
this is due to a change in npm… my prior instance will not start now without the full path
-
this is because npm 7.14 is trying to launch from the MagicMirror folder instead of the module folder…
-
@sdetweil can i install npm v6 ?
-
@airart yes,
npm install -g npm@6.14.0
after this completes
cd MagicMirror rd /s/q node_modules npm install
-
@sdetweil in which folder it should be installed
-
@airart -g means global
-
@sdetweil it works ! I am so moved, evidently that was the problem.
Does CMD remain active how do I leave the MM? fn + f11 reduces to window
I also noticed some warnings -
@airart ctrl-c in ther terminal window will stop the active program
ignore warnings
-
Thanks for the tutorial, i’m running magicmirror on a surface pro 4,
The installation worked perfectly but when i tried to run npm start it throw an error “> DISPLAY=”${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js"
To bypass the error i edited the package.json by removing the DISPLAY="${DISPLAY:=:0} at the begining, tried npm start and it worked.
I’m not sure for what is that display option.