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.

    MMM-NOAAForecast install fails

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 2 Posters 168 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.
    • S Offline
      sdetweil @RonR
      last edited by sdetweil

      @RonR yes, this is a module problem… the module does not document that it NEEDS needle
      it has no package.json, which documents the dependencies…

      this highlights a gap in the MMM-Config installer…
      I have some code in the upgrade script that checks for KNOWN missing requires…
      I opened issue https://github.com/sdetweil/MMM-Config/issues/77

      to fix this on the current setup

      ssh to the docker host
      docker exec -it mm bash 
      cd modules/MMM-NOAAForecast
      npm install needle
      exit
      

      then restart the docker container

      cd ~/magicmirror/run
      docker compose up -d
      exit
      

      the module should be working now

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • R RonR has marked this topic as solved
      • R Offline
        RonR
        last edited by

        That did it. Had to do a “docker restart mm” also before the screen updated correctly. Thanks for your help.

        S 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @RonR
          last edited by

          @RonR docker compose up should force a restart, but you got it

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @RonR I have completed the fixes for this problem as a general solution… thanks for pointing it out.

            git pull in the module folder to get the fix
            (on docker you have to docker exec into the container first)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • R Offline
              RonR
              last edited by

              Yes, that fixed it . Thanks for the help.

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