<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Magic Mirror  flashing black screen after a power failure]]></title><description><![CDATA[<p dir="auto">After an power failure my RaspberryPi have been starting up but MagicMirror only is a flashing black screen. I try <code>pm2 restart MagicMirror</code> but nothing changed.<br />
Can someone help me pleas?! I post the log below<br />
Thanks!!</p>
<pre><code>pm2 log MagicMirror
</code></pre>
<pre><code>[TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with --lines option)
/home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
0|MagicMir |     at Module.require (internal/modules/cjs/loader.js:685:19)
0|MagicMir |     at require (internal/modules/cjs/helpers.js:16:16)
0|MagicMir |     at /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/browser/api/exports/electron.js:11:27
0|MagicMir |     at Object.app (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/api/exports/electron.js:12:29)
0|MagicMir | [2020-06-04 22:50:21.405] [ERROR]  TypeError: Cannot redefine property: applicationMenu
0|MagicMir |     at Function.defineProperty (&lt;anonymous&gt;)
0|MagicMir |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/browser/api/app.js:37:8)
0|MagicMir |     at Module._compile (internal/modules/cjs/loader.js:786:30)
0|MagicMir |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
0|MagicMir |     at Module.load (internal/modules/cjs/loader.js:645:32)
0|MagicMir |     at Function.Module._load (internal/modules/cjs/loader.js:560:12)
0|MagicMir |     at Module.require (internal/modules/cjs/loader.js:685:19)
0|MagicMir |     at require (internal/modules/cjs/helpers.js:16:16)
0|MagicMir |     at /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/browser/api/exports/electron.js:11:27
0|MagicMir |     at Object.app (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/api/exports/electron.js:12:29)

/home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
0|MagicMir | [2020-06-04 22:50:20.341] [LOG]    Whoops! There was an uncaught exception...
0|MagicMir | [2020-06-04 22:50:20.345] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [2020-06-04 22:50:20.346] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | [2020-06-04 22:50:20.588] [LOG]    Whoops! There was an uncaught exception...
0|MagicMir | [2020-06-04 22:50:20.604] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [2020-06-04 22:50:20.606] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | [2020-06-04 22:50:20.847] [LOG]    Whoops! There was an uncaught exception...
0|MagicMir | [2020-06-04 22:50:20.855] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [2020-06-04 22:50:20.858] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | [2020-06-04 22:50:21.128] [LOG]    Whoops! There was an uncaught exception...
0|MagicMir | [2020-06-04 22:50:21.146] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [2020-06-04 22:50:21.148] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | [2020-06-04 22:50:21.399] [LOG]    Whoops! There was an uncaught exception...
0|MagicMir | [2020-06-04 22:50:21.410] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [2020-06-04 22:50:21.413] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/13002/magic-mirror-flashing-black-screen-after-a-power-failure</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 15:16:07 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/13002.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 Jun 2020 20:54:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Magic Mirror  flashing black screen after a power failure on Fri, 05 Jun 2020 08:10:07 GMT]]></title><description><![CDATA[<p dir="auto">um. That’s a DNS error. Basically “Try again later” – Might wanna try a new OS install on a new card, and if that don’t work, you’ve got some slightly burned hardware.</p>
]]></description><link>https://forum.magicmirror.builders/post/76602</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/76602</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Fri, 05 Jun 2020 08:10:07 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror  flashing black screen after a power failure on Fri, 05 Jun 2020 06:22:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
Thanks i tryed your way but i get this…</p>
<pre><code>pi@raspberrypi:~ $ npm install electron@6.1.7 --only=prod
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! request to https://registry.npmjs.org/electron failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org registry.npmjs.org:443

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2020-06-05T06_21_53_740Z-debug.log

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/76599</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/76599</guid><dc:creator><![CDATA[lusiess01]]></dc:creator><pubDate>Fri, 05 Jun 2020 06:22:54 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror  flashing black screen after a power failure on Thu, 04 Jun 2020 23:57:38 GMT]]></title><description><![CDATA[<p dir="auto">I agree with Sam here - I’d bet the SD card got bit from the power failure.</p>
]]></description><link>https://forum.magicmirror.builders/post/76581</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/76581</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Thu, 04 Jun 2020 23:57:38 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror  flashing black screen after a power failure on Thu, 04 Jun 2020 21:20:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lusiess01" aria-label="Profile: lusiess01">@<bdi>lusiess01</bdi></a> i am sad to say this looks like an SD card problem…</p>
<p dir="auto">lets see if we can work around it. reinstall the exact same version</p>
<pre><code>grep version ~/MagicMirror/node_modules/electron/package.json
mv   ~/MagicMirror/node_modules/electron  ~/MagicMirror/node_modules/electron.save
npm install electron@??? --only=prod  # where ??? is the version number from the 1st statement
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/76567</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/76567</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 04 Jun 2020 21:20:31 GMT</pubDate></item></channel></rss>