<?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[trouble with config file]]></title><description><![CDATA[<p dir="auto">sorry if this is a newb question im new to the pi world. i have just installed everything needed for magic mirror to work. i changed the file name of config.js.sample to just config.js and magic mirror just gives a black screen when i run it. i dont know what im doing wrong but shouldnt at least the clock show up with the default config file or no? thanks in advanced for any help</p>
]]></description><link>https://forum.magicmirror.builders/topic/799/trouble-with-config-file</link><generator>RSS for Node</generator><lastBuildDate>Sat, 08 Aug 2026 19:29:19 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/799.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Oct 2016 03:37:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to trouble with config file on Tue, 18 Oct 2016 17:52:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bhepler" aria-label="Profile: bhepler">@<bdi>bhepler</bdi></a> said in <a href="/post/6475">trouble with config file</a>:</p>
<blockquote>
<p dir="auto">Just a suggestion: Try replacing that location id of <code>locationID: '23'</code> with <code>locationID: '2173741'</code>.</p>
</blockquote>
<p dir="auto">that fixed it for me thanks. i guess using the map to get the ID for my location wasn’t the right ID.<br />
Thank you everyone for your help my config file is the way i want it and it runs without any errors.</p>
]]></description><link>https://forum.magicmirror.builders/post/6478</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/6478</guid><dc:creator><![CDATA[II12yanII]]></dc:creator><pubDate>Tue, 18 Oct 2016 17:52:05 GMT</pubDate></item><item><title><![CDATA[Reply to trouble with config file on Tue, 18 Oct 2016 15:13:57 GMT]]></title><description><![CDATA[<p dir="auto">Just a suggestion: Try replacing that location id of <code>locationID: '23'</code> with <code>locationID: '2173741'</code>.</p>
]]></description><link>https://forum.magicmirror.builders/post/6475</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/6475</guid><dc:creator><![CDATA[bhepler]]></dc:creator><pubDate>Tue, 18 Oct 2016 15:13:57 GMT</pubDate></item><item><title><![CDATA[Reply to trouble with config file on Tue, 18 Oct 2016 02:24:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cowboysdude" aria-label="Profile: cowboysdude">@<bdi>cowboysdude</bdi></a> said in <a href="/post/6452">trouble with config file</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ii12yanii" aria-label="Profile: II12yanII">@<bdi>II12yanII</bdi></a> said in <a href="/post/6448">trouble with config file</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nuckinfutz" aria-label="Profile: nuckinfutz">@<bdi>nuckinfutz</bdi></a> said in <a href="/post/6334">trouble with config file</a>:</p>
<blockquote>
<p dir="auto">If you still haven’t gotten anywhere I’ll zip up and send you my entire directory structure and a step by step instruction sheet I wrote for myself to get the basic mirror up and running. You can compare them to yours and see where we differ. That should give you some insight.</p>
</blockquote>
<p dir="auto">that would be awesome. i still havent gotten anywhere. i reinstalled node.js along with reinstalling magic mirror and so on. the only thing i havent tried reinstalling is raspbain. but i still get the same startup script failed electron.js</p>
</blockquote>
<p dir="auto">My suggestion would be this…</p>
<p dir="auto">Format your card using this [please read the entire thing]-&gt;<br />
<a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/3">https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/3</a></p>
<p dir="auto">and reinstall raspbian…  This one -&gt; RASPBIAN JESSIE WITH PIXEL from: <a href="https://www.raspberrypi.org/downloads/raspbian/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/downloads/raspbian/</a></p>
<p dir="auto">From there open a terminal window and run:<br />
[Download and install the latest Node.js version]</p>
<p dir="auto"><code>curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -</code><br />
<code>sudo apt-get install -y nodejs</code></p>
<p dir="auto">After that is done then:</p>
<p dir="auto"><code>git clone https://github.com/MichMich/MagicMirror.git</code></p>
<p dir="auto">go to the MagicMirror folder and run:<br />
<code>npm install</code></p>
<p dir="auto">Once that’s completed run:<br />
<code>npm start</code></p>
<p dir="auto">IF you get any errors post a screen shot as that helps VERY much :)</p>
</blockquote>
<p dir="auto">Thanks so much that fixed it for me. it now runs without errors. but im back to my original problem of my config file. the weather and news just stay at loading … and never update. here is a copy of my config file. i believe i put in my api key and everything correctly.<br />
Edit. i got the fox news portion of my config file to work but the weather still doesn’t update at all.</p>
<p dir="auto">/* Magic Mirror Config Sample<br />
*</p>
<ul>
<li>By Michael Teeuw <a href="http://michaelteeuw.nl" target="_blank" rel="noopener noreferrer nofollow ugc">http://michaelteeuw.nl</a></li>
<li>MIT Licensed.<br />
*/</li>
</ul>
<p dir="auto">var config = {<br />
port: 8080,</p>
<pre><code>language: 'en',
timeFormat: 12,
units: 'imperial',

modules: [
	{
		module: 'alert',
	},
	{
		module: 'clock',
		position: 'top_left'
	},
	{
		module: 'calendar',
		header: 'US Holidays',
		position: 'top_left',
		config: {
			calendars: [
				{
					symbol: 'calendar-check-o ',
					url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
				}
			]
		}
	},
	{
		module: 'compliments',
		position: 'lower_third'
	},
	{
		module: 'currentweather',
		position: 'top_right',
		config: {
			location: 'Brunswick',
			locationID: '23',  //ID from http://www.openweathermap.org
			appid: 'cea6dc928b7d5437e5883dcda250fa8e'
		}
	},
	{
		module: 'weatherforecast',
		position: 'top_right',
		header: 'Weather Forecast',
		config: {
            location: 'Brunswick',
			locationID: '23',  //ID from http://www.openweathermap.org
            appid: 'cea6dc928b7d5437e5883dcda250fa8e'
		}
	},
	{
		module: 'newsfeed',
		position: 'bottom_bar',
		config: {
			feeds: [
				{
					title: "Fox News",
					url: "http://www.foxnews.com/about/rss/"
				}
			],
			showSourceTitle: true,
			showPublishDate: true
		}
	},
]
</code></pre>
<p dir="auto">};</p>
<p dir="auto">/*************** DO NOT EDIT THE LINE BELOW ***************/<br />
if (typeof module !== ‘undefined’) {module.exports = config;}</p>
]]></description><link>https://forum.magicmirror.builders/post/6455</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/6455</guid><dc:creator><![CDATA[II12yanII]]></dc:creator><pubDate>Tue, 18 Oct 2016 02:24:51 GMT</pubDate></item><item><title><![CDATA[Reply to trouble with config file on Tue, 18 Oct 2016 01:52:16 GMT]]></title><description><![CDATA[<p dir="auto">Sorry about the delay. Here’s my solution.<br />
If you still have a problem I’ll zip everything up and send it to you.<br />
my solution and cowboys are similar but I always make sure with linux flavors everything is up to date. It’s just a habbit I also made everything so you could just copy entire commands then paste them into the terminal to save time<br />
Install jessie using this Noobs link.</p>
<p dir="auto">Its super easy to follow and takes care of a lot of basic steps automatically</p>
<p dir="auto"><a href="https://www.raspberrypi.org/downloads/noobs/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/downloads/noobs/</a><br />
Follow the directions</p>
<p dir="auto">If you need to set up a wireless card go here scroll down and<br />
follow the wireless instructions then come back here</p>
<pre><code>https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/6
</code></pre>
<p dir="auto">Now to configure your Pi go to superkey(Windows key) - preferences - raspberry pi configuration<br />
Set up location, keyboard, time zone and time. <em>The correct time is very important.</em></p>
<p dir="auto">open up a terminal and run this the following command to get everything up to date</p>
<pre><code>sudo apt-get update ; sudo apt-get upgrade
</code></pre>
<p dir="auto">Now run the following to update the RPi firmware</p>
<pre><code>sudo rpi-update
</code></pre>
<p dir="auto">When done reboot</p>
<p dir="auto">Now install the MM software<br />
Open a terminal and run</p>
<p dir="auto">curl -sL <a href="https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh" target="_blank" rel="noopener noreferrer nofollow ugc">https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh</a> | bash</p>
<p dir="auto">Rotate your screen if you want by doing this. I didnt bother for now</p>
<pre><code>sudo nano /boot/config.txt
</code></pre>
<h1>Rotate display vertically</h1>
<p dir="auto">display_rotate=1</p>
<pre><code>ctrl-x to save then Y for yes
</code></pre>
<p dir="auto">Now do this Or just use your file manager to make your copy of the config file.<br />
I never modify the .sample file</p>
<pre><code>cd /home/pi/MagicMirror/config
cp config.js.sample config.js
</code></pre>
<p dir="auto">now change to the MM folder</p>
<pre><code>cd /home/pi/MagicMirror
</code></pre>
<p dir="auto">Use the following to start your mirror</p>
<pre><code>DISPLAY=:0 npm start
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/6454</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/6454</guid><dc:creator><![CDATA[nuckinfutz]]></dc:creator><pubDate>Tue, 18 Oct 2016 01:52:16 GMT</pubDate></item><item><title><![CDATA[Reply to trouble with config file on Mon, 17 Oct 2016 23:16:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ii12yanii" aria-label="Profile: II12yanII">@<bdi>II12yanII</bdi></a> said in <a href="/post/6448">trouble with config file</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nuckinfutz" aria-label="Profile: nuckinfutz">@<bdi>nuckinfutz</bdi></a> said in <a href="/post/6334">trouble with config file</a>:</p>
<blockquote>
<p dir="auto">If you still haven’t gotten anywhere I’ll zip up and send you my entire directory structure and a step by step instruction sheet I wrote for myself to get the basic mirror up and running. You can compare them to yours and see where we differ. That should give you some insight.</p>
</blockquote>
<p dir="auto">that would be awesome. i still havent gotten anywhere. i reinstalled node.js along with reinstalling magic mirror and so on. the only thing i havent tried reinstalling is raspbain. but i still get the same startup script failed electron.js</p>
</blockquote>
<p dir="auto">My suggestion would be this…</p>
<p dir="auto">Format your card using this [please read the entire thing]-&gt;<br />
<a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/3">https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/3</a></p>
<p dir="auto">and reinstall raspbian…  This one -&gt; RASPBIAN JESSIE WITH PIXEL from: <a href="https://www.raspberrypi.org/downloads/raspbian/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/downloads/raspbian/</a></p>
<p dir="auto">From there open a terminal window and run:<br />
[Download and install the latest Node.js version]</p>
<p dir="auto"><code>curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -</code><br />
<code>sudo apt-get install -y nodejs</code></p>
<p dir="auto">After that is done then:</p>
<p dir="auto"><code>git clone https://github.com/MichMich/MagicMirror.git</code></p>
<p dir="auto">go to the MagicMirror folder and run:<br />
<code>npm install</code></p>
<p dir="auto">Once that’s completed run:<br />
<code>npm start</code></p>
<p dir="auto">IF you get any errors post a screen shot as that helps VERY much :)</p>
]]></description><link>https://forum.magicmirror.builders/post/6452</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/6452</guid><dc:creator><![CDATA[cowboysdude]]></dc:creator><pubDate>Mon, 17 Oct 2016 23:16:52 GMT</pubDate></item><item><title><![CDATA[Reply to trouble with config file on Mon, 17 Oct 2016 19:55:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nuckinfutz" aria-label="Profile: nuckinfutz">@<bdi>nuckinfutz</bdi></a> said in <a href="/post/6334">trouble with config file</a>:</p>
<blockquote>
<p dir="auto">If you still haven’t gotten anywhere I’ll zip up and send you my entire directory structure and a step by step instruction sheet I wrote for myself to get the basic mirror up and running. You can compare them to yours and see where we differ. That should give you some insight.</p>
</blockquote>
<p dir="auto">that would be awesome. i still havent gotten anywhere. i reinstalled node.js along with reinstalling magic mirror and so on. the only thing i havent tried reinstalling is raspbain. but i still get the same startup script failed electron.js</p>
]]></description><link>https://forum.magicmirror.builders/post/6448</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/6448</guid><dc:creator><![CDATA[II12yanII]]></dc:creator><pubDate>Mon, 17 Oct 2016 19:55:58 GMT</pubDate></item><item><title><![CDATA[Reply to trouble with config file on Sat, 15 Oct 2016 02:09:05 GMT]]></title><description><![CDATA[<p dir="auto">If you still haven’t gotten anywhere I’ll zip up and send you my entire directory structure and a step by step instruction sheet I wrote for myself to get the basic mirror up and running. You can compare them to yours and see where we differ. That should give you some insight.</p>
]]></description><link>https://forum.magicmirror.builders/post/6334</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/6334</guid><dc:creator><![CDATA[nuckinfutz]]></dc:creator><pubDate>Sat, 15 Oct 2016 02:09:05 GMT</pubDate></item><item><title><![CDATA[Reply to trouble with config file on Fri, 14 Oct 2016 16:23:46 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/uploads/files/1476462128146-2016-10-14-161534_655x390_scrot.png" alt="0_1476462126517_2016-10-14-161534_655x390_scrot.png" class=" img-fluid img-markdown" /><br />
so it seems as if my config file isnt whats wrong the electron.js isnt working right. i did the command git pull to update it and it says im using the most current version. is there a command to verify all of the files or no?</p>
]]></description><link>https://forum.magicmirror.builders/post/6307</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/6307</guid><dc:creator><![CDATA[II12yanII]]></dc:creator><pubDate>Fri, 14 Oct 2016 16:23:46 GMT</pubDate></item><item><title><![CDATA[Reply to trouble with config file on Fri, 14 Oct 2016 15:40:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nuckinfutz" aria-label="Profile: nuckinfutz">@<bdi>nuckinfutz</bdi></a> said in <a href="/post/6239">trouble with config file</a>:</p>
<blockquote>
<p dir="auto">Your assumption is correct.</p>
<p dir="auto">Did you follow this?</p>
<p dir="auto"><a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial">https://forum.magicmirror.builders/topic/236/complete-setup-tutorial</a></p>
<p dir="auto">If so it  should work.  If doesn’t let me know and I’ll see what I can do.</p>
<p dir="auto">P.S. Do not change the name of the  config.js.sample  Copy it and name the copy config.js</p>
</blockquote>
<p dir="auto">thanks ill give that guide a look at and see if that will work.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a> said in <a href="/topic/799/trouble-with-config-file/3">trouble with config file</a>:</p>
<blockquote>
<p dir="auto">Need more information here, including what hardware are you attempting to run it on.</p>
</blockquote>
<p dir="auto">i have the raspberry pi 3. i installed the latest raspbain jessie with pixel and i download the latest magic mirror version using the command curl -sL <a href="https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh" target="_blank" rel="noopener noreferrer nofollow ugc">https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh</a> | bash.<br />
i also made sure that raspbain is up to date by using the update and upgrade commands.</p>
]]></description><link>https://forum.magicmirror.builders/post/6303</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/6303</guid><dc:creator><![CDATA[II12yanII]]></dc:creator><pubDate>Fri, 14 Oct 2016 15:40:07 GMT</pubDate></item><item><title><![CDATA[Reply to trouble with config file on Thu, 13 Oct 2016 17:56:22 GMT]]></title><description><![CDATA[<p dir="auto">Need more information here, including what hardware are you attempting to run it on.</p>
]]></description><link>https://forum.magicmirror.builders/post/6249</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/6249</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Thu, 13 Oct 2016 17:56:22 GMT</pubDate></item><item><title><![CDATA[Reply to trouble with config file on Thu, 13 Oct 2016 16:41:23 GMT]]></title><description><![CDATA[<p dir="auto">Your assumption is correct.</p>
<p dir="auto">Did you follow this?</p>
<p dir="auto"><a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial">https://forum.magicmirror.builders/topic/236/complete-setup-tutorial</a></p>
<p dir="auto">If so it  should work.  If doesn’t let me know and I’ll see what I can do.</p>
<p dir="auto">P.S. Do not change the name of the  config.js.sample  Copy it and name the copy config.js</p>
]]></description><link>https://forum.magicmirror.builders/post/6239</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/6239</guid><dc:creator><![CDATA[nuckinfutz]]></dc:creator><pubDate>Thu, 13 Oct 2016 16:41:23 GMT</pubDate></item></channel></rss>