• 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.0k 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.
  • 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
            • S Offline
              sdetweil @Klaleu
              last edited by sdetweil Jun 14, 2024, 7:03 PM Jun 14, 2024, 6:55 PM

              @Klaleu said in MMM-Navigate cannot be installed:

              and sent the results to you.

              where? I am not the module author. I don’t see a text message here from you
              and I didn’t give you my email

              edit: sorry, I found it, burried in other messages,

              very weird… SO, try this

              cd ~/MagicMirror
              npm uninstall @electron/rebuild
              

              then , to see if this is fixed by having the postinstall script reinstall it…

              cd modules/MMM-Navigate
              ./postinstall
              

              this approach was copied from me, so I am confused why it is failing

              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 15, 2024, 2:15 PM

                Dear Sam,
                I ran the following commands:

                cd ~/MagicMirror
                npm uninstall @electron/rebuild

                This was the result:

                klaus@raspberrypi:~ $ cd ~/MagicMirror
                klaus@raspberrypi:~/MagicMirror $ npm uninstall @electron/rebuild
                up to date in 19s
                216 packages are looking for funding
                run npm fund for details
                klaus@raspberrypi:~/MagicMirror $ npm fund
                magicmirror@2.27.0
                ├── https://patreon.com/biodiscus
                │ └── ansis@2.3.0
                ├─┬ https://opencollective.com/eslint
                │ │ └── eslint@8.57.0, @eslint/eslintrc@2.1.4, eslint-scope@7.2.2, eslint-visito r-keys@3.4.3, espree@9.6.1
                │ ├── https://github.com/sponsors/nzakas
                │ │ └── @humanwhocodes/module-importer@1.0.1
                │ ├── https://github.com/sponsors/epoberezkin
                │ │ └── ajv@6.12.6, ajv@8.12.0
                │ └── https://github.com/sponsors/feross
                │ └── run-parallel@1.2.0, queue-microtask@1.2.3, buffer@5.7.1, base64-js@1.5 .1, ieee754@1.2.1, safe-buffer@5.2.1, run-series@1.1.9
                ├── https://www.buymeacoffee.com/systeminfo
                │ └── systeminformation@5.22.7
                ├─┬ https://github.com/sindresorhus/eslint-plugin-unicorn?sponsor=1
                │ │ └── eslint-plugin-unicorn@51.0.1
                │ ├── https://github.com/sponsors/sibiraj-s
                │ │ └── ci-info@4.0.0, ci-info@3.9.0
                │ └─┬ https://opencollective.com/core-js
                │ │ └── core-js-compat@3.37.0
                │ └── https://opencollective.com/browserslist
                │ └── browserslist@4.23.0, caniuse-lite@1.0.30001612, update-browserslist- db@1.0.13
                ├── https://github.com/sponsors/typicode
                │ └── husky@9.0.11
                ├─┬ https://opencollective.com/lint-staged
                │ │ └── lint-staged@15.2.2
                │ ├── https://github.com/chalk/chalk?sponsor=1
                │ │ └── chalk@5.3.0, chalk@4.1.2
                │ ├─┬ https://github.com/sindresorhus/execa?sponsor=1
                │ │ │ └── execa@8.0.1, execa@5.1.1
                │ │ └── https://github.com/sponsors/isaacs
                │ │ └── signal-exit@4.1.0, glob@8.1.0, rimraf@3.0.2
                │ └── https://github.com/chalk/wrap-ansi?sponsor=1
                │ └── wrap-ansi@9.0.0, wrap-ansi@7.0.0
                ├── https://github.com/prettier/prettier?sponsor=1
                │ └── prettier@3.2.5
                ├── https://opencollective.com/sinon
                │ └── sinon@17.0.1
                ├─┬ https://opencollective.com/stylelint
                │ │ └── stylelint@16.4.0
                │ ├── https://github.com/sponsors/csstools
                │ │ └── @csstools/css-parser-algorithms@2.6.1, @csstools/css-tokenizer@2.2.4, @csstools/media-query-list-parser@2.1.9, @csstools/selector-specificity@3.0.3
                │ ├── https://github.com/sponsors/wooorm
                │ │ └── @dual-bundle/import-meta-resolve@4.0.0, mathml-tag-names@2.1.3
                │ ├── https://github.com/sponsors/d-fischer
                │ │ └── cosmiconfig@9.0.0
                │ └─┬ https://opencollective.com/postcss/
                │ │ └── postcss@8.4.38, postcss-safe-parser@7.0.0
                │ └── https://github.com/sponsors/ai
                │ └── nanoid@3.3.7
                ├── https://github.com/sponsors/malept
                │ └── @malept/cross-spawn-promise@2.0.0
                ├─┬ https://github.com/sindresorhus/got?sponsor=1
                │ │ └── got@11.8.6
                │ └── https://github.com/sindresorhus/is?sponsor=1
                │ └── @sindresorhus/is@4.6.0
                ├── https://github.com/sponsors/ljharb
                │ └── string.prototype.matchall@4.0.11, call-bind@1.0.7, function-bind@1.1.2, define-data-property@1.1.4, has-property-descriptors@1.0.2, define-properties@1. 2.1, es-abstract@1.23.3, array-buffer-byte-length@1.0.1, arraybuffer.prototype.s lice@1.0.3, available-typed-arrays@1.0.7, data-view-buffer@1.0.1, data-view-byte -length@1.0.1, data-view-byte-offset@1.0.0, es-to-primitive@1.2.1, is-date-objec t@1.0.5, is-symbol@1.0.4, function.prototype.name@1.1.6, functions-have-names@1. 2.3, get-symbol-description@1.0.2, globalthis@1.0.3, has-proto@1.0.3, is-array-b uffer@3.0.4, is-callable@1.2.7, is-data-view@1.0.1, is-negative-zero@2.0.3, is-r egex@1.1.4, is-shared-array-buffer@1.0.3, is-string@1.0.7, is-typed-array@1.1.13 , is-weakref@1.0.2, object-inspect@1.13.1, object.assign@4.1.5, safe-array-conca t@1.1.2, safe-regex-test@1.0.3, string.prototype.trim@1.2.9, string.prototype.tr imend@1.0.8, string.prototype.trimstart@1.0.8, typed-array-byte-length@1.0.1, ty ped-array-byte-offset@1.0.2, typed-array-length@1.0.6, unbox-primitive@1.0.2, ha s-bigints@1.0.2, which-boxed-primitive@1.0.2, is-bigint@1.0.4, is-boolean-object @1.1.2, is-number-object@1.0.7, which-typed-array@1.1.15, has-tostringtag@1.0.2, get-intrinsic@1.2.4, gopd@1.0.1, has-symbols@1.0.3, regexp.prototype.flags@1.5. 2, side-channel@1.0.6, minimist@1.2.8, qs@6.11.0, resolve@1.22.8, is-core-module @2.13.1, supports-preserve-symlinks-flag@1.0.0, array-includes@3.1.8, array.prot otype.findlastindex@1.2.5, array.prototype.flat@1.3.2, array.prototype.flatmap@1 .3.2, object.fromentries@2.0.8, object.values@1.2.0
                ├─┬ https://ko-fi.com/killymxi
                │ │ └── @selderee/plugin-htmlparser2@0.11.0, selderee@0.11.0, parseley@0.12.1, l eac@0.6.0, peberminta@0.9.0
                │ └─┬ https://github.com/fb55/domhandler?sponsor=1
                │ │ └── domhandler@5.0.3
                │ └── https://github.com/sponsors/fb55
                │ └── domelementtype@2.3.0
                ├─┬ https://github.com/cheeriojs/dom-serializer?sponsor=1
                │ │ └── dom-serializer@2.0.0
                │ └── https://github.com/fb55/entities?sponsor=1
                │ └── entities@4.5.0
                ├─┬ https://github.com/fb55/htmlparser2?sponsor=1
                │ │ └── htmlparser2@8.0.2
                │ └── https://github.com/fb55/domutils?sponsor=1
                │ └── domutils@3.1.0
                ├── https://github.com/sponsors/broofa
                │ └── uuid@9.0.1
                ├── https://github.com/sponsors/RubenVerborgh
                │ └── follow-redirects@1.15.6
                ├─┬ https://paulmillr.com/funding/
                │ │ └── chokidar@3.6.0
                │ └── https://github.com/sponsors/jonschlinkert
                │ └── picomatch@2.3.1, picomatch@4.0.2
                ├── https://opencollective.com/typescript-eslint
                │ └── @typescript-eslint/utils@5.62.0, @typescript-eslint/scope-manager@5.62.0 , @typescript-eslint/visitor-keys@5.62.0, @typescript-eslint/types@5.62.0, @type script-eslint/typescript-estree@5.62.0
                ├── https://github.com/sponsors/ota-meshi
                │ └── jsonc-eslint-parser@2.4.0
                ├── https://github.com/fisker/git-hooks-list?sponsor=1
                │ └── git-hooks-list@1.0.3
                ├── https://opencollective.com/babel
                │ └── @babel/core@7.24.4
                ├── https://github.com/chalk/supports-color?sponsor=1
                │ └── supports-color@8.1.1
                ├── https://github.com/sponsors/dubzzz
                │ └── pure-rand@6.1.0
                ├── https://github.com/sindresorhus/emittery?sponsor=1
                │ └── emittery@0.13.1
                └── https://github.com/inikulin/parse5?sponsor=1
                └── parse5@7.1.2

                After that I executed these commands:

                cd modules/MMM-Navigate
                ./postinstall

                This was the result:

                klaus@raspberrypi:~/MagicMirror $ cd modules/MMM-Navigate
                klaus@raspberrypi:~/MagicMirror/modules/MMM-Navigate $ ./postinstall
                ./postinstall: line 8: …/…/node_modules/.bin/electron-rebuild: Permission denied
                klaus@raspberrypi:~/MagicMirror/modules/MMM-Navigate $

                and and postinstall is not carried out.

                I hope you can interpret the results.

                Klaus

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

                  @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 Jun 15, 2024, 4:51 PM

                    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 Jun 15, 2024, 5:28 PM Reply Quote 0
                    • S Offline
                      sdetweil @Klaleu
                      last edited by Jun 15, 2024, 5:28 PM

                      @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
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        11/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