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.

    Update from 2.15 to 2.16

    Scheduled Pinned Locked Moved Solved Troubleshooting
    35 Posts 5 Posters 10.5k Views 5 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.
    • A Offline
      andyyy @sdetweil
      last edited by

      @sdetweil

      I got electron installed again with specifying a version (sudo npm install electron@6.1.12). No idea, why electron disappeared in the first place.

      @Fozi

      The MMM-MyCalender has indeed an issue with 2.16. causing a black screen. And MMM-Fuel is saying “undefined” for an unknown reason. Both modules are disabled for now.

      My MM boots and shows the all other modules again.

      With each MM update something crashes, mostly one of the 3rd party modules because one or more dependencies are lost/changed or deleted.

      Thanks for your help. Great community!

      S 2 Replies Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @andyyy
        last edited by sdetweil

        @andyyy yeh, version 2.1.6 is on electron 11.4.9

        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 @andyyy
          last edited by

          @andyyy i see you have npm version 7 installed… causes quite a few problems…

          I would fall back to npm 6

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          A 2 Replies Last reply Reply Quote 0
          • A Offline
            andyyy @sdetweil
            last edited by

            @sdetweil

            How do I revert to npm v6?

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

              @andyyy sudo npm install -g npm@6.14.3

              you will then have to cleanup from 7

              cd ~/MagicMirror
              rm -rf node_modules
              npm install
              

              u may have to do the same in any module folder with a package.json file

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • A Offline
                andyyy @sdetweil
                last edited by

                @sdetweil

                made it with npm install -g npm@6.14.14.

                I still have issues with the default wheater module. The old “currentweather” module works but new default “weather” module just says “loading”.

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

                  @andyyy I would look in the window where u start mm

                  npm start or pm2

                  if pm2, the pm2 logs --lines=100

                  for any messages

                  loading is the default output til data arrives.
                  so it didn’t get the content from the api

                  is that forecast u are waiting for?
                  there is a timing issue, workaround with setting
                  (look it up for exact spelling)
                  initialLoadDelay:100

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    andyyy @sdetweil
                    last edited by

                    @sdetweil

                    I screwed up my MM entirely. pm2 crashed randomly for an unkown reason.

                    When did “npm intall” on all modules after the update to 2.16, mostly npm complaints about some vulnerabilites. So I did “npm audit fix” on all them all. Maybe some dependencies broke rather than being fixed.

                    Another thing; npm complaint that 2.16 is uncompatible with node 10.x and npm version. So upgraded both to the latest one.

                    Mostly like all that ruined my MM.

                    Thus, I loaded back last working backup and just did “npm install” on all modules. Npm is still complaints about the node version, but all module run except MMM-MyCalender which seems to be uncompatible with 2.16.

                    S 2 Replies Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @andyyy
                      last edited by sdetweil

                      @andyyy don’t run audit fix… ever… makes more of a mess than it fixes

                      what is the problem with MyCalendar?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      karsten13K 1 Reply Last reply Reply Quote 0
                      • karsten13K Online
                        karsten13 @sdetweil
                        last edited by

                        @sdetweil no package.json and requesting valid-url …

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