Read the statement by Michael Teeuw here.
Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
-
@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
-
@sdetweil i did. Now i’ve upgraded to windows 8.1. still a black screen but a new error```
[0110/062053.181:ERROR:_trace_logging_minimal.win.cc<78>] provider resistration failure -
@dude31222 I don’t know. those are so far out of service…
-
Heyo!
I’ve done a fresh install of MM2 (on Win10), and now I’m struggling with the blank electron screen.I did the vendor and font install, changed the package.json to
"start":"node_modules/.bin/electron js/electron.js",
according to the guide on page 15, and now I’m getting
bash: line 1: node_modules.binelectron: command not found
on npm start, doesn’t start up MM.
-
@Reila you did not do the package.json edit correctly.
windows uses slashes leaning left
and u need 2 in each place
node-modules\\.bin\\electron js\\electron.js
-
@sdetweil
Oh, I just copied as it was! It might have been a different guide, it was old after all… I see the backward slashes in a later post now.So now I tried
"start": "node_modules\\.bin\\electron js\\electron.js",
(with both the double and single space, just in case) and it’s giving me the same error still.
I tested changing the start-dev variant too.
I must be missing another step still. -
@Reila I am away from my system at the moment be back in an hour or so.
what does npm -v say?
-
@sdetweil No problem! Browser version works fine for tinkering in the meantime :)
npm is 8.17.0
-
@Reila hm… this is what mine is set to
"start": "node_modules\\.bin\\electron js\\electron.js",
and I don’t get any errors, but electron starts full screen, black screen
but if I open edge and go to localhost:8080 it looks great and if I open electron
(the 1st part, node_modules\.bin\electron) and go to http://localhost:8080
it works… -