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

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 sdetweil Jun 13, 2024, 4:08 PM Jun 13, 2024, 4:00 PM

    @Klaleu but the problem is outside the mmm-navigate folder

    please provide the information i asked for

    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 Jun 14, 2024, 7:55 AM

      Hello Sam,
      I forgot to answer the question. Your question was: Have you ever used sudo for any npm command for MagicMirror? As far as I can remember, I ran the following commands: and <sudo npm install -g pm2>. If that is the problem, how can I solve it to be able to install MMM-Navigate.
      PS I installed over ten modules for my Magic Mirror and none of them had any problems.

      S 1 Reply Last reply Jun 14, 2024, 11:39 AM Reply Quote 0
      • S Offline
        sdetweil @Klaleu
        last edited by sdetweil Jun 14, 2024, 5:06 PM Jun 14, 2024, 11:39 AM

        @Klaleu I asked you to do

        ls -laF ~/MagicMirror/node_modules/.bin/electron-rebuild
        

        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 Jun 14, 2024, 1:04 PM

          Hello Sam,
          Yes, I did it. For the result please see the LOG file in my answer of Jun 13, 2024, 4:41 PM.
          I hope I followed your instructions correctly.
          Thank you for your efforts.

          Klaus

          S 1 Reply Last reply Jun 14, 2024, 1:13 PM Reply Quote 0
          • S Offline
            sdetweil @Klaleu
            last edited by Jun 14, 2024, 1:13 PM

            @Klaleu log file where?

            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 Jun 14, 2024, 2:21 PM

              I mean this excerpt from the LOG_file (see my answer of Jun 13, 2024, 4:41 PM):

              …

              klaus@raspberrypi:~/MagicMirror $ ls -laF node_modules/.bin/electron-rebuild
              lrwxrwxrwx 1 klaus klaus 34 Jun 12 11:38 node_modules/.bin/electron-rebuild -> . ./electron-rebuild/lib/src/cli.js
              klaus@raspberrypi:~/MagicMirror $ cd ~/MagicMirror/modules/
              klaus@raspberrypi:~/MagicMirror/modules $ git clone https://github.com/Ax-LED/MMM-Navigate
              Cloning into ‘MMM-Navigate’…
              remote: Enumerating objects: 122, done.
              remote: Counting objects: 100% (45/45), done.
              remote: Compressing objects: 100% (28/28), done.
              remote: Total 122 (delta 24), reused 32 (delta 17), pack-reused 77
              Receiving objects: 100% (122/122), 442.08 KiB | 449.00 KiB/s, done.
              Resolving deltas: 100% (63/63), done.
              klaus@raspberrypi:~/MagicMirror/modules $ cd MMM-Navigate
              klaus@raspberrypi:~/MagicMirror/modules/MMM-Navigate $ npm install

              MagicMirror-Module-Navigate@1.6.0 postinstall
              ./postinstall

              ./postinstall: line 8: …/…/node_modules/.bin/electron-rebuild: Permission denied
              npm ERR! code 126
              npm ERR! path /home/klaus/MagicMirror/modules/MMM-Navigate
              npm ERR! command failed
              npm ERR! command sh -c ./postinstall
              …

              You can see I did “electron-rebuild” and after that I tried to install MMM-Navigate without any success.
              I you need the hole LOG-File, or is the excerpt sufficient?

              Greatings Klaus

              S 1 Reply Last reply Jun 14, 2024, 2:24 PM Reply Quote 0
              • S Offline
                sdetweil @Klaleu
                last edited by Jun 14, 2024, 2:24 PM

                @Klaleu I need you to execute the command I listed, now
                and show it’s results

                I need to determine what the permission problem is exactly before I can tell you how to resolve it

                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 Jun 14, 2024, 5:05 PM

                  Hello Sam,
                  You wrote: " I need you to execute the command I listed, now and show it’s results"
                  Now I’m a little bit confused. I executed severel commands you asked my for and dokumented the results.
                  Please write to me exactly what I need to do to provide you with the information to isolate the problem. Unfortunately, I’m just a layman and can’t get any further in this case on my own and need help from experienced programmers.
                  Thank you.
                  Klaus

                  S 1 Reply Last reply Jun 14, 2024, 5:06 PM Reply Quote 0
                  • S Offline
                    sdetweil @Klaleu
                    last edited by sdetweil Jun 14, 2024, 5:08 PM Jun 14, 2024, 5:06 PM

                    @Klaleu see here
                    https://forum.magicmirror.builders/post/118270
                    and here
                    https://forum.magicmirror.builders/post/118252

                    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 Jun 14, 2024, 5:47 PM

                      Dear Sam,
                      Yes, I have already executed these commands:

                      ls -laF ~/MagicMirror/node_modules/.bin/electron-rebuild
                      and
                      cd ~/MagicMirror
                      ls -laF node_modules/.bin/electron-rebuild-

                      and sent the results to you.
                      Please tell me what I did wrong so that the results were not meaningful for you.

                      A nice Weekend for you.

                      Klaus

                      S 1 Reply Last reply Jun 14, 2024, 6:55 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        10/26
                        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