Read the statement by Michael Teeuw here.
Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
-
@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… -
-
hi i need some help here. when i ran npm start, im getting this message.
Starting MagicMirror: v2.23.0
[28.06.2023 13:36.52.647] [LOG] Loading config …
[28.06.2023 13:36.52.648] [DEBUG] config template file not exists, no envsubst
[28.06.2023 13:36.52.650] [LOG] Loading module helpers …
[28.06.2023 13:36.52.650] [LOG] No helper found for module: alert.
[28.06.2023 13:36.52.655] [LOG] Initializing new module helper …
[28.06.2023 13:36.52.655] [LOG] Module helper loaded: updatenotification
[28.06.2023 13:36.52.656] [LOG] No helper found for module: clock.
[28.06.2023 13:36.52.717] [LOG] Initializing new module helper …
[28.06.2023 13:36.52.717] [LOG] Module helper loaded: calendar
[28.06.2023 13:36.52.718] [LOG] No helper found for module: compliments.
[28.06.2023 13:36.52.718] [LOG] No helper found for module: weather.
[28.06.2023 13:36.52.732] [LOG] Initializing new module helper …
[28.06.2023 13:36.52.733] [LOG] Module helper loaded: newsfeed
[28.06.2023 13:36.52.733] [LOG] All module helpers loaded.
[28.06.2023 13:36.52.737] [LOG] Starting server on port 8080 …
[28.06.2023 13:36.52.779] [LOG] Launching application.
[28.06.2023 13:36.52.812] [LOG] Server started …
[28.06.2023 13:36.52.818] [LOG] Connecting socket for: updatenotification
[28.06.2023 13:36.52.818] [LOG] Starting module helper: updatenotification
[28.06.2023 13:36.52.818] [LOG] Connecting socket for: calendar
[28.06.2023 13:36.52.819] [LOG] Starting node helper for: calendar
[28.06.2023 13:36.52.819] [LOG] Connecting socket for: newsfeed
[28.06.2023 13:36.52.819] [LOG] Starting node helper for: newsfeed
[28.06.2023 13:36.52.820] [LOG] Sockets connected & modules started …am i supposed to do something next?
-
@1a2a3a there is a big in the release on windows
https://github.com/MichMich/MagicMirror/issues/3083
you can follow the instructions to checkout the develop branch, or wait til July 1 for the next release with the fix
-
@sdetweil but when i go to localhost 8080 via web browser it appears to show the screen. is that normal?
-
@1a2a3a yes, just the initial electron browser startup was broken
-
@sdetweil so i used your fix with the link that you provided and i can go into MM.
there is something i dont get though… The MM app itself is ‘electron’?
and my git cmd is ‘terminal’?
when i want to install module etc, i have to close the terminal and reopen and npm start again? is there a way to work continuously on the terminal without closing and opening?
right now im working on windows and subsequently i will shift to raspberry PI. how do i transit everything over to the PI? or do i have to resetup everything?
and if im working on the windows, can i ‘cast’ the MM to anywhere else other than a web browser?
-
@1a2a3a said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
there is something i dont get though… The MM app itself is ‘electron’?
yes… mm uses a browser to display
electron, chrome, edge, firefox, Midori,…and my git cmd is ‘terminal’?
when i want to install module etc, i have to close the terminal and reopen and npm start again? is there a way to work continuously on the terminal without closing and opening?
no, mm only loads modules on start. u can install all you want at once, but you have to restart to load them
yes, just stop MagicMirror, ctrl-c to stop the app and back to command line… work and npm start again
right now im working on windows and subsequently i will shift to raspberry Pi, how do i transit everything over to the PI? or do i have to resetup everything?
yes
install loads different binaries for mm. and for some modules.
I have scripts for Linux to Linux, but not for windows.
and if im working on the windows, can i ‘cast’ the MM to anywhere else other than a web browser?
if you can cast a application… been years since I used windows.
but you can open a browser from anywhere to mm