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