Read the statement by Michael Teeuw here.
MMM-NOAAForecast install fails
-
I’ve tried several times to install MMM-NOAAForecast and it has failed every time. When I restart MM it shows “Loading” and that is all. I went back in the logs for this last try and found the following:
[2025-11-08 16:30:50.514] [LOG] Initializing new module helper ... [2025-11-08 16:30:50.514] [LOG] Module helper loaded: calendar [2025-11-08 16:30:50.514] [ERROR] Error when loading MMM-NOAAForecast: Cannot find module 'needle' Require stack: - /opt/magic_mirror/modules/MMM-NOAAForecast/node_helper.js - /opt/magic_mirror/js/app.js - /opt/magic_mirror/serveronly/index.js [2025-11-08 16:30:50.516] [LOG] Initializing new module helper ...I was using MMM-CONFIG installer to do the install. This is MM on Docker. Dell Inspiron running Ubuntu 24.02.
-
@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/77to fix this on the current setup
ssh to the docker host docker exec -it mm bash cd modules/MMM-NOAAForecast npm install needle exitthen restart the docker container
cd ~/magicmirror/run docker compose up -d exitthe module should be working now
-
R RonR has marked this topic as solved on
-
That did it. Had to do a “docker restart mm” also before the screen updated correctly. Thanks for your help.
-
@RonR docker compose up should force a restart, but you got it
-
@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) -
Yes, that fixed it . Thanks for the help.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login