• 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 9.7k 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 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 Offline
      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 Offline
          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
            • S Offline
              sdetweil @karsten13
              last edited by Aug 3, 2021, 7:17 PM

              @karsten13 fun times!

              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 @andyyy
                last edited by Aug 3, 2021, 7:19 PM

                @andyyy valid-url was removed in 2.16 as the library it uses was also removed…
                but you can add it back for this module

                cd ~/MagicMirror/modules/MMM-MyCalendar
                npm init 
                

                hit enter thru the prompts

                npm install valid-url --save
                

                the author should fix the module, but many authors are no longer maintaining their modules

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                A 1 Reply Last reply Aug 4, 2021, 12:59 PM Reply Quote 0
                • A Offline
                  andyyy @sdetweil
                  last edited by andyyy Aug 4, 2021, 1:03 PM Aug 4, 2021, 12:59 PM

                  @sdetweil

                  Thx, after fixing this the next lib is missing. I just give up using that module.

                  I have a vision for the future MM development. All modules should run in a separate container/sandbox or capasulated/isolated somehow. So when they fail for whatever reason, the MM stays alive and reporting a specific error message.

                  Don’t get me wrong I highly appreciate the work/effort of michmich and his team.

                  S 1 Reply Last reply Aug 4, 2021, 1:07 PM Reply Quote 0
                  • S Offline
                    sdetweil @andyyy
                    last edited by sdetweil Aug 4, 2021, 1:08 PM Aug 4, 2021, 1:07 PM

                    @andyyy i think that MM should fail when a module fails and make it easier to find

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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