<?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[WARNING! Could not validate config file]]></title><description><![CDATA[<p dir="auto">Bonjour a tous,<br />
Etant debutant j’ai tout de meme reussi a creer la mirroir mais je ne m’en suis pas servi pendant un moment et quand j’ai voulu le remettre en marche il ne fonctionnais plus forcement donc j’ai refait mon fichier config.js mais quand je lance npm start le message :<br />
WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:49<br />
]<br />
^</p>
<p dir="auto">SyntaxError: Unexpected token ]<br />
at Module._compile (internal/modules/cjs/loader.js:722:23)<br />
at Object.Module._extensions…js (internal/modules/cjs/loader.js:798:10)<br />
at Module.load (internal/modules/cjs/loader.js:645:32)<br />
at Function.Module._load (internal/modules/cjs/loader.js:560:12)<br />
at Module.require (internal/modules/cjs/loader.js:685:19)<br />
at require (internal/modules/cjs/helpers.js:16:16)<br />
at loadConfig (/home/pi/MagicMirror/js/app.js:67:12)<br />
at App.start (/home/pi/MagicMirror/js/app.js:202:3)<br />
at Object. (/home/pi/MagicMirror/js/electron.js:126:7)<br />
at Module._compile (internal/modules/cjs/loader.js:786:30)<br />
s’affiche et le mirroir affiche un message d’erreur lui aussi je ne comprend pas pourquoi  pourtant j’ai tout verifier sur plusieur site etc et aucun probleme … HELP</p>
]]></description><link>https://forum.magicmirror.builders/topic/13254/warning-could-not-validate-config-file</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 00:07:02 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/13254.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 12 Jul 2020 09:58:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WARNING! Could not validate config file on Mon, 13 Jul 2020 15:19:54 GMT]]></title><description><![CDATA[<p dir="auto">Désolé, je ne suis pas développeur de ce module, je ne peux pas aider la dessus</p>
]]></description><link>https://forum.magicmirror.builders/post/78406</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78406</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 13 Jul 2020 15:19:54 GMT</pubDate></item><item><title><![CDATA[Reply to WARNING! Could not validate config file on Mon, 13 Jul 2020 08:19:37 GMT]]></title><description><![CDATA[<p dir="auto">Je reviens vers vous car j’ai un probleme avec le modules MMM-Transilien qui n’affiche pas de train et j’ai le message “MMM-Transilien : Error: certificate has expired” qui est afficher dans mon terminal … pourrais tu m’aider (ou je dois refaire un topic?)</p>
]]></description><link>https://forum.magicmirror.builders/post/78399</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78399</guid><dc:creator><![CDATA[Hergo]]></dc:creator><pubDate>Mon, 13 Jul 2020 08:19:37 GMT</pubDate></item><item><title><![CDATA[Reply to WARNING! Could not validate config file on Sun, 12 Jul 2020 11:57:41 GMT]]></title><description><![CDATA[<p dir="auto">Merci je ne sais pas ce que tu a corriger mais ca fonctionne :) merci beaucoup</p>
]]></description><link>https://forum.magicmirror.builders/post/78378</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78378</guid><dc:creator><![CDATA[Hergo]]></dc:creator><pubDate>Sun, 12 Jul 2020 11:57:41 GMT</pubDate></item><item><title><![CDATA[Reply to WARNING! Could not validate config file on Sun, 12 Jul 2020 11:41:54 GMT]]></title><description><![CDATA[<p dir="auto">ok, j’ai lancer et corriger:</p>
<pre><code class="language-sh">[2020-07-12 13:37:39.040] [LOG]    Starting MagicMirror: v2.12.0
[2020-07-12 13:37:39.043] [LOG]    Loading config ...
[2020-07-12 13:37:39.053] [LOG]    Loading module helpers ...
[2020-07-12 13:37:39.054] [LOG]    No helper found for module: alert.
[2020-07-12 13:37:39.071] [LOG]    Initializing new module helper ...
[2020-07-12 13:37:39.071] [LOG]    Module helper loaded: updatenotification
[2020-07-12 13:37:39.071] [LOG]    No helper found for module: clock.
[2020-07-12 13:37:40.434] [LOG]    Initializing new module helper ...
[2020-07-12 13:37:40.434] [LOG]    Module helper loaded: calendar
[2020-07-12 13:37:40.435] [LOG]    No helper found for module: MMM-DarkSkyForecast.
[2020-07-12 13:37:40.435] [LOG]    No helper found for module: weatherforecast.
[2020-07-12 13:37:40.575] [LOG]    Initializing new module helper ...
[2020-07-12 13:37:40.575] [LOG]    Module helper loaded: newsfeed
[2020-07-12 13:37:40.575] [LOG]    No helper found for module: MMM-NowPlayingOnSpotify.
[2020-07-12 13:37:40.576] [LOG]    No helper found for module: MMM-Transilien.
[2020-07-12 13:37:40.576] [LOG]    All module helpers loaded.
[2020-07-12 13:37:40.613] [LOG]    Starting server on port 8080 ... 
[2020-07-12 13:37:40.617] [LOG]    Server started ...
[2020-07-12 13:37:40.617] [LOG]    Connecting socket for: updatenotification
[2020-07-12 13:37:40.618] [LOG]    Connecting socket for: calendar
[2020-07-12 13:37:40.618] [LOG]    Starting node helper for: calendar
[2020-07-12 13:37:40.618] [LOG]    Connecting socket for: newsfeed
[2020-07-12 13:37:40.618] [LOG]    Starting node helper for: newsfeed
[2020-07-12 13:37:40.618] [LOG]    Sockets connected &amp; modules started ...
[2020-07-12 13:37:40.674] [LOG]    Launching application.
[2020-07-12 13:37:41.548] [LOG]    Create new calendar fetcher for url: http://www.webcal.fi/cal.php?id=180&amp;format=ics&amp;wrn=1&amp;wp=4&amp;wf=53&amp;color=%23FF3100&amp;cntr=fr&amp;lang=fr&amp;rid=wc - Interval: 300000
[2020-07-12 13:37:41.564] [LOG]    Create new news fetcher for url: http://www.20minutes.fr/rss/actu-france.xml - Interval: 300000
[2020-07-12 13:37:41.925] [INFO]   Calendar-Fetcher: Broadcasting 13 events.
[2020-07-12 13:37:42.321] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
</code></pre>
<p dir="auto">config.js:</p>
<pre><code>/* Magic Mirror Config Sample
*

By Michael Teeuw http://michaelteeuw.nl
MIT Licensed.
For more information how you can configurate this file
See https://github.com/MichMich/MagicMirror#configuration
*/

var config = {
address: "localhost", // Address to listen on, can be:
// - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - “”, “0.0.0.0”, “::” to listen on any interface
// Default, when address config is left out, is “localhost”
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, "::ffff$
// or IPv4 range of 192.168.3.0 --&gt; 192.168.3.15 us$
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, "::ffff$
language: "fr",
    timeFormat: 24,
    units: "metric",

    modules: [
            {
                    module: "alert",
            },
            {
                    module: "updatenotification",
                    position: "top_bar"
            },
            {
                    module: "clock",
                    position: "top_left"
            },
            {
                    module: "calendar",
                    header: "Jours Fériés",
                    position: "top_left",
                    config: {
                            calendars: [
                                    {
                                            symbol: "calendar-check",
                                            url: "webcal://www.webcal.fi/cal.php?id=180&amp;format=ics&amp;wrn=1&amp;wp=4&amp;wf=53&amp;color=%23FF3100&amp;cntr=fr&amp;lang=fr&amp;rid=wc"
                                    }
                            ]
                    }
            },
            {
                    module: "MMM-DarkSkyForecast",
                    header: "Weather",
                    position: "top_right",
                    classes: "default everyone",
                    disabled: false,
                    config: {
                            apikey: "5591aa062fc3d9a59b191108d4fa2429",
                            latitude: "49.012830",
                            longitude: "2.251830",      
                            iconset: "4c",
                            concise: false,
                            forecastLayout: "tiled" ,
                            language: "fr" ,
                            label_timeFormat: "k[h]" ,
                            hourlyForecastInterval: "0" ,
                            maxHourliesToShow: "0" ,
                            maxDailiesToShow: "0" ,
                            label_high: "Max" ,
                            label_low: "Min" 
                    }
            },
            {
                    module: "weatherforecast",
                    position: "top_right",
                    header: "Prévisions à",
                    config: {
                            location: "Saint-Leu-la-Foret",
                            locationID: "2978768",  //ID from http://bulk.openwea$
                            appid: " XXXX "
                    }
            },
            {
                    module: "newsfeed",
                    position: "bottom_bar",
                    config: {
                            feeds: [
                                    {
                                            title: "20 Minutes",
                                            url: "http://www.20minutes.fr/rss/actu-france.xml"
                                    }
                            ],
                            showSourceTitle: true,
                            showPublishDate: true,
                            broadcastNewsFeeds: true,
                            broadcastNewsUpdates: true
                    }
            },
            { 
                    module : "MMM-NowPlayingOnSpotify" , 
                    position : "bottom_left" ,
                    config : { 
                              showCoverArt : false , 
                              clientID : " XXXX " , 
                              clientSecret : " XXXX " , 
                              accessToken : " XXXX " , 
                              refreshToken : " XXXX " 
                    } 
            },
            {
                    module: 'MMM-Transilien',
                    position: 'top_left',
                    header:'Persan Beaumont vers St-Denis',
                    config:{
                            departUIC:"87276469",
                            arriveeUIC:"87271015",
                            login: "XXXX ", // You must add your API login and password
                            password:"",
                            showRemainingTime: true
                    }
            },

    ]
    };

/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
</code></pre>
<p dir="auto">attention:<br />
<code>“</code> n’est pas la meme chose que <code>"</code><br />
c’est la source des erreurs<br />
il faut utiliser ceci <code>"</code></p>
]]></description><link>https://forum.magicmirror.builders/post/78377</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78377</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 12 Jul 2020 11:41:54 GMT</pubDate></item><item><title><![CDATA[Reply to WARNING! Could not validate config file on Sun, 12 Jul 2020 11:32:23 GMT]]></title><description><![CDATA[<p dir="auto">Effectivement, merci mais j’ai toujours le meme message : “please create a config file” sur l’ecran …</p>
]]></description><link>https://forum.magicmirror.builders/post/78376</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78376</guid><dc:creator><![CDATA[Hergo]]></dc:creator><pubDate>Sun, 12 Jul 2020 11:32:23 GMT</pubDate></item><item><title><![CDATA[Reply to WARNING! Could not validate config file on Sun, 12 Jul 2020 11:25:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hergo" aria-label="Profile: Hergo">@<bdi>Hergo</bdi></a> said in <a href="/post/78373">WARNING! Could not validate config file</a>:</p>
<pre><code class="language-js">&gt; {
&gt;                     module: "calendar",
&gt;                     header: "Jours Fériés",
&gt;                     position: "top_left",
&gt;                     config: {
&gt;                             calendars: [
&gt;                                     {
&gt;                                             symbol: "calendar-check",
&gt;                                             url: "webcal://www.webcal.fi/cal.php?id=180&amp;format=ics&amp;wrn=1&amp;wp=4&amp;wf=53&amp;color=%23FF3100&amp;cntr=fr&amp;lang=fr&amp;rid=wc"
&gt;                             ]
&gt;                     }
&gt;             },
</code></pre>
<p dir="auto">il manque une parenthese. une a été ouverte mais pas fermé par la suite</p>
<p dir="auto">essaye avec ceci en remplacement:</p>
<pre><code class="language-js">            {
                    module: "calendar",
                    header: "Jours Fériés",
                    position: "top_left",
                    config: {
                            calendars: [
                                    {
                                            symbol: "calendar-check",
                                            url: "webcal://www.webcal.fi/cal.php?id=180&amp;format=ics&amp;wrn=1&amp;wp=4&amp;wf=53&amp;color=%23FF3100&amp;cntr=fr&amp;lang=fr&amp;rid=wc"
                                    }
                            ]
                    }
            },
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/78374</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78374</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 12 Jul 2020 11:25:05 GMT</pubDate></item><item><title><![CDATA[Reply to WARNING! Could not validate config file on Sun, 12 Jul 2020 11:17:23 GMT]]></title><description><![CDATA[<p dir="auto">Merci de ta reponse voici mon config.js (bien sur j’ai cacher mes id)</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.</li>
<li></li>
<li>For more information how you can configurate 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, is “localhost”<br />
port: 8080,<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$<br />
// or IPv4 range of 192.168.3.0 --&gt; 192.168.3.15 us$<br />
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, "::ffff$</p>
<pre><code>    language: "fr",
    timeFormat: 24,
    units: "metric",

    modules: [
            {
                    module: "alert",
            },
            {
                    module: "updatenotification",
                    position: "top_bar"
            },
            {
                    module: "clock",
                    position: "top_left"
            },
            {
                    module: "calendar",
                    header: "Jours Fériés",
                    position: "top_left",
                    config: {
                            calendars: [
                                    {
                                            symbol: "calendar-check",
                                            url: "webcal://www.webcal.fi/cal.php?id=180&amp;format=ics&amp;wrn=1&amp;wp=4&amp;wf=53&amp;color=%23FF3100&amp;cntr=fr&amp;lang=fr&amp;rid=wc"
                            ]
                    }
            },
            {
                    module: "MMM-DarkSkyForecast",
                    header: "Weather",
                    position: "top_right",
                    classes: "default everyone",
                    disabled: false,
                    config: {
                            apikey: "5591aa062fc3d9a59b191108d4fa2429",
                            latitude: "49.012830",
                            longitude: "2.251830",      
                            iconset: "4c",
                            concise: false,
                            forecastLayout: "tiled" ,
                            language: "fr" ,
                            label_timeFormat: "k[h]" ,
                            hourlyForecastInterval: "0" ,
                            maxHourliesToShow: "0" ,
                            maxDailiesToShow: "0" ,
                            label_high: "Max" ,
                            label_low: "Min" 
                    }
            },
            {
                    module: "weatherforecast",
                    position: "top_right",
                    header: "Prévisions à",
                    config: {
                            location: "Saint-Leu-la-Foret",
                            locationID: "2978768",  //ID from http://bulk.openwea$
                            appid: « XXXX »
                    }
            },
            {
                    module: "newsfeed",
                    position: "bottom_bar",
                    config: {
                            feeds: [
                                    {
                                            title: "20 Minutes",
                                            url: "http://www.20minutes.fr/rss/actu-france.xml"
                                    }
                            ],
                            showSourceTitle: true,
                            showPublishDate: true,
                            broadcastNewsFeeds: true,
                            broadcastNewsUpdates: true
                    }
            },
            { 
                    module : "MMM-NowPlayingOnSpotify" , 
                    position : "bottom_left" ,
                    config : { 
                              showCoverArt : false , 
                              clientID : « XXXX » , 
                              clientSecret : « XXXX » , 
                              accessToken : « XXXX » , 
                              refreshToken : « XXXX » 
                    } 
            },
            {
                    module: 'MMM-Transilien',
                    position: 'top_left',
                    header:'Persan Beaumont vers St-Denis',
                    config:{
                            departUIC:"87276469",
                            arriveeUIC:"87271015",
                            login: »XXXX », // You must add your API login and password
                            password:"",
                            showRemainingTime: 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/78373</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78373</guid><dc:creator><![CDATA[Hergo]]></dc:creator><pubDate>Sun, 12 Jul 2020 11:17:23 GMT</pubDate></item><item><title><![CDATA[Reply to WARNING! Could not validate config file on Sun, 12 Jul 2020 11:07:06 GMT]]></title><description><![CDATA[<p dir="auto">Bonjour,</p>
<p dir="auto">Peux-tu, éventuellement, coller ton <code>config.js</code> ici que je puisse l’inspecter ?</p>
]]></description><link>https://forum.magicmirror.builders/post/78372</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78372</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 12 Jul 2020 11:07:06 GMT</pubDate></item></channel></rss>