Read the statement by Michael Teeuw here.
Need some help installing on Win10
-
@sdetweil Sam, I made those corrections and edited the config.js. I commented out all of the modules except the clock. (My intent is to only have one module, not yet installed, running.)
When I did an npm start with only the sample config.js present, I got a black screen. I could press “alt” to get to the “File” menu and close MM.
When I ran MM from Git BASH, I got another black screen, except this time “alt” did not do anything. “alt” and “esc” would minimize MM, but that’s it. Here’s what GIT BASH displays when I ran npm start with my edited config.js:
$ npm start npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead. > magicmirror@2.20.0 start > node_modules\.bin\electron js\electron.js [09.08.2022 20:50.32.077] [LOG] Starting MagicMirror: v2.20.0 [09.08.2022 20:50.32.082] [LOG] Loading config ... [09.08.2022 20:50.32.091] [LOG] Loading module helpers ... [09.08.2022 20:50.32.092] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: TypeError: Cannot read properties of undefined (reading 'split') [09.08.2022 20:50.32.093] [LOG] Loading module helpers ... [09.08.2022 20:50.32.094] [ERROR] App threw an error during load [09.08.2022 20:50.32.095] [ERROR] TypeError: Cannot read properties of undefined (reading 'split') at loadModule (C:\Users\Hannah\magicmirror\js\app.js:108:27) at loadNextModule (C:\Users\Hannah\magicmirror\js\app.js:165:5) at loadModules (C:\Users\Hannah\magicmirror\js\app.js:176:3) at C:\Users\Hannah\magicmirror\js\app.js:225:4 at loadConfig (C:\Users\Hannah\magicmirror\js\app.js:81:4) at App.start (C:\Users\Hannah\magicmirror\js\app.js:212:3) at Object.<anonymous> (C:\Users\Hannah\magicmirror\js\electron.js:159:7) at Module._compile (node:internal/modules/cjs/loader:1118:14) at Module._extensions..js (node:internal/modules/cjs/loader:1173:10) at Module.load (node:internal/modules/cjs/loader:988:32) [09.08.2022 20:50.32.097] [ERROR] Whoops! There was an uncaught exception... [09.08.2022 20:50.32.101] [ERROR] TypeError: Cannot read properties of undefined (reading 'split') at loadModule (C:\Users\Hannah\magicmirror\js\app.js:108:27) at loadNextModule (C:\Users\Hannah\magicmirror\js\app.js:165:5) at loadModules (C:\Users\Hannah\magicmirror\js\app.js:176:3) at C:\Users\Hannah\magicmirror\js\app.js:225:4 at loadConfig (C:\Users\Hannah\magicmirror\js\app.js:81:4) at App.start (C:\Users\Hannah\magicmirror\js\app.js:212:3) at Object.<anonymous> (C:\Users\Hannah\magicmirror\js\electron.js:159:7) at Module._compile (node:internal/modules/cjs/loader:1118:14) at Module._extensions..js (node:internal/modules/cjs/loader:1173:10) at Module.load (node:internal/modules/cjs/loader:988:32) [09.08.2022 20:50.32.103] [ERROR] MagicMirror┬▓ will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [09.08.2022 20:50.32.104] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [09.08.2022 20:50.32.201] [LOG] Launching application. [11036:0809/205232.493:ERROR:gpu_init.cc(481)] Passthrough is not supported, GL is disabled, ANGLE is
-
@CheapDad usually this is a bad position string
-
@sdetweil said in Need some help installing on Win10:
@CheapDad usually this is a bad position string
Sam, my apologies but I have no idea what this means. A google search didn’t reveal anything that appeared to be on point either.
-
{ module: ",,,,,,", position: "xxx_yyy", <----- that thing (the 'position' string
or mis-spelling ‘position’
-
@sdetweil Thank you! Two other questions:
-
I assume that since this latest black screen occurred after I used my edited config.js, that’s where I need to look for the error. Correct?
-
Once that correction is made, should I then see the MM running in a window? I ask because I had received a black screen previously using the sample config.js
-
-
@CheapDad you did the two extra steps to install in fonts and vendor , right?
the sample config should work unchanged
it should be the same as on linux… full screen… -
@sdetweil I didn’t do the extra steps. I was hoping to get the confirmation that I needed a working config.js that the walkthrough speaks about. I’ll run those extra steps.
-