<?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[Config file Error - &#x27;Split&#x27; Property]]></title><description><![CDATA[<p dir="auto">So, I am not a SW engineering and a code neophyte, so my question may lack some of that clarity or insight. I just added a few new modules to my Config file, went through a round of troubleshooting syntax (e.g., missing commas and braces, etc.), and now I am getting an error that says: “WARNING: Could not load config file. Starting with default configuration. Error found: TypeError: Cannot read propert ‘split’ of undefined.”</p>
<p dir="auto">Any ideas of where that error may reside?!</p>
]]></description><link>https://forum.magicmirror.builders/topic/14523/config-file-error-split-property</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 07:19:04 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/14523.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 27 Jan 2021 15:13:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Config file Error - &#x27;Split&#x27; Property on Thu, 28 Jan 2021 01:19:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/paulyp2k6" aria-label="Profile: paulyp2k6">@<bdi>paulyp2k6</bdi></a> i didn’t write the others, just reference really good writers</p>
]]></description><link>https://forum.magicmirror.builders/post/87921</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/87921</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 28 Jan 2021 01:19:16 GMT</pubDate></item><item><title><![CDATA[Reply to Config file Error - &#x27;Split&#x27; Property on Thu, 28 Jan 2021 01:17:46 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> Holy smokes!! Thanks so much for your patience with me on this one. I am sorry that took so long. And thanks for the extra training modules.</p>
]]></description><link>https://forum.magicmirror.builders/post/87920</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/87920</guid><dc:creator><![CDATA[paulyp2k6]]></dc:creator><pubDate>Thu, 28 Jan 2021 01:17:46 GMT</pubDate></item><item><title><![CDATA[Reply to Config file Error - &#x27;Split&#x27; Property on Thu, 28 Jan 2021 01:14:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/paulyp2k6" aria-label="Profile: paulyp2k6">@<bdi>paulyp2k6</bdi></a> said in <a href="/post/87918">Config file Error - 'Split' Property</a>:</p>
<blockquote>
<p dir="auto">{<br />
modules: [<br />
{<br />
module: ‘MMM-OnThisDay’,</p>
</blockquote>
<p dir="auto">another modules array in the middle of the modules array?</p>
<p dir="auto">see the two topics in my signature below</p>
<p dir="auto">modules:[   … only once<br />
all module defs go in here, one after the other. nowhere else<br />
]</p>
]]></description><link>https://forum.magicmirror.builders/post/87919</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/87919</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 28 Jan 2021 01:14:16 GMT</pubDate></item><item><title><![CDATA[Reply to Config file Error - &#x27;Split&#x27; Property on Thu, 28 Jan 2021 01:07:33 GMT]]></title><description><![CDATA[<p dir="auto">/* Magic Mirror Config Sample<br />
*</p>
<ul>
<li>By Michael Teeuw <a href="https://michaelteeuw.nl" target="_blank" rel="noopener noreferrer nofollow ugc">https://michaelteeuw.nl</a></li>
<li>MIT Licensed.</li>
<li></li>
<li>For more information on how you can configure this file</li>
<li>See <a href="https://github.com/MichMich/MagicMirror#configuration" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror#configuration</a></li>
<li></li>
</ul>
<p dir="auto">*/</p>
<p dir="auto">var config = {<br />
address: “localhost”, 	// Address to listen on, can be:<br />
// - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface<br />
// - another specific IPv4/6 to listen on a specific interface<br />
// - “0.0.0.0”, “::” to listen on any interface<br />
// Default, when address config is left out or empty, is “localhost”<br />
port: 8080,<br />
basePath: “/”, 	// The URL path where MagicMirror is hosted. If you are using a Reverse proxy<br />
// you must set the sub path here. basePath must end with a /<br />
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”], 	// Set [] to allow all IP addresses<br />
// or add a specific IPv4 of 192.168.1.5 :<br />
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.5”],<br />
// or IPv4 range of 192.168.3.0 --&gt; 192.168.3.15 use CIDR format :<br />
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.3.0/28”],</p>
<pre><code>useHttps: false, 		// Support HTTPS or not, default "false" will use HTTP
httpsPrivateKey: "", 	// HTTPS private key path, only require when useHttps is true
httpsCertificate: "", 	// HTTPS Certificate path, only require when useHttps is true

language: "en",
logLevel: ["INFO", "LOG", "WARN", "ERROR"],
timeFormat: 24,
units: "metric",
// serverOnly:  true/false/"local" ,
// local for armv6l processors, default
//   starts serveronly and then starts chrome browser
// false, default for all NON-armv6l devices
// true, force serveronly mode, because you want to.. no UI on this device

modules: [
	{
		module: "alert"
	},
	{
		module: "updatenotification",
		position: "top_bar"
	},
	{
		module: "clock",
		position: "top_left"
	},
	{
		module: "calendar",
		position: "top_left",
	},
	{
		module: "compliments",
		position: "lower_third",
		config: {
			compliments: {
			anytime: [
				"Praise God!"
				],
			morning: [
				"Say your morning offering",
				"Live for others",
				"Read Psalm 23"
				],
			afternoon: [
				"Say the Angelus",
				"Give Thanks to God",
				"Looking good today!"
				],
			evening: [
				"Do your Daily Examen",
				"Have your prayed today?"
				]
			}
	}
	},
	{
	    	modules: [
		{
		    module: 'MMM-OnThisDay',
		    position: "top_center"
		}
	    ]
	},
	{
		module: 'MMM-DailyBibleVerse',
		position: 'bottom_bar',	// This can be any of the regions. Best result is in the bottom_bar as verses can take multiple lines in a day.
		config: {
			version: 'NIV', // This can be changed to any version you want that is offered by Bible Gateway. For a list, go here: https://www.biblegateway.com/versions/,
    			size: 'small' // default value is medium, but can be changed. 
			}							
	},
	{
		  module: "MMM-MyScoreboard",
		  position: "bottom_right",
		  classes: "default everyone",
		  header: "My Scoreboard",
		  config: {
		    showLeagueSeparators: true,
		    colored: true,
		    viewStyle: "mediumLogos",
		    sports: [
		      {
			league: "NHL",
			groups: ["Atlantic"]
		      },
		      {
			league: "NBA",
			teams: ["CHI"]
		      },
		      {
			league: "MLB",
			teams: ["CHC"],
			groups: ["NL Central"]
		      },
		      {
			league: "NFL",
			teams: ["CHI"]
		      },
		      {
			league: "ENGLISH_PREMIERE_LEAGUE"
		      },
		      {
			league: "NCAAM_MM",
			label: "March Madness"
		      },
		      {
			league: "NCAAF",
			label: "ILL",
			groups: "Big Ten"
		      }
		    ]
		  }
	},
	{
		module: "currentweather",
		position: "top_right",
		config: {
			location: "Wheaton",
			units: "imperial",				
			locationID: "4916288", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
			appid: "49865c49c53acd625df34235834afaa0"
		}
	},
	{
		module: "weatherforecast",
		position: "top_right",
		header: "Weather Forecast",
		config: {
			location: "Wheaton",
			units: "imperial",				
			locationID: "4916288", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
			appid: "49865c49c53acd625df34235834afaa0"
		}
	},
	{
		module: "newsfeed",
		position: "bottom_bar",
		config: {
			feeds: [
				{
					title: "New York Times",
					url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml"
				}
			],
			showSourceTitle: true,
			showPublishDate: true,
			broadcastNewsFeeds: true,
			broadcastNewsUpdates: 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/87918</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/87918</guid><dc:creator><![CDATA[paulyp2k6]]></dc:creator><pubDate>Thu, 28 Jan 2021 01:07:33 GMT</pubDate></item><item><title><![CDATA[Reply to Config file Error - &#x27;Split&#x27; Property on Thu, 28 Jan 2021 00:59:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/paulyp2k6" aria-label="Profile: paulyp2k6">@<bdi>paulyp2k6</bdi></a> can u post the config.js?</p>
]]></description><link>https://forum.magicmirror.builders/post/87917</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/87917</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 28 Jan 2021 00:59:47 GMT</pubDate></item><item><title><![CDATA[Reply to Config file Error - &#x27;Split&#x27; Property on Thu, 28 Jan 2021 00:51:15 GMT]]></title><description><![CDATA[<p dir="auto">2021-01-27 18:49:34.496] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: TypeError: Cannot read property ‘split’ of undefined<br />
[2021-01-27 18:49:34.501] [ERROR]  App threw an error during load<br />
[2021-01-27 18:49:34.502] [ERROR]  TypeError: Cannot read property ‘split’ of undefined<br />
at loadModule (/home/pi/MagicMirror/js/app.js:115:25)<br />
at loadNextModule (/home/pi/MagicMirror/js/app.js:169:5)<br />
at /home/pi/MagicMirror/js/app.js:171:6<br />
at loadModule (/home/pi/MagicMirror/js/app.js:153:4)<br />
at loadNextModule (/home/pi/MagicMirror/js/app.js:169:5)<br />
at /home/pi/MagicMirror/js/app.js:171:6<br />
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)<br />
at loadModule (/home/pi/MagicMirror/js/app.js:151:6)<br />
at loadNextModule (/home/pi/MagicMirror/js/app.js:169:5)<br />
at /home/pi/MagicMirror/js/app.js:171:6<br />
[2021-01-27 18:49:34.503] [ERROR]  Whoops! There was an uncaught exception…<br />
[2021-01-27 18:49:34.504] [ERROR]  TypeError: Cannot read property ‘split’ of undefined<br />
at loadModule (/home/pi/MagicMirror/js/app.js:115:25)<br />
at loadNextModule (/home/pi/MagicMirror/js/app.js:169:5)<br />
at /home/pi/MagicMirror/js/app.js:171:6<br />
at loadModule (/home/pi/MagicMirror/js/app.js:153:4)<br />
at loadNextModule (/home/pi/MagicMirror/js/app.js:169:5)<br />
at /home/pi/MagicMirror/js/app.js:171:6<br />
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)<br />
at loadModule (/home/pi/MagicMirror/js/app.js:151:6)<br />
at loadNextModule (/home/pi/MagicMirror/js/app.js:169:5)<br />
at /home/pi/MagicMirror/js/app.js:171:6<br />
[2021-01-27 18:49:34.507] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?<br />
[2021-01-27 18:49:34.508] [ERROR]  If you think this really is an issue, please open an issue on GitHub: <a href="https://github.com/MichMich/MagicMirror/issues" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/issues</a></p>
]]></description><link>https://forum.magicmirror.builders/post/87916</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/87916</guid><dc:creator><![CDATA[paulyp2k6]]></dc:creator><pubDate>Thu, 28 Jan 2021 00:51:15 GMT</pubDate></item><item><title><![CDATA[Reply to Config file Error - &#x27;Split&#x27; Property on Wed, 27 Jan 2021 22:58:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/paulyp2k6" aria-label="Profile: paulyp2k6">@<bdi>paulyp2k6</bdi></a> ok, then do this</p>
<p dir="auto">cd ~/MagicMirror<br />
npm start &gt;somefile<br />
wait, hit ctrl-c<br />
and show us somefile</p>
]]></description><link>https://forum.magicmirror.builders/post/87908</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/87908</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 27 Jan 2021 22:58:52 GMT</pubDate></item><item><title><![CDATA[Reply to Config file Error - &#x27;Split&#x27; Property on Wed, 27 Jan 2021 21:55:28 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> So, I ran the Syntax check just now, like you suggested, and the Config file has no Syntax errors.</p>
]]></description><link>https://forum.magicmirror.builders/post/87906</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/87906</guid><dc:creator><![CDATA[paulyp2k6]]></dc:creator><pubDate>Wed, 27 Jan 2021 21:55:28 GMT</pubDate></item><item><title><![CDATA[Reply to Config file Error - &#x27;Split&#x27; Property on Wed, 27 Jan 2021 16:52:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/paulyp2k6" aria-label="Profile: paulyp2k6">@<bdi>paulyp2k6</bdi></a> javascript is pretty straightforward in data definitions. allows comments, cause its ‘code’, vs json which is not, and very precise</p>
]]></description><link>https://forum.magicmirror.builders/post/87881</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/87881</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 27 Jan 2021 16:52:04 GMT</pubDate></item><item><title><![CDATA[Reply to Config file Error - &#x27;Split&#x27; Property on Wed, 27 Jan 2021 16:12:47 GMT]]></title><description><![CDATA[<p dir="auto">Thanks so much, I will give that a try. In my college days the most frequent error was a missing semi-colon. Now it seems to be missing commas. Syntax will always be my downfall. But, thanks for the help.</p>
]]></description><link>https://forum.magicmirror.builders/post/87880</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/87880</guid><dc:creator><![CDATA[paulyp2k6]]></dc:creator><pubDate>Wed, 27 Jan 2021 16:12:47 GMT</pubDate></item><item><title><![CDATA[Reply to Config file Error - &#x27;Split&#x27; Property on Wed, 27 Jan 2021 15:36:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/paulyp2k6" aria-label="Profile: paulyp2k6">@<bdi>paulyp2k6</bdi></a> , no but do<br />
npm run config:check<br />
in the mm folder to check syntax.</p>
<p dir="auto">disable stuff til u find it</p>
<p dir="auto">many times u misspelled something.<br />
split means array []… so look for stuff like that.</p>
<p dir="auto">i admit even as hard as i tried, i missed many opportunities to catch these errors</p>
]]></description><link>https://forum.magicmirror.builders/post/87879</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/87879</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 27 Jan 2021 15:36:11 GMT</pubDate></item></channel></rss>