<?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[UnhandledPromiseRejectionWarning on launch]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I’m actually configure my first MM.<br />
Since yesterday, and i don’t know why, i’ve a message on launch the MM</p>
<pre><code>pi@MagicMirror:~/MagicMirror $ npm run start

&gt; magicmirror@2.17.1 start
&gt; DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

[29.11.2021 13:35.32.237] [LOG]   Starting MagicMirror: v2.17.1
[29.11.2021 13:35.32.250] [LOG]   Loading config ...
[29.11.2021 13:35.32.263] [LOG]   Loading module helpers ...
[29.11.2021 13:35.32.267] [LOG]   No helper found for module: alert.
[29.11.2021 13:35.32.301] [LOG]   Initializing new module helper ...
[29.11.2021 13:35.32.303] [LOG]   Module helper loaded: updatenotification
[29.11.2021 13:35.32.306] [LOG]   No helper found for module: clock.
[29.11.2021 13:35.32.622] [LOG]   Initializing new module helper ...
[29.11.2021 13:35.32.624] [LOG]   Module helper loaded: calendar
[29.11.2021 13:35.32.626] [LOG]   No helper found for module: weather.
[29.11.2021 13:35.32.629] [LOG]   No helper found for module: compliments.
[29.11.2021 13:35.32.631] [LOG]   No helper found for module: MMM-Traffic.
[29.11.2021 13:35.32.673] [LOG]   Initializing new module helper ...
[29.11.2021 13:35.32.675] [LOG]   Module helper loaded: newsfeed
[29.11.2021 13:35.32.679] [LOG]   Initializing new module helper ...
[29.11.2021 13:35.32.681] [LOG]   Module helper loaded: MMM-Jeedom
[29.11.2021 13:35.32.683] [LOG]   All module helpers loaded.
[29.11.2021 13:35.32.846] [LOG]   Starting server on port 8080 ...
[29.11.2021 13:35.32.872] [LOG]   Server started ...
[29.11.2021 13:35.32.875] [LOG]   Connecting socket for: updatenotification
[29.11.2021 13:35.32.878] [LOG]   Connecting socket for: calendar
[29.11.2021 13:35.32.880] [LOG]   Starting node helper for: calendar
[29.11.2021 13:35.32.881] [LOG]   Connecting socket for: newsfeed
[29.11.2021 13:35.32.883] [LOG]   Starting node helper for: newsfeed
[29.11.2021 13:35.32.885] [LOG]   Connecting socket for: MMM-Jeedom
[29.11.2021 13:35.32.886] [LOG]   Sockets connected &amp; modules started ...
[29.11.2021 13:35.33.271] [LOG]   Launching application.
[29.11.2021 13:35.37.108] [LOG]   Create new calendarfetcher for url: http://p28-caldav.icloud.com/published/2/XXX - Interval: 300000
[29.11.2021 13:35.37.170] [LOG]   Create new calendarfetcher for url: http://p28-caldav.icloud.com/published/2/XXX - Interval: 300000
[29.11.2021 13:35.37.420] [LOG]   Create new newsfetcher for url: https://www.ladepeche.fr/rss.xml - Interval: 300000
[29.11.2021 13:35.37.438] [INFO]  Checking git for module: default
[29.11.2021 13:35.37.481] [INFO]  Checking git for module: MMM-Traffic
[29.11.2021 13:35.37.504] [INFO]  Checking git for module: MMM-Jeedom
[29.11.2021 13:35.38.791] [INFO]  Calendar-Fetcher: Broadcasting 10 events.
[29.11.2021 13:35.38.845] [INFO]  Newsfeed-Fetcher: Broadcasting 100 items.
[29.11.2021 13:35.43.285] [INFO]  Calendar-Fetcher: Broadcasting 10 events.
[29.11.2021 13:35.44.412] [ERROR] (node:3953) UnhandledPromiseRejectionWarning: Error: Command failed: cd /home/pi/MagicMirror/ &amp;&amp; git fetch --dry-run
error: droits insuffisants pour ajouter un objet à la base de données .git/objects du dépôt
fatal: failed to write object
fatal: échec de unpack-objects

    at ChildProcess.exithandler (child_process.js:317:12)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1048:16)
    at Socket.&lt;anonymous&gt; (internal/child_process.js:439:11)
    at Socket.emit (events.js:315:20)
    at Pipe.&lt;anonymous&gt; (net.js:673:12)
(Use `electron --trace-warnings ...` to show where the warning was created)
[29.11.2021 13:35.44.416] [ERROR] (node:3953) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[29.11.2021 13:35.44.418] [ERROR] (node:3953) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
^C/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
</code></pre>
<p dir="auto">The MM works perfectly, but i don’t know why i’ve this message.<br />
Could you help me ?</p>
<p dir="auto">Thank you :) !</p>
]]></description><link>https://forum.magicmirror.builders/topic/15933/unhandledpromiserejectionwarning-on-launch</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 18:13:08 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/15933.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Nov 2021 12:41:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to UnhandledPromiseRejectionWarning on launch on Fri, 10 Dec 2021 12:44:20 GMT]]></title><description><![CDATA[<p dir="auto">Solved, please see issue on github.<br />
My fault :)</p>
]]></description><link>https://forum.magicmirror.builders/post/97338</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/97338</guid><dc:creator><![CDATA[selyjohns]]></dc:creator><pubDate>Fri, 10 Dec 2021 12:44:20 GMT</pubDate></item><item><title><![CDATA[Reply to UnhandledPromiseRejectionWarning on launch on Mon, 29 Nov 2021 15:25:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
Issue posted on github :)<br />
<a href="https://github.com/MichMich/MagicMirror/issues/2717" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/issues/2717</a></p>
<p dir="auto">I’ll keep you informed.<br />
Nice day.</p>
]]></description><link>https://forum.magicmirror.builders/post/96895</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96895</guid><dc:creator><![CDATA[selyjohns]]></dc:creator><pubDate>Mon, 29 Nov 2021 15:25:54 GMT</pubDate></item><item><title><![CDATA[Reply to UnhandledPromiseRejectionWarning on launch on Mon, 29 Nov 2021 14:05: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> I think it’s an sudoers ;)</p>
]]></description><link>https://forum.magicmirror.builders/post/96889</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96889</guid><dc:creator><![CDATA[bugsounet]]></dc:creator><pubDate>Mon, 29 Nov 2021 14:05:45 GMT</pubDate></item><item><title><![CDATA[Reply to UnhandledPromiseRejectionWarning on launch on Mon, 29 Nov 2021 13:34:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/selyjohns" aria-label="Profile: selyjohns">@<bdi>selyjohns</bdi></a> but we confirmed it is that module… I would open an issue in the github repo for MagicMirror</p>
]]></description><link>https://forum.magicmirror.builders/post/96887</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96887</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 29 Nov 2021 13:34:09 GMT</pubDate></item><item><title><![CDATA[Reply to UnhandledPromiseRejectionWarning on launch on Mon, 29 Nov 2021 13:33:13 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 />
Hi sam,</p>
<p dir="auto">Thank you for this quickly response.<br />
I confirm, move this module to disabled and i don’t have UnhandledPromiseRejectionWarning anymore…</p>
<p dir="auto">But i think this is not a good solution ?</p>
]]></description><link>https://forum.magicmirror.builders/post/96886</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96886</guid><dc:creator><![CDATA[selyjohns]]></dc:creator><pubDate>Mon, 29 Nov 2021 13:33:13 GMT</pubDate></item><item><title><![CDATA[Reply to UnhandledPromiseRejectionWarning on launch on Mon, 29 Nov 2021 12:55:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/selyjohns" aria-label="Profile: selyjohns">@<bdi>selyjohns</bdi></a> I don’t know why either.</p>
<p dir="auto">this is likely the updatenotification module</p>
<p dir="auto">edit the config.js and add</p>
<p dir="auto">disabled: true,</p>
<p dir="auto">after the line<br />
module: “updatenotification”<br />
make sure there is a comma on the end of the module line</p>
<pre><code>{
   module:"updatenotification",
    disabled: true
},
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/96885</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96885</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 29 Nov 2021 12:55:46 GMT</pubDate></item></channel></rss>