@sdetweil
Looks like I’m on 3.0.0
Read the statement by Michael Teeuw here.
Posts made by frosty_snow
-
RE: MMM-Fitbit2 PythonShell is not a constructor
-
RE: MMM-Fitbit2 PythonShell is not a constructor
@Tippon
Hello - just wanted to inquire about this problem as I’m encountering the same thing but even with the mentioned change to the require statement it is continuing to occur.
Did you need to make any other changes or corrections to any of the files?
Thank you! -
RE: Error on Start (fresh install) - Electron Illegal Access
@sdetweil
I’d like to thank you so much for taking the time on this. I’ve figured out that it is a hardware issue. I switched up to a different monitor that is not display port and the MM is working correctly. I don’t know if its the Displayport that is the problem or not but I can use my other monitor for the actual MM build and just use this displayPort monitor as my secondary “reading” monitor.Hope you have a lovely weekend and thank you again for working with me.
-
RE: Error on Start (fresh install) - Electron Illegal Access
@sdetweil
currently im only at 1 but it said 2 before i rebooted my pi
The below is the result of those cmds in the ssh session into the pi on my desktoppi@raspberrypi:~ $ which chromium pi@raspberrypi:~ $ which chromium-browser /usr/bin/chromium-browser pi@raspberrypi:~ $
I’ve rebooted the pi before trying to start MM up again
-
RE: Error on Start (fresh install) - Electron Illegal Access
Ok when I do pm2 status i do see that the status is “online” after I do the pm2 start MagicMirror. However yes it appears there is another issue, as my display simply remains blank (I’ve 3 screens, 2 connected to my desktop with the 3rd connected to the Rpi4).
The log files show the following errors, which would seem its related to this line 102. Is it possible I need to edit this?/home/pi/.pm2/logs/MagicMirror-error.log last 50 lines: 0|MagicMir | ./run-start.sh: line 102: 841 Killed node server only 0|MagicMir | npm ERR! code ELIFECYCLE 0|MagicMir | npm ERR! errno 137 0|MagicMir | npm ERR! magicmirror@2.15.0 start: `./run-start.sh $1` 0|MagicMir | npm ERR! Exit status 137 0|MagicMir | npm ERR! 0|MagicMir | npm ERR! Failed at the magicmirror@2.15.0 start script. 0|MagicMir | npm ERR! This is probably not a problem with npm. There is likely a dditional logging output above. 0|MagicMir | 0|MagicMir | npm ERR! A complete log of this run can be found in: 0|MagicMir | npm ERR! /home/pi/.npm/_logs/2021-04-09T20_25_23_729Z-debug.log 0|MagicMir | ./run-start.sh: line 102: 2087 Killed node server only 0|MagicMir | npm ERR! code ELIFECYCLE 0|MagicMir | npm ERR! errno 137 0|MagicMir | npm ERR! magicmirror@2.15.0 start: `./run-start.sh $1` 0|MagicMir | npm ERR! Exit status 137 0|MagicMir | npm ERR! 0|MagicMir | npm ERR! Failed at the magicmirror@2.15.0 start script. 0|MagicMir | npm ERR! This is probably not a problem with npm. There is likely a dditional logging output above. 0|MagicMir | 0|MagicMir | npm ERR! A complete log of this run can be found in: 0|MagicMir | npm ERR! /home/pi/.npm/_logs/2021-04-09T20_27_20_593Z-debug.log 0|MagicMir | ./run-start.sh: line 102: 814 Killed node server only 0|MagicMir | npm ERR! code ELIFECYCLE 0|MagicMir | npm ERR! errno 137 0|MagicMir | npm ERR! magicmirror@2.15.0 start: `./run-start.sh $1` 0|MagicMir | npm ERR! Exit status 137 0|MagicMir | npm ERR! 0|MagicMir | npm ERR! Failed at the magicmirror@2.15.0 start script. 0|MagicMir | npm ERR! This is probably not a problem with npm. There is likely a dditional logging output above. 0|MagicMir | 0|MagicMir | npm ERR! A complete log of this run can be found in: 0|MagicMir | npm ERR! /home/pi/.npm/_logs/2021-04-09T20_53_27_407Z-debug.log
-
RE: Error on Start (fresh install) - Electron Illegal Access
@sdetweil
Thank you! I think that solved that problem.Should the monitor that is connected (its connected via a microHDMI to HDMI and then an HDMI to DisplayPort adapter at the other end) automatically display once I’ve run pm2 start MagicMirror? Or do I need to take an additional step?
It indicates process successfully started, however the monitor doesn’t show anything.
I should note we’ve only ever ssh’d into the Pi from our desktops and I’ve never used a GUI connected to the Pi before, so very possible I’m not doing something correctly in that regard. -
Error on Start (fresh install) - Electron Illegal Access
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-installationI 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!