Hi all,
Trying to get my class project started, but unable to get MagicMirror running on my monitor. When I attempt to start I keep getting:
pi@raspberrypi:~/MagicMirror $ npm run start
>
> > magicmirror@2.15.0 start
> > node_modules/.bin/electron js/electron.js
>
> [09.04.2021 14:35.19.085] [LOG] Starting MagicMirror: v2.15.0
> [09.04.2021 14:35.19.091] [LOG] Loading config ...
> [09.04.2021 14:35.19.098] [LOG] Loading module helpers ...
> [09.04.2021 14:35.19.100] [LOG] No helper found for module: alert.
> [09.04.2021 14:35.19.264] [LOG] Initializing new module helper ...
> [09.04.2021 14:35.19.265] [LOG] Module helper loaded: updatenotification
> [09.04.2021 14:35.19.266] [LOG] No helper found for module: clock.
> [09.04.2021 14:35.19.770] [LOG] Initializing new module helper ...
> [09.04.2021 14:35.19.771] [LOG] Module helper loaded: calendar
> [09.04.2021 14:35.19.772] [LOG] No helper found for module: compliments.
> [09.04.2021 14:35.19.772] [LOG] No helper found for module: weather.
> [09.04.2021 14:35.19.795] [LOG] Initializing new module helper ...
> [09.04.2021 14:35.19.796] [LOG] Module helper loaded: newsfeed
> [09.04.2021 14:35.19.796] [LOG] All module helpers loaded.
> [09.04.2021 14:35.19.880] [LOG] Starting server on port 8080 ...
> [09.04.2021 14:35.19.894] [LOG] Server started ...
> [09.04.2021 14:35.19.895] [LOG] Connecting socket for: updatenotification
> [09.04.2021 14:35.19.896] [LOG] Connecting socket for: calendar
> [09.04.2021 14:35.19.897] [LOG] Starting node helper for: calendar
> [09.04.2021 14:35.19.898] [LOG] Connecting socket for: newsfeed
> [09.04.2021 14:35.19.899] [LOG] Starting node helper for: newsfeed
> [09.04.2021 14:35.19.900] [LOG] Sockets connected & modules started ...
>
> undefined:0
>
>
> illegal access
> (Use `electron --trace-uncaught ...` to show where the exception was thrown)
>
I’m afraid I do not know much about electron and having trouble diagnosing what is going wrong.
I began with doing the correction indicated here regarding common installation issues: https://docs.magicmirror.builders/getting-started/installation.html#manual-installation
I also tried a few suggestions for other issues that seemed possibly similar such as delete the node_modules/electron folder and rerun npm install in /MagicMirror directory
Also tried npm rebuild in the MagicMirror directory and tried to start again and that was unsuccessful.
Any advice? Struggling to get the basics up and running so I can jump full into my project and after about an hour of troubleshooting unsure of what to try next and any help is appreciated!