• 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
    last edited by Oct 2, 2021, 12:16 PM

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

    Cannot find module ‘request’

    same problem for the last few months. and last release

    see

    https://forum.magicmirror.builders/topic/15666/add-request-to-modules

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    O 1 Reply Last reply Oct 4, 2021, 11:58 AM Reply Quote 0
    • O Offline
      OberfragGER @sdetweil
      last edited by Oct 4, 2021, 11:58 AM

      Happens to me to.

      MMM-SystemStats stops MM from working. reinstall and everything are not working so i had to quit using both MMM-SystemStats Modules.

      S 1 Reply Last reply Oct 4, 2021, 12:11 PM Reply Quote 0
      • S Away
        sdetweil @OberfragGER
        last edited by Oct 4, 2021, 12:11 PM

        @oberfragger did u look for the errors to decide what to do?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        O 1 Reply Last reply Oct 4, 2021, 1:19 PM Reply Quote 0
        • O Offline
          OberfragGER @sdetweil
          last edited by sdetweil Oct 4, 2021, 1:23 PM Oct 4, 2021, 1:19 PM

          @sdetweil Uuups.
          Sorry for the “short” information. I did´nt realised that i sent the topic.

          Both “MMM-SystemStats” seems to unmantained and both are stopping MM from starting. I just uncommented them in the config.js and openend an issue.

          /home/pi/.pm2/logs/mm-error.log last 15 lines: 0|mm | at require 
          (internal/modules/cjs/helpers.js:88:18) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-SystemS tats/node_helper.js:13:15) 0|mm | at Module._compile (internal/modules/cjs/loader.js:1078:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.j s:1108:10) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/MMM-SystemStats/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js', 0|mm | '/home/pi/MagicMirror/node_modules/electron/dist/resources/defa ult_app.asar/main.js', 0|mm | undefined 0|mm | ] 0|mm | } 0|mm | [04.10.2021 13:13.47.982] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|mm | [04.10.2021 13:13.47.982] [ERROR] If you think this really is an is sue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/iss ues
          

          I dont have any clus what i cloud do more.

          S 1 Reply Last reply Oct 4, 2021, 1:28 PM Reply Quote 0
          • S Away
            sdetweil @OberfragGER
            last edited by sdetweil Oct 14, 2021, 7:44 PM Oct 4, 2021, 1:28 PM

            @oberfragger it says module not found

            we deleted a bunch of older libraries because one was discontinued (deprecated) due to a security problem not going to be fixed

            many mm modules used them but didn’t document the usage. oops

            I don’t see the name of the library

            but looking at the node_helper.js shows

            require('request')
            

            which is the trouble lib

            u can add it back for this module , do

            npm init -y
            npm install request -- save
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            O S 2 Replies Last reply Oct 4, 2021, 7:11 PM Reply Quote 0
            • O Offline
              OberfragGER @sdetweil
              last edited by Oct 4, 2021, 7:11 PM

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

              ``|

              Thanks a lot. That did the job for me!

              1 Reply Last reply Reply Quote 0
              • S Offline
                Stoffbeuteluwe Project Sponsor @sdetweil
                last edited by Stoffbeuteluwe Oct 14, 2021, 7:45 PM Oct 14, 2021, 6:22 PM

                @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

                S S 2 Replies Last reply Oct 14, 2021, 7:13 PM Reply Quote 0
                • S Offline
                  Stoffbeuteluwe Project Sponsor @Stoffbeuteluwe
                  last edited by sdetweil Oct 15, 2021, 1:34 PM Oct 14, 2021, 7:13 PM

                  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 Oct 14, 2021, 7:51 PM Reply Quote 0
                  • 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
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      • 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