MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    UNSOLVED Blank mm after update

    Troubleshooting
    4
    48
    3774
    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
      sdetweil last edited by

      missing a required node package ‘del’

      no package.json to inform the user

      Sam

      Create a working config
      How to add modules

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

        warning, warning… copy and save

        MagicMirror/modules/node_modules/node_helper (folder, which contains index.js)

        then

        cd ~/MagicMirror/modules/mmm-weatherchart
        npm install del
        

        check for a missing
        MagicMirror/modules/node_modules/node_helper folder
        and if so, copy it back

        i opened an issue with mmm-weatherchart

        Sam

        Create a working config
        How to add modules

        K 1 Reply Last reply Reply Quote 0
        • evroom
          evroom last edited by

          @sdetweil said in Blank mm after update:

          seems odd that there would be two invocations of these modules…

          I have only one mmm-weatherchart module present.
          When disabled everything is fine.
          However, I forgot to remove the single quotes, as I just copy/pasted the config from the thread.
          Corrected it, but now I get even stronger things.

          0|mm  | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'del'
          

          I do not have any string with ‘del’ in my config 😟

          MagicMirror version: 2.20.0
          Raspberry Pi 3 Model B Plus Rev 1.3
          Raspbian GNU/Linux 10 (buster)

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

            @evroom see my prior most about the missing module

            Sam

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • evroom
              evroom last edited by

              @sdetweil said in Blank mm after update:

              see my prior most about the missing module

              I was typing while you answered.
              Will have a look at it and try it out.

              MagicMirror version: 2.20.0
              Raspberry Pi 3 Model B Plus Rev 1.3
              Raspbian GNU/Linux 10 (buster)

              1 Reply Last reply Reply Quote 0
              • evroom
                evroom last edited by

                The module is running now, but I get this error:

                0|mm  | Downloading weather map with signal: FETCH_MAP From URL: www.yr.no/place/Germany/Bavaria/Nuremberg/meteogram.png
                0|mm  | Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/mmm-weatherchart/cache/map-1567097174409.png'
                
                pi@raspberrypi:~/MagicMirror/modules/mmm-weatherchart $ ll /home/pi/MagicMirror/modules/mmm-weatherchart/cache
                total 12
                4 drwxr-xr-x 2 pi pi 4096 Aug 29 18:49 .
                4 drwxr-xr-x 4 pi pi 4096 Aug 29 18:44 ..
                4 -rw-r--r-- 1 pi pi    6 Aug 29 18:44 .gitignore
                

                Then I read somewhere there is a clone of this module that is more recent, so I tried that:

                https://github.com/szech/mmm-weatherchart
                

                Same result: module runs but no file in the cache dir.
                When opening the URL in the browser, it does show the picture that I do not see on my screen.

                Oh boy/girl, thought it was a simple syntax thingy in config.js …

                MagicMirror version: 2.20.0
                Raspberry Pi 3 Model B Plus Rev 1.3
                Raspbian GNU/Linux 10 (buster)

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

                  the module doesn’t work, but doesn’t kill MagicMirror anymore…

                  Sam

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • evroom
                    evroom last edited by

                    @sdetweil said in Blank mm after update:

                    the module doesn’t work, but doesn’t kill MagicMirror anymore…

                    Correct.

                    I have a few questions.

                    In the original module there is no package.json file, where in the cloned one there is.
                    So, when using the original module, you should NOT use npm install, right ?
                    First of all it will no do anything useful, but it WILL delete your /home/pi/MagicMirror/modules/node_modules/node_helperdirectory and its index.js file.
                    When using the cloned module, you should run npm installin order to install the dependencies mentioned in it, right ?
                    No harm is done to the node_helper dir.

                    Or is it all BS I am telling here (and made the wrong observations) ??

                    MagicMirror version: 2.20.0
                    Raspberry Pi 3 Model B Plus Rev 1.3
                    Raspbian GNU/Linux 10 (buster)

                    S 2 Replies Last reply Reply Quote 0
                    • S
                      sdetweil @evroom last edited by sdetweil

                      @evroom i cloned and got no package.json
                      i cloned this
                      https://github.com/paphko/mmm-weatherchart

                      Sam

                      Create a working config
                      How to add modules

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

                        @evroom yes, to all your observations…

                        Sam

                        Create a working config
                        How to add modules

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