Read the statement by Michael Teeuw here.
moment js not found on windows
-
Wasn’t sure what to tag this as so will start with troubleshooting and adjust if necessary.
I recently cloned the repo to my windows machine so I can use it as a base for when I’m debugging things like enhancing current modules I like or trying my hand at making my own; but I’m having an issue getting it to load.
Every time I start the process and the electron app starts the screen is blank. when I open the console here I see that it can’t find the moment library in clock js.
Going down that rabbit hole I commented out the module and restarted the app, only to find the same error for a different module. I continued doing this until I was left with only modules that didn’t use moment.
I tried running
npm i -g moment
as well as installing moment in the magic mirror directory but this didn’t fix the issue.Has anyone else run into this? I couldn’t find anything on the repo or in this forum about it.
Any help at all would be appreciated.
-
@chaosencoded on windows u have extra steps
npm install in the vendors folder
and
npm install in the fonts folderthe stock install process doesn’t complete on windows
-
@sdetweil I can’t believe it was that easy. Thanks!