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.

    MMM-Navigate cannot be installed

    Scheduled Pinned Locked Moved Solved Troubleshooting
    26 Posts 2 Posters 1.9k Views 2 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 Offline
      sdetweil @Klaleu
      last edited by

      @Klaleu no idea.
      never run npm audit or npm fund

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • K Offline
        Klaleu
        last edited by

        Ok.
        What would you do now if you were me? I only see one option: reinstalling the basic configuration of the Magic Mirror and then installing MMM-Navigate as the first module. Maybe a module I’ve already installed is causing access to be denied. What do you think?

        First of all, thank you very much for taking the time to help me.

        Klaus

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Klaleu
          last edited by

          @Klaleu let’s try this

          cd ~/MagicMirror 
          rm -rf node_modules 
          npm run install-mm 
          

          then

          cd modules/MMM-Navigate
          ./postinstall
          

          then

          cd  ~/MagicMirror 
          npm start
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • K Offline
            Klaleu
            last edited by

            Hello Sam,
            Thank you for continuing to try to solve the problem.
            I have carried out:

            cd ~/MagicMirror
            rm -rf node_modules
            npm run install-mm

            and after that:

            cd modules/MMM-Navigate
            ./postinstall

            without problems.

            Last I did:

            cd ~/MagicMirror
            npm start

            This is the result:

            klaus@raspberrypi:~ $ cd ~/MagicMirror
            klaus@raspberrypi:~/MagicMirror $ npm start

            magicmirror@2.27.0 start
            DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

            [2024-06-17 11:35:52.232] [LOG] Starting MagicMirror: v2.27.0
            [2024-06-17 11:35:52.333] [LOG] Loading config …
            [2024-06-17 11:35:52.344] [LOG] config template file not exists, no envsubst
            [2024-06-17 11:35:52.354] [LOG] Loading module helpers …
            [2024-06-17 11:35:52.360] [LOG] No helper found for module: alert.
            [2024-06-17 11:35:53.076] [LOG] Initializing new module helper …
            [2024-06-17 11:35:53.078] [LOG] Module helper loaded: updatenotification
            [2024-06-17 11:35:53.080] [LOG] No helper found for module: MMM-pages.
            [2024-06-17 11:35:53.081] [LOG] No helper found for module: clock.
            [2024-06-17 11:35:53.466] [LOG] Initializing new module helper …
            [2024-06-17 11:35:53.472] [LOG] Module helper loaded: calendar
            [2024-06-17 11:35:54.236] [LOG] Initializing new module helper …
            [2024-06-17 11:35:54.241] [LOG] Module helper loaded: MMM-DWD-Pollen
            [2024-06-17 11:35:54.242] [LOG] No helper found for module: compliments.
            [2024-06-17 11:35:54.243] [LOG] No helper found for module: weather.
            [2024-06-17 11:35:54.275] [LOG] Initializing new module helper …
            [2024-06-17 11:35:54.275] [LOG] Module helper loaded: MMM-birthdays
            [2024-06-17 11:35:54.720] [LOG] Initializing new module helper …
            [2024-06-17 11:35:54.723] [LOG] Module helper loaded: MMM-Rest
            [2024-06-17 11:35:54.725] [LOG] No helper found for module: MMM-Globe.
            [2024-06-17 11:35:54.725] [LOG] No helper found for module: MMM-RAIN-MAP.
            [2024-06-17 11:35:54.893] [LOG] Initializing new module helper …
            [2024-06-17 11:35:54.893] [LOG] Module helper loaded: newsfeed
            [2024-06-17 11:35:54.893] [LOG] All module helpers loaded.
            [2024-06-17 11:35:54.909] [LOG] Starting server on port 8080 …
            [2024-06-17 11:35:57.767] [ERROR] Whoops! There was an uncaught exception…
            [2024-06-17 11:35:57.823] [ERROR] Error: listen EADDRINUSE: address already in use ::1:8080
            at Server.setupListenHandle [as _listen2] (node:net:1872:16)
            at listenInCluster (node:net:1920:12)
            at GetAddrInfoReqWrap.doListen [as callback] (node:net:2069:7)
            at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:8) {
            code: ‘EADDRINUSE’,
            errno: -98,
            syscall: ‘listen’,
            address: ‘::1’,
            port: 8080
            }
            [2024-06-17 11:35:57.850] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
            [2024-06-17 11:35:57.862] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues
            [2024-06-17 11:36:07.657] [INFO] System information:

            SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 4 Model B Rev 1.2; raspberry: [object Object]; virtual: false

            OS: platform: linux; distro: Raspbian GNU/Linux; release: 11; arch: arm; kernel: 6.1.21-v8+

            VERSIONS: electron: 29.3.1; used node: 20.9.0; installed node: 20.8.0; npm: 10.1.0; pm2: 5.3.1

            OTHER: timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefined

            The internet connection was stabile, it can’t be the reason for the problem.
            I hope you can interpret the result and have a suggestion on how to proceed.

            Greetings
            Klaus

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Klaleu
              last edited by

              @Klaleu sorry, I forgot to tell you to stop MagicMirror under pm2

              but as the postinstall ran
              do

              pm2 restart all
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • K Offline
                Klaleu
                last edited by

                Dear Sam,
                Thank you very much for your help.
                After I did the following:

                pm2 stop mm

                and

                pm2 restart all

                The new installation of MMM-Navigate ran without errors or problems.
                And after I added the code in the Modules array in the config/config.js, MMM-Navigate worked.
                Thank you again for your help and for the time you sacrificed.

                Klaus

                S 1 Reply Last reply Reply Quote 1
                • S Offline
                  sdetweil @Klaleu
                  last edited by

                  @Klaleu fantastic!

                  thanks for the feedback

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    Klaleu
                    last edited by

                    Dear Sam,
                    That was my first contact in the MagicMirror Forum and thanks to your help it was a complete success.
                    My problem is now solved. Who moves the point from unresolved to resolved?

                    Greetings
                    Klaus

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Klaleu
                      last edited by

                      @Klaleu you do. find the message which gives the best answer, click the 3 dots in the lower right and select the option

                      Mark this post …

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • K Klaleu has marked this topic as solved on
                      • 1
                      • 2
                      • 3
                      • 3 / 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