Read the statement by Michael Teeuw here.
MagicMirror Failing on Raspberry Pi Zero W Rev 1.1
-
@sdetweil I scoured the forums and found someone else complaining about electron being missing.
I ran this
sudo npm i -g npm@6
and now it seems to be working fine. -
@davidgagne that makes no sense… the latest version of npm is 10.x
and you just installed v6… (maybe)do
npm -v
-
@davidgagne said in MagicMirror Failing on Raspberry Pi Zero W Rev 1.1:
MaxListenersExceededWarning: Possible EventEmitter memory
that is an npm bug… nothing we can do anything about. no impact on install
unicode… those are shell escape codes for color (the colors don’t show in the file, only on the actual console)
-
@sdetweil
npm -v
returns6.14.18
(and it takes a solid 45 seconds to do that, which seems like a very long time for such a simple command, even on a Zero). -
@davidgagne do free -m
pi is small on memory, so running off sd card a lot…
-
@sdetweil I was wrong. It’s not working fine.
It was working fine. Then I rebooted to make sure everything was fine. Comes back up with no problem.
Then I ssh-ed to it, installed a module, ran
npm install
inside the new module’s directory, executepm2 start MagicMirror
, and now MM crashes again looking for electron.So frustrating.
-
@sdetweil Can I run
sudo npm i -g npm@10
to upgrade to v10?Also: Can you help with getting my forum account upgraded so I don’t have all my posts queued for approval?
-
@davidgagne said in MagicMirror Failing on Raspberry Pi Zero W Rev 1.1:
pm2 start MagicMirror, and now MM crashes again looking for electron.
if you do
cd ~/MagicMirror npm start
what happens?
-
@sdetweil Here is the output from
npm start
called from within MM folder:> magicmirror@2.28.0 start /home/dvg/MagicMirror > ./run-start.sh $1 [2024-08-01 14:22:15.896] [LOG] Starting MagicMirror: v2.28.0 [2024-08-01 14:22:17.801] [LOG] Loading config ... [2024-08-01 14:22:17.876] [LOG] config template file not exists, no envsubst [2024-08-01 14:22:37.345] [LOG] Loading module helpers ... [2024-08-01 14:22:37.587] [LOG] No helper found for module: alert. [2024-08-01 14:22:39.311] [LOG] Initializing new module helper ... [2024-08-01 14:22:39.627] [LOG] Module helper loaded: updatenotification [2024-08-01 14:22:39.840] [LOG] No helper found for module: clock. [2024-08-01 14:22:40.776] [LOG] Initializing new module helper ... [2024-08-01 14:22:40.933] [LOG] Module helper loaded: mmm-systemtemperature [2024-08-01 14:22:41.119] [LOG] No helper found for module: compliments. [2024-08-01 14:22:41.252] [LOG] No helper found for module: weather. [2024-08-01 14:22:41.370] [LOG] No helper found for module: weather. [2024-08-01 14:22:41.440] [LOG] No helper found for module: weather. [2024-08-01 14:22:41.542] [LOG] All module helpers loaded. [2024-08-01 14:22:43.350] [LOG] Starting server on port 8080 ... [2024-08-01 14:22:44.452] [WARN] You're using a full whitelist configuration to allow for all IPs [2024-08-01 14:22:46.725] [LOG] Server started ... [2024-08-01 14:22:46.942] [LOG] Connecting socket for: updatenotification [2024-08-01 14:22:47.186] [LOG] Starting module helper: updatenotification [2024-08-01 14:22:47.362] [LOG] Connecting socket for: mmm-systemtemperature [2024-08-01 14:22:47.504] [LOG] Starting node helper: mmm-systemtemperature [2024-08-01 14:22:47.554] [LOG] Sockets connected & modules started ... [2024-08-01 14:22:47.633] [INFO] >>> Ready to go! Please point your browser to: http://0.0.0.0:8080 <<< Starting chromium browser now, have patience, it takes a minute Chromium_browser not installed ./run-start.sh: line 79: 11125 Killed node serveronly
-
@davidgagne said in MagicMirror Failing on Raspberry Pi Zero W Rev 1.1:
Can you help with getting my forum account upgraded so I don’t have all my posts queued for approval?
the config I requested for the forum a couple years ago is a reputation of 2, and then posts will not be moderated.
https://forum.magicmirror.builders/post/104688this keeps out all the spam, and other nasty stuff…
I review every post that goes thru moderation queue. so I am the bottleneck…
to improve your rep, takes contributing something that other users like enough to vote up your post…
I cannot override that.