MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    moment js not found on windows

    Scheduled Pinned Locked Moved Solved Troubleshooting
    3 Posts 2 Posters 390 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      ChaosEncoded
      last edited by

      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.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @ChaosEncoded
        last edited by

        @chaosencoded on windows u have extra steps

        npm install in the vendors folder
        and
        npm install in the fonts folder

        the stock install process doesn’t complete on windows

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        C 1 Reply Last reply Reply Quote 1
        • C Offline
          ChaosEncoded @sdetweil
          last edited by

          @sdetweil I can’t believe it was that easy. Thanks!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy