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.

    New to Magic Mirror and need Help

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 3 Posters 766 Views 3 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.
    • H Offline
      hawkeyepilot69
      last edited by

      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

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

        @hawkeyepilot69 looks like u didn’t do the instructions

        Screenshot_20230317_190837_Chrome.jpg

        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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          hawkeyepilot69 @sdetweil
          last edited by

          @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

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

            @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

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              MajorC Project Sponsor @hawkeyepilot69
              last edited by

              @hawkeyepilot69 you can try:

              https://github.com/imperian/MMM-TAF

              This works nice on my frame at the moment.

              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 Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy