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.

    Default Weather Module Stuck on loading.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    28 Posts 3 Posters 344 Views 4 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.
    • F Offline
      fnmuffinman @sdetweil
      last edited by

      @sdetweil alright so i ran those commands. when I got to

      ls nunjucks -laF

      It returned that directory did not exist, which i would imagine is part of my issue. I then continued with the rest of the commands, then I got this error.

      71aa8446-16f6-4377-93d0-0d2bd6645455-image.png

      For context, recently I saw notifications on my mirror stating some modules needed to be updated. I ran through the docs for updating those but it’s possible I messed that up and caused myself a bigger problem here.

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

        @fnmuffinman ah…

        Node 23 is bad , so we won’t install there

        So try either of these commands

        n —version
        nvm —version

        Do either exist?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        F 1 Reply Last reply Reply Quote 1
        • F Offline
          fnmuffinman @sdetweil
          last edited by

          @sdetweil it appears neither do

          5f165a38-a364-45d8-a9fd-b300a3427c23-image.png

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

            @fnmuffinman good, thx

            Do this

            sudo npm install -g n
            sudo n 22.21.1
            hash -r
            node -v
            

            Should show v 22.21.1
            If not stop and advise

            If ok
            Then do

            cd ~/MagicMirror 
            npm install
            

            Then start MagicMirror

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            F 1 Reply Last reply Reply Quote 0
            • F Offline
              fnmuffinman @sdetweil
              last edited by

              @sdetweil IT WORKS!! I cannot thank you enough for your time and patience with the help on this. I have learned alot from walking through this troubleshooting with you. Are you able to tell me what I may or may not have done wrong to cause it to stop working?

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

                @fnmuffinman great news!! Thanks for the feedback

                As for what happened

                You upgraded nodejs at some point
                And didn’t catch the npm install error message

                So you had the new code (git pull) but not the runtime libs it needed

                I recommend using my upgrade script in the future

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                F 1 Reply Last reply Reply Quote 0
                • F Offline
                  fnmuffinman @sdetweil
                  last edited by

                  @sdetweil gotcha! I would love to use a script instead of breaking things again lol where can i find your upgrade script and what does it all entail? does it upgrade Magic mirror and the modules or just MM itself?

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

                    @fnmuffinman the links are in the MagicMirror documentation
                    IMG_4783.png

                    It does only MagicMirror

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    F 1 Reply Last reply Reply Quote 0
                    • F Offline
                      fnmuffinman @sdetweil
                      last edited by

                      @sdetweil fantastic. Thanks again for all the help!!

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 3 / 3
                      • 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