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.

    Black screen after update - reason layer 8!

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 831 Views 2 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.
    • K Offline
      Klinge
      last edited by Klinge

      Hello,
      since today my MM got a black screen.
      When I start with " npm start dev" I got the following error

      [2021-04-02 14:27:32.741] [LOG]    Initializing new module helper ...
      [2021-04-02 14:27:32.745] [LOG]    Module helper loaded: MMM-DarkSkyForecast
      [2021-04-02 14:27:33.532] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'digest-fetch'
      Require stack:
      - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js
      - /home/pi/MagicMirror/modules/default/calendar/node_helper.js
      - /home/pi/MagicMirror/js/app.js
      - /home/pi/MagicMirror/js/electron.js
      - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      -
      [2021-04-02 14:27:33.535] [LOG]    Loading module helpers ...
      

      In the update notes I can see the following

      Replaced deprecated request package with node-fetch and digest-fetch.
      Refactored calendar fetcher.

      “npm rebuild” in the calendar module doesn´t help.

      It would be wonderful if someone could help me.

      Thank you in advance.
      Lars

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

        @klinge after git pull, did u do npm install to update ?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          Klinge @sdetweil
          last edited by

          @sdetweil That´s it. Thank you for your quick help.

          The worst part is that I had the same problem before and did it wrong again.

          The problem is that I run a cronjob at night where the update is triggered automatically via git “pull && npm install”. And you had already mentioned with my last problem that this is stinky.

          Maybe you have another tip for me on how to best set up an automated update.

          Thanks a lot.

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

            @klinge automated is trouble… and recommended is trouble

            thats why I wrote my script
            https://github.com/sdetweil/MagicMirror_scripts#update-to-next-magicmirror-version-from-an-existing-magicmirror-installation

            but it is manual

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              Klinge @sdetweil
              last edited by

              @sdetweil But unfortunately I´m a lazy dog. There is nothing automated?

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

                @klinge nothing I am aware of… not reliable, u change 1 file and the pull will fail

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  Klinge @sdetweil
                  last edited by

                  @sdetweil ok, I understand. Then I have to update it manualy in future. Thanks again for your help.

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