Read the statement by Michael Teeuw here.
Auto Start on Windows 11
-
Does anyone know how to get Magic Mirror to auto-start on a Windows 11 based system?
-
@DanClarkCBET3 pm2 exists for windows.
or

-
@DanClarkCBET3 have to create a batch script to do the
npm run start:windows -
@sdetweil what code did you use? I tried this (with and without pause at the end)
cd MagicMirror npm run start:windowsI got the following error

This would show up for a second before disappearing. Any idea what I missed?
-
@Krowyn what MagicMirror version are you running? we’ve had these start options now for 2 releases
"start:windows": ".\\node_modules\\.bin\\electron js\\electron.js", "start:windows:dev": "npm run start:windows -- dev",look at package.json version
-
@sdetweil I can confirm I have both, it’s how I used to start it, but when running the .bat file i keep getting that message. Any clue what may have caused it?
-
@Krowyn only thing i can think is the cd MagicMirror failed because the current directory is not correct
where is this bat file located?
maybe it should be
cd %USERPROFILE%\MagicMirror npm run start:windows
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login