Read the statement by Michael Teeuw here.
New to Magic Mirror and need Help
-
Im brand new to magic mirror and ive tried two different modules and cannot get either to work. Both of them lead to a black screen with nothing loading. I tried to follow another thread on here to no avail.
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘xml2js’
Require stack:- /home/johnnyprosniewski/MagicMirror/modules/MMM-PilotWX/node_helper.js
- /home/johnnyprosniewski/MagicMirror/js/app.js
- /home/johnnyprosniewski/MagicMirror/js/electron.js
- /home/johnnyprosniewski/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
[ERROR] Whoops! There was an uncaught exception…
[17.03.2023 20:57.38.797] [ERROR] Error: Cannot find module ‘xml2js’this is what it says farther down in the code.
I am under the thought process that I am doing everything right as I watched videos on how to install the modules but i could be doing it wrong for all i know. ive got a rasberri pi 4 running the 64bit version.
Any help would be appreciated.
MMM-aviationwx is the other i could not get to work -
@hawkeyepilot69 looks like u didn’t do the instructions
but this module is pretty old and and will fail because of a missing library, see here
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later/1
the second module fails for this same reason
-
@sdetweil
Where can I find the most up to date modules?
Can you explain what exactly I did wrong? Did I not npm install it into the directory? I went step by step and thats why I am confused where I went wrong.Thanks
-
@hawkeyepilot69 up to date? no such thing as up to date.
many modules. like these, haven’t been updated in years.
on the xml2js
this is listed in the dependencies in the package.json
so, you have to be IN the module folder to do the npm install.
the other missing library is NOT listed in the dependencies. so you have to do it yourself manually. or don’t use that module.
there are hundreds of modules. and they may fail for all kinds of reasons…
magic mirror puts out a new release every 90 days
-
@hawkeyepilot69 you can try:
https://github.com/imperian/MMM-TAF
This works nice on my frame at the moment.