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.

    MM Not Displaying after update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    20 Posts 2 Posters 3.1k 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 @Achilles
      last edited by

      @achilles I would go thru each module folder and check for package.json file

      if present do an npm install in each such module folder.

      I would use npm start in the MagicMirror folder (and ctrl-q on mm screen) til u get it all working, then use pm2 to start

      so pm2 stop all
      then do above, then pm2 start 0
      then reboot

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        Achilles @sdetweil
        last edited by

        @sdetweil Thank you…quick question, as I have followed your above steps…what if the module does not have the package.json file? Should I continue with those that do and then to the pm2 to start, or do I need to go back and do something with those modules that do not have the package.json file before I npm start?

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

          @achilles you can look in the modules without a package.json, to see if they have a node_helper.js, and if they have one, check for require(‘???’)

          where ??? is NOT node_helper

          if they have those types of require, then they are dependent on mm providing the library

          request and valid-url
          are two we know modules didn’t document.
          (because it just worked)

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            Achilles @sdetweil
            last edited by

            @sdetweil When I run npm start, I just get a black screen. Does this mean every one of my modules is wrong?

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

              @achilles no. look at the messages

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Achilles @sdetweil
                last edited by

                @sdetweil Okay, so when it says 'no helper found for the module, it is missing the node_helper,js, correct?

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

                  @achilles no. helper is option, so that is ok

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  A 2 Replies Last reply Reply Quote 0
                  • A Offline
                    Achilles @sdetweil
                    last edited by

                    @sdetweil Okay, I have cleaned up my config and I am now slowly adding back modules one by one and testing. I might not finish this tonight, but I still appreciate your help on all of this.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Achilles @sdetweil
                      last edited by

                      @sdetweil I went ahead and added all of my modules back one on one, and they are working. Whew. Now, when I go back out to the raspberrypi prompt in the terminal, and put in,

                      pm2 start MagicMirror, it says it is online, but it does not start. It says it is online, but it does not start.

                      When I npm start from that folder, however, everything is working.

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

                        @achilles I have seen a few systems that have trouble w pm2.

                        run the fixuppm2 script from my site (last in the list)
                        https://github.com/sdetweil/MagicMirror_scripts

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        A 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        • 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