Read the statement by Michael Teeuw here.
Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
-
I’ve started this installation process from 3 years ago on an old Acer laptop running Windows 10. It’s installing MM2 right now. Just wondering…have the walkthrough steps/commands changed in the intervening 3 years in any way that I need to know? I scanned the 85 posts and didn’t see any, but I could have missed it/them. Thanks! And, I’m really glad this topic is still alive!
-
@aab142 u need to change the startstring to
"start":"node_modules/.bin/electron js/electron.js"
-
@sdetweil Perfect timing…thanks! I was trying “npm start” and “npm serveronly” with no luck. I’ll give it a go.
-
Just for clarity, I enter (without starting/ending quotes), npm “start”:“node_modules/.bin/electron js/electron.js”???
-
@dwburger you have to change the “start”: line in package.json to the text I provided
-
OK…I’ll work on that.
-
@dwburger then npm start will work…
npm ???, executes the script next to ??? in package.json
-
@sdetweil Yep, it works…thanks!
-
Sam, is there something that I need to change in the original post that is causing problems?
-
@Mykle1 May I butt in here. I was the one who started the question. I had to change the “start:” string in the package.json file to:
“start”:“node_modules/.bin/electron js/electron.js”
As Sam instructed. Once I did that, the “npm start” command got my MM2 running.
Thanks, BTW, for creating the walkthrough. I’m thrilled to have MM2 running on my old Acer laptop!