MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Klaleu
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    K
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 13
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-Navigate cannot be installed

      Hello Sam,
      Thank you for your suggestion to solve the problem. I deleted the old installation of MMM-Navigate by deleting the MMM-Navigate folder in the /MagicMirror/modules/. I then carried out electron-rebuild, unfortunately the following reinstallation of MMM-Navigate resulted in the same errors . Here is a section of my screen.

      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

      npm ERR! A complete log of this run can be found in: /home/klaus/.npm/_logs/2024-06-13T13_55_36_051Z-debug-0.log

      Do you have any suggestions as to what I can try to get an error-free installation?
      For information - I use:

      • Raspberry Pi 4
      • Raspbian GNU/Linux Version 11
      • Modules: alert, updatenotification, MMM-Pages, clock, calendar, MMM-DWD-Pollen, complements, weather, MMM-birthdays, MMM-Rest, MMM-Globe, MMM-RAIN-MAP, newsfeed

      Klaus

      posted in Troubleshooting
      K
      Klaleu
    • RE: MMM-Navigate cannot be installed

      Dear Sam,
      Many thanks for the quick response. I tried to implement your suggestions, unfortunately without success. But as a non-programmer, I’m not sure whether I did everything right and whether I understood you correctly. Here is a section of my screen. I hope you recognize my mistake and can help me further:

      klaus@raspberrypi:~/MagicMirror/modules/MMM-Navigate $ ./postinstall
      ./postinstall: line 8: …/…/node_modules/.bin/electron-rebuild: Permission deni ed
      klaus@raspberrypi:~/MagicMirror/modules/MMM-Navigate $ chmod +x postinstall
      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

      npm ERR! A complete log of this run can be found in: /home/klaus/.npm/_logs/2024-06-13T09_49_42_926Z-debug-0.log
      klaus@raspberrypi:~/MagicMirror/modules/MMM-Navigate $

      Klaus

      posted in Troubleshooting
      K
      Klaleu
    • MMM-Navigate cannot be installed

      I installed MMM-Navigate according to the description on https://github.com/Ax-LED/MMM-Navigate. Unfortunately, there are error messages that, as a “non-programmer”, give me no clues as to how to fix it. Here is the LOG file of the installation:

      0 verbose cli /usr/local/bin/node /usr/local/bin/npm
      1 info using npm@10.1.0
      2 info using node@v20.8.0
      3 timing npm:load:whichnode Completed in 9ms
      4 timing config:load:defaults Completed in 6ms
      5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 2ms
      6 timing config:load:builtin Completed in 3ms
      7 timing config:load:cli Completed in 10ms
      8 timing config:load:env Completed in 0ms
      9 timing config:load:file:/home/klaus/MagicMirror/modules/MMM-Navigate/.npmrc Completed in 0ms
      10 timing config:load:project Completed in 16ms
      11 timing config:load:file:/home/klaus/.npmrc Completed in 0ms
      12 timing config:load:user Completed in 0ms
      13 timing config:load:file:/usr/local/etc/npmrc Completed in 1ms
      14 timing config:load:global Completed in 1ms
      15 timing config:load:setEnvs Completed in 8ms
      16 timing config:load Completed in 51ms
      17 timing npm:load:configload Completed in 51ms
      18 timing config:load:flatten Completed in 15ms
      19 timing npm:load:mkdirpcache Completed in 2ms
      20 timing npm:load:mkdirplogs Completed in 1ms
      21 verbose title npm install
      22 verbose argv “install”
      23 timing npm:load:setTitle Completed in 2ms
      24 timing npm:load:display Completed in 8ms
      25 verbose logfile logs-max:10 dir:/home/klaus/.npm/_logs/2024-06-12T12_09_51_699Z-
      26 verbose logfile /home/klaus/.npm/_logs/2024-06-12T12_09_51_699Z-debug-0.log
      27 timing npm:load:logFile Completed in 40ms
      28 timing npm:load:timers Completed in 1ms
      29 timing npm:load:configScope Completed in 0ms
      30 timing npm:load Completed in 201ms
      31 timing arborist:ctor Completed in 8ms
      32 silly logfile start cleaning logs, removing 2 files
      33 timing arborist:ctor Completed in 0ms
      34 silly logfile done cleaning log files
      35 timing idealTree:init Completed in 98ms
      36 timing idealTree:userRequests Completed in 2ms
      37 silly idealTree buildDeps
      38 silly fetch manifest onoff@latest
      39 http fetch GET 200 https://registry.npmjs.org/onoff 1321ms (cache revalidated)
      40 silly placeDep ROOT onoff@6.0.3 OK for: MagicMirror-Module-Navigate@1.6.0 want: latest
      41 silly fetch manifest epoll@^4.0.1
      42 silly fetch manifest lodash.debounce@^4.0.8
      43 http fetch GET 200 https://registry.npmjs.org/lodash.debounce 247ms (cache revalidated)
      44 http fetch GET 200 https://registry.npmjs.org/epoll 1028ms (cache revalidated)
      45 timing idealTree:#root Completed in 2418ms
      46 silly placeDep ROOT epoll@4.0.2 OK for: onoff@6.0.3 want: ^4.0.1
      47 silly fetch manifest bindings@^1.5.0
      48 silly fetch manifest nan@^2.17.0
      49 silly placeDep ROOT lodash.debounce@4.0.8 OK for: onoff@6.0.3 want: ^4.0.8
      50 http fetch GET 200 https://registry.npmjs.org/nan 162ms (cache revalidated)
      51 http fetch GET 200 https://registry.npmjs.org/bindings 465ms (cache revalidated)
      52 timing idealTree:node_modules/onoff Completed in 496ms
      53 silly placeDep ROOT bindings@1.5.0 OK for: epoll@4.0.2 want: ^1.5.0
      54 silly fetch manifest file-uri-to-path@1.0.0
      55 silly placeDep ROOT nan@2.20.0 OK for: epoll@4.0.2 want: ^2.17.0
      56 http fetch GET 200 https://registry.npmjs.org/file-uri-to-path 148ms (cache revalidated)
      57 timing idealTree:node_modules/epoll Completed in 168ms
      58 silly placeDep ROOT file-uri-to-path@1.0.0 OK for: bindings@1.5.0 want: 1.0.0
      59 timing idealTree:node_modules/bindings Completed in 15ms
      60 timing idealTree:node_modules/file-uri-to-path Completed in 1ms
      61 timing idealTree:node_modules/lodash.debounce Completed in 0ms
      62 timing idealTree:node_modules/nan Completed in 0ms
      63 timing idealTree:buildDeps Completed in 3103ms
      64 timing idealTree:fixDepFlags Completed in 2ms
      65 timing idealTree Completed in 3221ms
      66 timing reify:loadTrees Completed in 3227ms
      67 timing reify:diffTrees Completed in 4ms
      68 silly reify moves {}
      69 timing reify:retireShallow Completed in 4ms
      70 timing reify:createSparse Completed in 9ms
      71 timing reify:loadBundles Completed in 0ms
      72 silly audit bulk request {
      72 silly audit onoff: [ ‘6.0.3’ ],
      72 silly audit epoll: [ ‘4.0.2’ ],
      72 silly audit ‘lodash.debounce’: [ ‘4.0.8’ ],
      72 silly audit bindings: [ ‘1.5.0’ ],
      72 silly audit nan: [ ‘2.20.0’ ],
      72 silly audit ‘file-uri-to-path’: [ ‘1.0.0’ ]
      72 silly audit }
      73 timing reifyNode:node_modules/bindings Completed in 278ms
      74 timing reifyNode:node_modules/lodash.debounce Completed in 284ms
      75 timing reifyNode:node_modules/file-uri-to-path Completed in 299ms
      76 timing reifyNode:node_modules/epoll Completed in 384ms
      77 timing reifyNode:node_modules/onoff Completed in 397ms
      78 timing reifyNode:node_modules/nan Completed in 417ms
      79 timing reify:unpack Completed in 419ms
      80 timing reify:unretire Completed in 0ms
      81 timing build:queue Completed in 5ms
      82 info run epoll@4.0.2 install node_modules/epoll node-gyp rebuild
      83 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 572ms
      84 timing auditReport:getReport Completed in 584ms
      85 silly audit report {}
      86 timing auditReport:init Completed in 0ms
      87 timing reify:audit Completed in 591ms
      88 info run epoll@4.0.2 install { code: 0, signal: null }
      89 timing build:run:install:node_modules/epoll Completed in 15212ms
      90 timing build:run:install Completed in 15213ms
      91 timing build:deps Completed in 15223ms
      92 timing build Completed in 15223ms
      93 timing reify:build Completed in 15224ms
      94 timing reify:trash Completed in 0ms
      95 timing reify:save Completed in 34ms
      96 timing reify Completed in 19054ms
      97 timing command:install Completed in 19108ms
      98 verbose stack Error: command failed
      98 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
      98 verbose stack at ChildProcess.emit (node:events:514:28)
      98 verbose stack at maybeClose (node:internal/child_process:1105:16)
      98 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:305:5)
      99 verbose pkgid MagicMirror-Module-Navigate@1.6.0
      100 verbose cwd /home/klaus/MagicMirror/modules/MMM-Navigate
      101 verbose Linux 6.1.21-v8+
      102 verbose node v20.8.0
      103 verbose npm v10.1.0
      104 error code 126
      105 error path /home/klaus/MagicMirror/modules/MMM-Navigate
      106 error command failed
      107 error command sh -c ./postinstall
      108 verbose exit 126
      109 timing npm Completed in 20828ms
      110 verbose code 126
      111 error A complete log of this run can be found in: /home/klaus/.npm/_logs/2024-06-12T12_09_51_699Z-debug-0.log

      Any tips on what I can and must do to ensure an error-free installation would be greatly appreciated.

      posted in Troubleshooting
      K
      Klaleu
    • 1
    • 2
    • 2 / 2