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 11.0k 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 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 Offline
          karsten13 @sdetweil
          last edited by

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

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

            @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 Do not disturb
              sdetweil @andyyy
              last edited by

              @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 Reply Quote 0
              • A Offline
                andyyy @sdetweil
                last edited by andyyy

                @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 Reply Quote 0
                • S Do not disturb
                  sdetweil @andyyy
                  last edited by sdetweil

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