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 9.4k 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.
    • StoffbeuteluweS Offline
      Stoffbeuteluwe Project Sponsor @sdetweil
      last edited by Stoffbeuteluwe

      @sdetweil

      Hi Sam, i have to do this for 11 modules :grinning_face_with_big_eyes: …but that’s not the problem it takes a little time…but do I have to do all this again on every next MM Update?:dizzy_face:

      Greeting from Germany

      StoffbeuteluweS S 2 Replies Last reply Reply Quote 0
      • StoffbeuteluweS Offline
        Stoffbeuteluwe Project Sponsor @Stoffbeuteluwe
        last edited by sdetweil

        The Mirror works but there are some errors…

        [14.10.2021 21:09.11.218] [ERROR] (node:48778) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
        (Use `Electron --trace-warnings ...` to show where the warning was created)
        [14.10.2021 21:09.11.218] [ERROR] (node:48778) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
        [14.10.2021 21:09.11.218] [ERROR] (node:48778) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
        [14.10.2021 21:09.11.218] [ERROR] (node:48778) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
        [14.10.2021 21:09.11.218] [ERROR] (node:48778) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
        [14.10.2021 21:09.11.218] [ERROR] (node:48778) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
        [14.10.2021 21:09.11.218] [ERROR] (node:48778) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
        [14.10.2021 21:09.11.218] [ERROR] (node:48778) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
        [14.10.2021 21:09.11.219] [ERROR] (node:48778) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @Stoffbeuteluwe
          last edited by

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

            @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

            StoffbeuteluweS 2 Replies Last reply Reply Quote 0
            • StoffbeuteluweS Offline
              Stoffbeuteluwe Project Sponsor @sdetweil
              last edited by

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

              1 Reply Last reply Reply Quote 0
              • StoffbeuteluweS Offline
                Stoffbeuteluwe Project Sponsor @sdetweil
                last edited by Stoffbeuteluwe

                @sdetweil Hi…
                git pull & npm install

                node -v v14.17.3
                npm -v 6.14.13

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

                  @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

                  StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                  • StoffbeuteluweS Offline
                    Stoffbeuteluwe Project Sponsor @sdetweil
                    last edited by

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

                      @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

                      StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                      • StoffbeuteluweS Offline
                        Stoffbeuteluwe Project Sponsor @sdetweil
                        last edited by

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

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

                          @stoffbeuteluwe don’t know, but think so

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          StoffbeuteluweS 2 Replies Last reply Reply Quote 0
                          • StoffbeuteluweS Offline
                            Stoffbeuteluwe Project Sponsor @sdetweil
                            last edited by

                            @sdetweil thanks …will try to find it

                            1 Reply Last reply Reply Quote 0
                            • StoffbeuteluweS Offline
                              Stoffbeuteluwe Project Sponsor @sdetweil
                              last edited by

                              @sdetweil Sooo:grinning_face_with_big_eyes: after long searching …I know it is the MMM-AlexaControl module but what does the error mean and what can I do?

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

                                @stoffbeuteluwe did u try the recovery steps I provided before, in the module folder

                                delete a file
                                delete a folder
                                npm install

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                                • StoffbeuteluweS Offline
                                  Stoffbeuteluwe Project Sponsor @sdetweil
                                  last edited by

                                  @sdetweil Hi , yes I have done that and done a new install but the same error …but it works fine :man_shrugging_medium_skin_tone:

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

                                    @stoffbeuteluwe ok. I don’t remember seeing that on my setup. will check

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

                                      @stoffbeuteluwe i just reinstalled AC

                                      and see the same error… its a problem in a library used by a library that the module uses.

                                      nothing u can do to fix it…

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                                      • StoffbeuteluweS Offline
                                        Stoffbeuteluwe Project Sponsor @sdetweil
                                        last edited by Stoffbeuteluwe

                                        @sdetweil OK thank you very much Sam……but it works fine

                                        1 Reply Last reply Reply Quote 0

                                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                        With your input, this post could be even better 💗

                                        Register Login
                                        • 1
                                        • 2
                                        • 1 / 2
                                        • 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