• 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.

Blank mm after update

Scheduled Pinned Locked Moved Unsolved Troubleshooting
48 Posts 4 Posters 17.4k 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.
  • S Do not disturb
    sdetweil
    last edited by Aug 29, 2019, 4:59 PM

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

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • E Offline
      evroom
      last edited by Aug 29, 2019, 5:13 PM

      @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.30.0
      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      Test environment:
      MagicMirror version: v2.30.0
      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      S 2 Replies Last reply Aug 29, 2019, 5:14 PM Reply Quote 0
      • S Do not disturb
        sdetweil @evroom
        last edited by sdetweil Aug 29, 2019, 5:17 PM Aug 29, 2019, 5:14 PM

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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @evroom
          last edited by Aug 29, 2019, 5:14 PM

          @evroom yes, to all your observations…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • E Offline
            evroom
            last edited by Aug 29, 2019, 5:35 PM

            When I use
            $ git clone https://github.com/szech/mmm-weatherchart.git
            then it works.
            The README.md from szech point to papkto.
            When corrected and doing npm install in the mmm-weatherchart directory, it works

            MagicMirror version: 2.30.0
            Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
            Raspbian GNU/Linux 12 (bookworm)

            Test environment:
            MagicMirror version: v2.30.0
            Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
            Raspbian GNU/Linux 12 (bookworm)

            S 1 Reply Last reply Aug 29, 2019, 5:44 PM Reply Quote 0
            • S Do not disturb
              sdetweil @evroom
              last edited by Aug 29, 2019, 5:44 PM

              @evroom yes, that module has it…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • K Offline
                kvicksson @sdetweil
                last edited by Aug 29, 2019, 6:14 PM

                @sdetweil Thanks! This worked for me as it doesn’t kill it anymore. Hope for a quick fix. Can I follow the process somewhere?

                S E 3 Replies Last reply Aug 29, 2019, 6:22 PM Reply Quote 0
                • E Offline
                  evroom
                  last edited by Aug 29, 2019, 6:22 PM

                  Hi @kvicksson ,

                  To me it seems there are 3 problems here.
                  You could have a look what the pm2 log says:

                  $ pm2 logs --lines 100
                  

                  You will either have:

                  Error: Cannot find module 'del'
                  

                  or:

                  Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/mmm-weatherchart/cache/map-1567097174409.
                  

                  or something completely different.

                  The 3 problems and potential solutions:

                  You’re config.js entries:

                  updateInterval: '3600000',
                  hideBorder: 'true'
                  

                  should be:

                  updateInterval: 3600000,
                  hideBorder: true
                  

                  even if the module could potentially handle it.

                  If your mmm-weatherchart instal has this file present:

                  /home/pi/MagicMirror/modules/mmm-weatherchart/package.json
                  

                  then you should run:

                  $ cd /home/pi/MagicMirror/modules/mmm-weatherchart/
                  $ npm install
                  

                  If your mmm-weatherchart instal has this file NOT present:

                  /home/pi/MagicMirror/modules/mmm-weatherchart/package.json
                  

                  then you should NOT run npm instal, has it will cause havoc to you MagicMirror install.
                  I would do this in this situation:

                  $ cd /home/pi/MagicMirror/modules/
                  $ mv mmm-weatherchart mmm-weatherchart.saved
                  $ git clone https://github.com/szech/mmm-weatherchart.git
                  $ cd /home/pi/MagicMirror/modules/mmm-weatherchart
                  $ npm install
                  
                  $ pm2 restart pm2
                  $ pm2 logs --lines 100
                  

                  When it works:

                  $ cd /home/pi/MagicMirror/modules/
                  $ rm -rf mmm-weatherchart.saved
                  

                  Good luck !!

                  PS @sdetweil : please comment if I am wrong or made mistakes somewhere & thanks for your input.

                  MagicMirror version: 2.30.0
                  Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  Test environment:
                  MagicMirror version: v2.30.0
                  Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  S K 2 Replies Last reply Aug 29, 2019, 6:24 PM Reply Quote 0
                  • S Do not disturb
                    sdetweil @kvicksson
                    last edited by Aug 29, 2019, 6:22 PM

                    @kvicksson said in Blank mm after update:

                    Can I follow the process somewhere?

                    this is all volunteer… you could post an issue to the module owners github repo… maybe he or someone else will respond… I am like you, just another user…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      evroom @kvicksson
                      last edited by Aug 29, 2019, 6:24 PM

                      @kvicksson said in Blank mm after update:

                      @sdetweil Thanks! This worked for me

                      I should type faster :-)

                      MagicMirror version: 2.30.0
                      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                      Raspbian GNU/Linux 12 (bookworm)

                      Test environment:
                      MagicMirror version: v2.30.0
                      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                      Raspbian GNU/Linux 12 (bookworm)

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