• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Problems running certain modules

Scheduled Pinned Locked Moved Unsolved Troubleshooting
8 Posts 3 Posters 756 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.
  • M Offline
    marchvet @sdetweil
    last edited by Oct 27, 2022, 7:22 PM

    @sdetweil

    I have checked those links and verified that what I am doing looks correct, but even if I do the following code:

     {
                            module: 'internet-monitor',
                            position: 'top_center',
                            header: 'Internet Monitor',
                    },
    
    I save the config file and MM restarts with a black screen.  I have read that it usually indicates that the dependencies need updated, but I have followed the directions to update etc.
    
    Still confused as to why its not working correctly. 
    
    S 1 Reply Last reply Oct 27, 2022, 9:37 PM Reply Quote 0
    • S Offline
      sdetweil @marchvet
      last edited by Oct 27, 2022, 9:37 PM

      @marchvet black screen
      see
      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

      many modules no longer maintained

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Oct 27, 2022, 10:59 PM Reply Quote 0
      • M Offline
        marchvet @sdetweil
        last edited by Oct 27, 2022, 10:59 PM

        @sdetweil I did that several times earlier. Also deleted the folder for the module and reinstalled several times.

        I either get the black screen or error screen.

        Im obviously doing something wrong but after 2 days of working with 1 module, its been deleted and I am moving on.

        S 2 Replies Last reply Oct 28, 2022, 12:20 AM Reply Quote 0
        • S Offline
          sdetweil @marchvet
          last edited by Oct 28, 2022, 12:20 AM

          @marchvet show the messages at startup
          either from npm start or if using pm2, then

          pm2 logs --lines=50
          

          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 @marchvet
            last edited by sdetweil Oct 28, 2022, 2:12 AM Oct 28, 2022, 12:24 AM

            @marchvet black screen means a missing library

            so u have to read the messages to find out what is missing. and then install it in the module folder

            there are lots of modules that will be impacted.

            and more than 1 missing library

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • B Offline
              BKeyport Module Developer @marchvet
              last edited by Oct 28, 2022, 7:31 PM

              @marchvet One of the easiest things to screw up within the config.js is the lack of commas. If you cut and paste a lot of the modules config.js suggested entries, they omit the last comma.

              For example;

              {
                     module: 'MMM-Multimonth',
                     position: 'top_left' // can be any of the postions
              },
              

              See that comma at the end?

              If you omit that, you’ll get the error screen if it’s not the last module in the list.

              Even though it’s not “normal” - I put a comma even if it’s the last on every item. This eliminates that error.

              As for the blank screens, the likely (but not always) module that’s missing is request. There’s documentation on how to install that elsewhere in the forum

              The "E" in "Javascript" stands for "Easy"

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                7/8
                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