Read the statement by Michael Teeuw here.
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.logAny tips on what I can and must do to ensure an error-free installation would be greatly appreciated.
-
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-mmand after that:
cd modules/MMM-Navigate
./postinstallwithout problems.
Last I did:
cd ~/MagicMirror
npm startThis is the result:
klaus@raspberrypi:~ $ cd ~/MagicMirror
klaus@raspberrypi:~/MagicMirror $ npm startmagicmirror@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 -
@Klaleu said in MMM-Navigate cannot be installed:
error command failed
107 error command sh -c ./postinstallthere is a postinstall script
can you try to run itin the module folder do
./postinstallif it says commabd not found or permission denied, then do
chmod +x postinstalland try it again
-
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 installMagicMirror-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 ./postinstallnpm 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
-
@Klaleu said in MMM-Navigate cannot be installed:
postinstall: line 8: …/…/node_modules/.bin/electron-rebuild: Permission denied
hm…
have you ever used sudo for any npm command for MagicMirror? please don’t
can you do this and show results
cd ~/MagicMirror ls -laF node_modules/.bin/electron-rebuild -
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 installMagicMirror-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 ./postinstallnpm 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
-
@Klaleu but the problem is outside the mmm-navigate folder
please provide the information i asked for
-
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. -
@Klaleu I asked you to do
ls -laF ~/MagicMirror/node_modules/.bin/electron-rebuild -
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
-
@Klaleu log file where?
-
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 installMagicMirror-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
-
@Klaleu I need you to execute the command I listed, now
and show it’s resultsI need to determine what the permission problem is exactly before I can tell you how to resolve it
-
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 -
-
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
-
@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 emailedit: sorry, I found it, burried in other messages,
very weird… SO, try this
cd ~/MagicMirror npm uninstall @electron/rebuildthen , to see if this is fixed by having the postinstall script reinstall it…
cd modules/MMM-Navigate ./postinstallthis approach was copied from me, so I am confused why it is failing
-
Dear Sam,
I ran the following commands:cd ~/MagicMirror
npm uninstall @electron/rebuildThis 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
runnpm fundfor 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.2After that I executed these commands:
cd modules/MMM-Navigate
./postinstallThis 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
-
@Klaleu no idea.
never run npm audit or npm fund -
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
-
@Klaleu let’s try this
cd ~/MagicMirror rm -rf node_modules npm run install-mmthen
cd modules/MMM-Navigate ./postinstallthen
cd ~/MagicMirror npm start
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login