Read the statement by Michael Teeuw here.
Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
-
-
-
@Mykle1 First off, thanks so much for a great guide. I’m having what is likely a simple issue, but I can’t figure out how to resolve it. I am getting the following error message with the npm start command. Not concerned about the warnings, but how do resolve the DISPLAY issue?
$ npm start npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead. > magicmirror@2.20.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 'DISPLAY' is not recognized as an internal or external command, operable program or batch file. cliff@BNC-LAB01 MINGW64 ~/MagicMirror (master) $
-
@Cliff365 see the end of the post I just linked to in the prior post
also, do not run under mingw… just cmd.exe
-
@Mykle1 Thanks for your help on the DISPLAY issue. I changed the line in packages.json file to:
“start”: “node_modules/.bin/electron js/electron.js”,
I get the following error message back:
> magicmirror@2.20.0 start > node_modules/.bin/electron js/electron.js 'node_modules' is not recognized as an internal or external command, operable program or batch file.
-
@Cliff365 you didn’t follow all of the last line of
https://forum.magicmirror.builders/topic/4089/complete-walkthrough-install-magicmirror-on-a-pc-windows-7-10/225?_=1660158299123ps, I’m not @Mykle1
-
@sdetweil Oops! Thanks sdetweil
-
Hey! @sdetweil i’ve spend more than 10 hours whit this because i didn’t read the entire thread. I’ve finally installed mm2 on a 32bit laptop whit w7 and node v16.6 but when i run npm start i just got a black screen. any ideas on how to find a solution? my cmd here:
[08.01.2023 06:58.14.001] [LOG] Starting MagicMirror: v2.22.0 [08.01.2023 06:58.14.151] [LOG] Loading config ... [08.01.2023 06:58.14.201] [LOG] Loading module helpers ... [08.01.2023 06:58.14.231] [LOG] No helper found for module: alert. [08.01.2023 06:58.14.361] [LOG] Initializing new module helper ... [08.01.2023 06:58.14.371] [LOG] Module helper loaded: updatenotification [08.01.2023 06:58.14.395] [LOG] No helper found for module: clock. [08.01.2023 06:58.17.473] [LOG] Initializing new module helper ... [08.01.2023 06:58.17.477] [LOG] Module helper loaded: calendar [08.01.2023 06:58.17.497] [LOG] No helper found for module: compliments. [08.01.2023 06:58.17.497] [LOG] No helper found for module: weather. [08.01.2023 06:58.17.839] [LOG] Initializing new module helper ... [08.01.2023 06:58.17.839] [LOG] Module helper loaded: newsfeed [08.01.2023 06:58.17.849] [LOG] No helper found for module: facts. [08.01.2023 06:58.17.849] [LOG] All module helpers loaded. [08.01.2023 06:58.19.559] [LOG] Starting server on port 8080 ... [08.01.2023 06:58.23.451] [LOG] Launching application. [08.01.2023 06:58.29.838] [LOG] Server started ... [08.01.2023 06:58.29.848] [LOG] Connecting socket for: updatenotification [08.01.2023 06:58.29.848] [LOG] Starting module helper: updatenotification [08.01.2023 06:58.29.848] [LOG] Connecting socket for: calendar [08.01.2023 06:58.29.848] [LOG] Starting node helper for: calendar [08.01.2023 06:58.29.858] [LOG] Connecting socket for: newsfeed [08.01.2023 06:58.29.858] [LOG] Starting node helper for: newsfeed [08.01.2023 06:58.29.858] [LOG] Sockets connected & modules started ... [3460:0108/070022.937:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL i s disabled, ANGLE is
-
@dude31222 never tried win7 myself… this topic was created a while ago…
you can TRY setting an environment variable in the cmd.exe window before executing npm start
cd MagicMirror set ELECTRON_DISABLE_GPU=1 npm start
-
@sdetweil still having an empty screen but no more error messages in cmd
-
@dude31222 that usually means u didn’t do the fonts install step or vendor install step
those are extra for windows install