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

Update from 2.15 to 2.16

Scheduled Pinned Locked Moved Solved Troubleshooting
35 Posts 5 Posters 8.1k 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 Aug 2, 2021, 2:48 PM

    @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 Aug 2, 2021, 8:36 PM Reply Quote 0
    • S Away
      sdetweil @andyyy
      last edited by sdetweil Aug 2, 2021, 8:37 PM Aug 2, 2021, 8:36 PM

      @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 Away
        sdetweil @andyyy
        last edited by Aug 3, 2021, 2:00 PM

        @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 Aug 3, 2021, 2:59 PM Reply Quote 0
        • A Offline
          andyyy @sdetweil
          last edited by Aug 3, 2021, 2:59 PM

          @sdetweil

          How do I revert to npm v6?

          S 1 Reply Last reply Aug 3, 2021, 3:41 PM Reply Quote 0
          • S Away
            sdetweil @andyyy
            last edited by sdetweil Aug 3, 2021, 3:43 PM Aug 3, 2021, 3:41 PM

            @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 Aug 3, 2021, 3:42 PM

              @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 Aug 3, 2021, 3:47 PM Reply Quote 0
              • S Away
                sdetweil @andyyy
                last edited by Aug 3, 2021, 3:47 PM

                @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 Aug 3, 2021, 6:54 PM Reply Quote 0
                • A Offline
                  andyyy @sdetweil
                  last edited by Aug 3, 2021, 6:54 PM

                  @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 Aug 3, 2021, 6:56 PM Reply Quote 0
                  • S Away
                    sdetweil @andyyy
                    last edited by sdetweil Aug 3, 2021, 6:56 PM Aug 3, 2021, 6:56 PM

                    @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

                    K 1 Reply Last reply Aug 3, 2021, 7:03 PM Reply Quote 0
                    • K Offline
                      karsten13 @sdetweil
                      last edited by Aug 3, 2021, 7:03 PM

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

                      S 1 Reply Last reply Aug 3, 2021, 7:17 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      3 / 4
                      • First post
                        26/35
                        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