<?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[Back to Booting to black]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/9143/mm-booting-to-black">MM booting to black</a></p>
<p dir="auto">Well, all was going pretty good.  I added some modules and removed some.  Had Carousel, NHL and NFL working well.  Almost.<br />
Then I changed the Calendar to another module, didn’t like the look so went back to calendar and everything went into the toilet.   It was booting to black so I went back into it from my laptop and checked the config.js file and could not find an error.  Copied it to Jshint and it gave this:<br />
One undefined variable<br />
111	module<br />
That was in the last line:<br />
/*************** DO NOT EDIT THE LINE BELOW ***************/<br />
if (typeof <strong>module</strong> !== “undefined”) {module.exports = config;}<br />
But that is the same in the sample and my backup.<br />
So I deleted the config.js and renamed the backup as config.js.  No change.<br />
I stopped the process with:<br />
pm2 stop all      and got:<br />
│ Name        │ mode │ status  │ ↺ │ cpu │ memory │<br />
├─────────────┼──────┼─────────┼───┼─────┼────────┤<br />
│ MagicMirror │ fork │ stopped │ 0 │ 0%  │ 0 B    │</p>
<p dir="auto">I ran    npm config:check and got:<br />
pi@raspberrypi:~/MagicMirror/config $ npm run config:check</p>
<blockquote>
<p dir="auto">magicmirror@2.6.0 config:check /home/pi/MagicMirror<br />
node tests/configs/check_config.js</p>
</blockquote>
<p dir="auto">Checking file…  /home/pi/MagicMirror/config/config.js<br />
Your configuration file doesn’t contain syntax errors :)</p>
<p dir="auto">So now I am not sure which direction to go.</p>
]]></description><link>https://forum.magicmirror.builders/topic/9640/back-to-booting-to-black</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 08:13:27 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/9640.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Jan 2019 17:56:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Back to Booting to black on Mon, 28 Jan 2019 19:24:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dwleo" aria-label="Profile: dwleo">@<bdi>dwleo</bdi></a>  no problem… thanks for letting us know… the system is sensitive in certain spots!</p>
<p dir="auto">can u mark your issue resolved?</p>
]]></description><link>https://forum.magicmirror.builders/post/51036</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51036</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 28 Jan 2019 19:24:59 GMT</pubDate></item><item><title><![CDATA[Reply to Back to Booting to black on Mon, 28 Jan 2019 19:22:00 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 />
Hurray!<br />
That did it.  I must have used my ‘fat fingers’ when in the MMM-NHL file.<br />
Thanks so much!</p>
]]></description><link>https://forum.magicmirror.builders/post/51035</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51035</guid><dc:creator><![CDATA[dwleo]]></dc:creator><pubDate>Mon, 28 Jan 2019 19:22:00 GMT</pubDate></item><item><title><![CDATA[Reply to Back to Booting to black on Mon, 28 Jan 2019 19:08:45 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 />
Thank you.  I will try that.</p>
]]></description><link>https://forum.magicmirror.builders/post/51034</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51034</guid><dc:creator><![CDATA[dwleo]]></dc:creator><pubDate>Mon, 28 Jan 2019 19:08:45 GMT</pubDate></item><item><title><![CDATA[Reply to Back to Booting to black on Mon, 28 Jan 2019 19:04:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dwleo" aria-label="Profile: dwleo">@<bdi>dwleo</bdi></a> ok, then you have a module name wrong, or u deleted it</p>
<p dir="auto">Cannot find module ‘moment-timezone’</p>
<p dir="auto">OR, you installed a module, but didn’t finish ITS install, by going to ITS folder and running npm install</p>
<p dir="auto">when a module uses other modules, (some not used by base MM), you have to do a manual step to install ITS dependencies</p>
<p dir="auto">so, I would look thru the modules u might have just installed, and edit the package.json file in each and look for moment-timezone… if its there, then u probably need to run npm install in that folder</p>
]]></description><link>https://forum.magicmirror.builders/post/51032</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51032</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 28 Jan 2019 19:04:48 GMT</pubDate></item><item><title><![CDATA[Reply to Back to Booting to black on Mon, 28 Jan 2019 18:38:41 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 />
Yeah, you are right. (sigh)<br />
Anyway I ran it and got this:<br />
pi@raspberrypi:~/MagicMirror $ node tests/configs/check_config.js<br />
Checking file…  /home/pi/MagicMirror/config/config.js<br />
Your configuration file doesn’t contain syntax errors :)</p>
]]></description><link>https://forum.magicmirror.builders/post/51030</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51030</guid><dc:creator><![CDATA[dwleo]]></dc:creator><pubDate>Mon, 28 Jan 2019 18:38:41 GMT</pubDate></item><item><title><![CDATA[Reply to Back to Booting to black on Mon, 28 Jan 2019 18:37:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dwleo" aria-label="Profile: dwleo">@<bdi>dwleo</bdi></a> yes, but there is a syntax error from all the editing you have done</p>
<p dir="auto">make a rule,</p>
<p dir="auto">1 change at  a time,<br />
AND save the working config.js before u edit</p>
]]></description><link>https://forum.magicmirror.builders/post/51029</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51029</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 28 Jan 2019 18:37:38 GMT</pubDate></item><item><title><![CDATA[Reply to Back to Booting to black on Mon, 28 Jan 2019 18:36:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dwleo" aria-label="Profile: dwleo">@<bdi>dwleo</bdi></a></p>
<p dir="auto">from the MM folder run</p>
<pre><code>node tests/configs/check_config.js
</code></pre>
<p dir="auto">and work thru the errors from top to bottom</p>
<p dir="auto">rerunning as needed</p>
]]></description><link>https://forum.magicmirror.builders/post/51027</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51027</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 28 Jan 2019 18:36:10 GMT</pubDate></item><item><title><![CDATA[Reply to Back to Booting to black on Mon, 28 Jan 2019 18:35:45 GMT]]></title><description><![CDATA[<p dir="auto">Sometimes I feel like a real noob.  Anyway the config.js file is there right where it always has been.</p>
]]></description><link>https://forum.magicmirror.builders/post/51026</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51026</guid><dc:creator><![CDATA[dwleo]]></dc:creator><pubDate>Mon, 28 Jan 2019 18:35:45 GMT</pubDate></item><item><title><![CDATA[Reply to Back to Booting to black on Mon, 28 Jan 2019 18:33:23 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 />
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘moment-timezone’</p>
]]></description><link>https://forum.magicmirror.builders/post/51024</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51024</guid><dc:creator><![CDATA[dwleo]]></dc:creator><pubDate>Mon, 28 Jan 2019 18:33:23 GMT</pubDate></item><item><title><![CDATA[Reply to Back to Booting to black on Mon, 28 Jan 2019 18:25:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dwleo" aria-label="Profile: dwleo">@<bdi>dwleo</bdi></a> well, you have to be IN the MM folder</p>
<pre><code>cd MagicMirror
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/51023</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51023</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 28 Jan 2019 18:25:36 GMT</pubDate></item><item><title><![CDATA[Reply to Back to Booting to black on Mon, 28 Jan 2019 18:15:16 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></p>
<p dir="auto">pi@raspberrypi:~ $ npm start dev<br />
npm ERR! missing script: start</p>
<p dir="auto">That’s what I got.</p>
]]></description><link>https://forum.magicmirror.builders/post/51022</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51022</guid><dc:creator><![CDATA[dwleo]]></dc:creator><pubDate>Mon, 28 Jan 2019 18:15:16 GMT</pubDate></item><item><title><![CDATA[Reply to Back to Booting to black on Mon, 28 Jan 2019 18:08:37 GMT]]></title><description><![CDATA[<p dir="auto">start the MM in debug mode</p>
<pre><code>npm start dev
</code></pre>
<p dir="auto">then select the console tab… look for errors (red text)</p>
<p dir="auto">altho usually black screen is caused by failures in the node modules</p>
<p dir="auto">so, minimze MM, alt-spacebar, n<br />
and look at errors in the console window (used above for npm start</p>
]]></description><link>https://forum.magicmirror.builders/post/51021</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51021</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 28 Jan 2019 18:08:37 GMT</pubDate></item></channel></rss>