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.

    Lost modules. Not showing after reinstall

    Scheduled Pinned Locked Moved Solved Troubleshooting
    16 Posts 4 Posters 5.8k Views 4 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.
    • N6NGN Offline
      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 Do not disturb
        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

        How to add modules

        learning how to use browser developers window for css changes

        N6NGN 1 Reply Last reply Reply Quote 0
        • N6NGN Offline
          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 Do not disturb
            sdetweil @N6NG
            last edited by sdetweil

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

            see the links in my signature below…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            N6NGN 1 Reply Last reply Reply Quote 0
            • N6NGN Offline
              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

              mumblebajM 1 Reply Last reply Reply Quote 0
              • mumblebajM Offline
                mumblebaj Module Developer @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.

                Check out my modules at: https://github.com/mumblebaj?tab=repositories
                Check my blog-post: https://mumblebaj.xyz/
                Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  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

                  How to add modules

                  learning how to use browser developers window for css changes

                  mumblebajM 1 Reply Last reply Reply Quote 0
                  • mumblebajM Offline
                    mumblebaj Module Developer @sdetweil
                    last edited by

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

                    Check out my modules at: https://github.com/mumblebaj?tab=repositories
                    Check my blog-post: https://mumblebaj.xyz/
                    Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

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

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

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      N6NGN 1 Reply Last reply Reply Quote 1
                      • N6NGN Offline
                        N6NG @sdetweil
                        last edited by

                        @sdetweil I did a git checkout package.json and this is what I got:
                        pi@raspberrypi:~/MagicMirror/modules/MMM-RAIN-RADAR $ git checkout package.json
                        error: pathspec ‘package.json’ did not match any file(s) known to git
                        pi@raspberrypi:~/MagicMirror/modules/MMM-RAIN-RADAR $ ls package.json
                        package.json
                        pi@raspberrypi:~/MagicMirror/modules/MMM-RAIN-RADAR $
                        I started by doing an ls package.js in the MMM-RAIN-RADAR module and it listed it there. Then I did the checkout… What does that mean?

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

                          @N6NG this module does not have a package.json

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

                            @sdetweil When I do a “ls package.json” is lists one in that module but I guess it could have come from somewhere else… I’ll delete the module and start again from scratch.
                            Thanks

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

                              @N6NG Well here is the story. I erased that module and started from scratch and put it back in. But it still didn’t show up on the MM. Here is what I found. In repositioning the individual screen locations they ended up overlaying other modules on the screen and rather than overlaying the visual of the other module it just didn’t show. When I went back and shrunk the size of the modules on the screen (going from ie: 400px by 400px to 200 px by 200 px it showed up again. I did this with other of the modules and they showed up again also. I haven’t finished all of them yet but I think it’s going to fix them all. I think that should solve all my invisible module problems.
                              Dennis N6NG

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

                                @N6NG said in Lost modules. Not showing after reinstall:

                                In repositioning the individual screen locations

                                does that mean you changed the region layouts in css?

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

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

                                  @sdetweil Some of them yes… and some I just changed the config size options:
                                  dennis

                                  1 Reply Last reply Reply Quote 0

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • 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