Read the statement by Michael Teeuw here.
MMM-Navigate cannot be installed
-
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 sorry, I forgot to tell you to stop MagicMirror under pm2
but as the postinstall ran
dopm2 restart all
-
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
-
@Klaleu fantastic!
thanks for the feedback
-
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 -
@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 …
-