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.

    v2.18.0 update gave black screen, then nothing.

    Scheduled Pinned Locked Moved Solved Troubleshooting
    73 Posts 4 Posters 30.9k 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 Offline
      sdetweil @Richard238
      last edited by

      @richard238 said in v2.18.0 update gave black screen, then nothing.:

      Error when getting information for file “/home/pi/MagicMirror/config/config.js”

      you need to copy from save

      cd ~/MagicMirror.save/config
      cp -p config.js ~/Magicmirror/config
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        Richard238 @sdetweil
        last edited by

        @sdetweil

        Good morning Sam.

        Tried that late yesterday, and yes, it works.
        And this morning, I copied

        custom.css
        

        from

        /home/pi/MagicMirror.save/css   
        

        to

        /home/pi/MagicMirror/css
        

        This too is working perfectly.

        Is there anything else to do, housekeeping maybe, or is that it now?

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

          @richard238 if everything is running ok then I think you are done, and can delete the
          MagicMirror.save folder

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            Richard238 @sdetweil
            last edited by

            @sdetweil

            Ok, I’ll do that then.

            Do we know what the cause of all this was, was it something to do with a mismatch in versions of node and npm?

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

              @richard238 no idea what caused it.

              there clearly was an error somewhere in the upgrade process, maybe reported and missed, or unreported.

              but can u send me the MagicMirror.save/installers/upgrade.log

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                Richard238 @sdetweil
                last edited by

                @sdetweil

                That’s a huge file, what’s the best way to send it?

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

                  @richard238 use zip to make it smaller

                  do

                  cd ~
                  zip logfile.zip ~/MagicMirror.save/installers/upgrade.log
                  # rename logfile.zip so it can be emailed
                  mv logfile.zip logfile.txt
                  

                  then use email to send logfile.txt to me.
                  same userid at gmail

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    Richard238 @sdetweil
                    last edited by

                    @sdetweil

                    bash: zip: command not found
                    
                    

                    Zipped it on Windows, renamed and emailed.

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

                      @richard238 thx…

                      looking back thru the topic, the

                      Module.createRequire is not a function is because of downlevel node.
                      the eslint library depends on node 14+ for that to work.
                      (from npm run config:check)

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @richard238 if you haven’t deleted yet, can u try something

                        because you did

                        pi@magicmirror:~/MagicMirror $ npm init -y
                        

                        in the mm folder, instead of the module folder, this overwrote the shipped package.json

                        so,

                        do

                        cd ~/MagicMirror.save
                        git checkout package.json
                        rm -rf node_modules
                        rm package.lock.json
                        npm install --only=prod
                        

                        then stop good mm if running and then do , in the MagicMirror.save folder

                        npm start

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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