MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED moment js not found on windows

    Troubleshooting
    2
    3
    114
    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
      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
        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

        Create a working config
        How to add modules

        C 1 Reply Last reply Reply Quote 1
        • S
          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

          Create a working config
          How to add modules

          C 1 Reply Last reply Reply Quote 1
          • C
            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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy