MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Lost modules. Not showing after reinstall

    Troubleshooting
    4
    16
    142
    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.
    • N
      N6NG last edited by

      I had my MM working well… But all of a sudden when I modify one of the modules when I restart MM the module doesn’t show. I’ve had this happen with 6 of the 7 modules I had installed. Those I had installed were:
      Clock
      Calendar
      MMM-Remote-Control
      MMM-Weather
      MMM -WeatherForcast
      MMM-NewFeedTicker
      MMM-RAIN-RADAR
      MMM-Remote-Control

      The only one that returned after reinstalling was the MMM-WallPaper. I of course have rebooted and power off and on several times to no avail. All were working fine until I started modifying the position because they were cramped the way they were. I’m to the point where I am thinking I need to format the chip and start from scratch. But if I do that, I can’t help but think it will happen again.
      Anyone have an idea on what to try?
      Thanks
      Dennis

      N 1 Reply Last reply Reply Quote 0
      • N
        N6NG @N6NG last edited by

        @N6NG Just saw Sams reply to “@np27np27 want to see installers/upgrade.log” and will try that to see if it helps. I’ll report back .

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

          @N6NG you reinstalled??

          most of those modules are missing a dependent library

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

          upgrade handles this for you. install does not, as the modules aren’t there yet

          Sam

          Create a working config
          How to add modules

          N 1 Reply Last reply Reply Quote 0
          • N
            N6NG @sdetweil last edited by

            @sdetweil Well I did ok until I started installing the MMM-RAIN-RADAR module again. Then I got this error message.

            Dennis Jacobson n6ngdennis@gmail.com

            4:07 PM (2 minutes ago)

            to Dennis

            pi@raspberrypi:~/MagicMirror/modules/MMM-RAIN-RADAR $ npm install MMM-RAIN-RADAR
            npm ERR! code E404
            npm ERR! 404 Not Found - GET https://registry.npmjs.org/MMM-RAIN-RADAR - Not found
            npm ERR! 404
            npm ERR! 404 ‘MMM-RAIN-RADAR@*’ is not in this registry.
            npm ERR! 404 This package name is not valid, because
            npm ERR! 404 1. name can no longer contain capital letters
            npm ERR! 404
            npm ERR! 404 Note that you can also install from a
            npm ERR! 404 tarball, folder, http url, or git url.

            npm ERR! A complete log of this run can be found in:
            npm ERR! /home/pi/.npm/_logs/2022-05-08T22_59_38_815Z-debug-0.log
            pi@raspberrypi:~/MagicMirror/modules/MMM-RAIN-RADAR $ cd MMM-RAIN-RADAR

            Dennis N6NG

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

              @N6NG that’s all wrong. you just npm install

              see the links in my signature below…

              Sam

              Create a working config
              How to add modules

              N 1 Reply Last reply Reply Quote 0
              • N
                N6NG @sdetweil last edited by

                @sdetweil followed the links and finally the npm install:

                pi@raspberrypi:~/MagicMirror/modules/MMM-RAIN-RADAR $ npm install

                up to date, audited 1 package in 2s

                found 0 vulnerabilities


                to Dennis

                pi@raspberrypi:~/MagicMirror/modules/MMM-RAIN-RADAR $ npm install MMM-RAIN-RADAR
                npm ERR! code E404
                npm ERR! 404 Not Found - GET https://registry.npmjs.org/MMM-RAIN-RADAR - Not found
                npm ERR! 404
                npm ERR! 404 ‘MMM-RAIN-RADAR@*’ is not in this registry.
                npm ERR! 404 This package name is not valid, because
                npm ERR! 404 1. name can no longer contain capital letters
                npm ERR! 404
                npm ERR! 404 Note that you can also install from a
                npm ERR! 404 tarball, folder, http url, or git url.

                npm ERR! A complete log of this run can be found in:
                npm ERR! /home/pi/.npm/_logs/2022-05-08T22_59_38_815Z-debug-0.log
                pi@raspberrypi:~/MagicMirror/modules/MMM-RAIN-RADAR $ cd MMM-RAIN-RADAR

                mumblebaj 1 Reply Last reply Reply Quote 0
                • mumblebaj
                  mumblebaj Project Sponsor @N6NG last edited by

                  @N6NG Looks like you are doing an npm install MMM-RAIN-RADAR. This is not an npmjs module. In the ~/MagicMirror/modules folder you have to do a git clone https://github.com/jojoduquartier/MMM-RAIN-RADAR.git. From the github page doesn’t look like there are any dependencies to install afterward. Then just add module to you config.js and you should be good to go with it.

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

                    @mumblebaj he had the git clone, just added the module name to the npm install for some reason…

                    he seems to have fixed that…

                    Sam

                    Create a working config
                    How to add modules

                    mumblebaj 1 Reply Last reply Reply Quote 0
                    • mumblebaj
                      mumblebaj Project Sponsor @sdetweil last edited by

                      @sdetweil Ah ok. Module does not have any dependencies to install hence i thought he did it wrong way round.

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

                        @mumblebaj no package.json, so nothing to do and nothing gets done

                        Sam

                        Create a working config
                        How to add modules

                        N 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy