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

Updated to 2.17 but MM not launching

Scheduled Pinned Locked Moved Bug Hunt
28 Posts 5 Posters 5.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.
  • S Away
    sdetweil @Stoffbeuteluwe
    last edited by Oct 14, 2021, 7:50 PM

    @stoffbeuteluwe said in Updated to 2.17 but MM not launching:

    …but do I have to do all this again on every next MM Update

    if you do the

    npm init
    

    in the module folder before npm install request (or whatever is missing)
    then that library will be loaded in the module node_modules list

    if NOT, then it looks for the 1st node_modules folder up the directory tree , finds one under MagicMirror and installs the module there

    BUT…

    on the next update, npm will check and see that this library was not required by MM, and so delete it, (security, so someone can’t sneak libraries into the installed folder)…

    so… answer to your question is ‘maybe’…

    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 @Stoffbeuteluwe
      last edited by Oct 14, 2021, 7:51 PM

      @stoffbeuteluwe said in Updated to 2.17 but MM not launching:

      The Mirror works but there are some errors…

      how did u do the upgrade?

      can u tell me

      node -v
      npm -v

      output?

      this version of electron needs node 14. my script does NOT upgrade node

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 2 Replies Last reply Oct 15, 2021, 3:15 AM Reply Quote 0
      • S Offline
        Stoffbeuteluwe Project Sponsor @sdetweil
        last edited by Oct 15, 2021, 3:15 AM

        @sdetweil when I’m home from work I will tell you….thanks in advance

        1 Reply Last reply Reply Quote 0
        • S Offline
          Stoffbeuteluwe Project Sponsor @sdetweil
          last edited by Stoffbeuteluwe Oct 15, 2021, 1:33 PM Oct 15, 2021, 1:32 PM

          @sdetweil Hi…
          git pull & npm install

          node -v v14.17.3
          npm -v 6.14.13

          S 1 Reply Last reply Oct 15, 2021, 1:37 PM Reply Quote 0
          • S Away
            sdetweil @Stoffbeuteluwe
            last edited by Oct 15, 2021, 1:37 PM

            @stoffbeuteluwe ok, thx… did u use my upgrade script?

            if not, I would go thru every module (not defaults) and look for package.json

            if present, in the module folder I would

            rm package-lock.json
            rm -rf node_modules
            npm install
            

            to reload the dependencies based on the new MM.
            (this is what my upgrade script does)

            after that, I would disable one module at a time to find the culprit…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Oct 15, 2021, 3:11 PM Reply Quote 0
            • S Offline
              Stoffbeuteluwe Project Sponsor @sdetweil
              last edited by Oct 15, 2021, 3:11 PM

              @sdetweil said in Updated to 2.17 but MM not launching:

              npm install

              Ok thank you Sam i will try…

              S 1 Reply Last reply Oct 15, 2021, 3:21 PM Reply Quote 0
              • S Away
                sdetweil @Stoffbeuteluwe
                last edited by Oct 15, 2021, 3:21 PM

                @stoffbeuteluwe u could use my upgrade script with force

                to accomplish the same thing

                I would disable modules to find it first, and then check after redoing npm install

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Oct 15, 2021, 3:49 PM Reply Quote 0
                • S Offline
                  Stoffbeuteluwe Project Sponsor @sdetweil
                  last edited by Oct 15, 2021, 3:49 PM

                  @sdetweil do you think the error came from a module?

                  S 1 Reply Last reply Oct 15, 2021, 3:50 PM Reply Quote 0
                  • S Away
                    sdetweil @Stoffbeuteluwe
                    last edited by Oct 15, 2021, 3:50 PM

                    @stoffbeuteluwe don’t know, but think so

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 2 Replies Last reply Oct 15, 2021, 3:53 PM Reply Quote 0
                    • S Offline
                      Stoffbeuteluwe Project Sponsor @sdetweil
                      last edited by Oct 15, 2021, 3:53 PM

                      @sdetweil thanks …will try to find it

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