<?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[MMM-Ring:  Module error]]></title><description><![CDATA[<p dir="auto">MMM-Ring:  Module, is giving me this error  when running pm2 logs, this is the only module failing. It was working good until I updated npm I think and now I can’t figure it out.</p>
<p dir="auto">0|MagicMirror  | [17.07.2021 00:33.49.258] [ERROR]<br />
0|MagicMirror  | 2021-07-17T00:33:49  (node:3641) UnhandledPromiseRejectionWarning: TypeError: Cannot read property ‘subscribe’ of undefined<br />
0|MagicMirror  |     at Class.monitorRingActivity (/home/pi/MagicMirror/modules/MMM-Ring/node_helper.js:84:40)<br />
0|MagicMirror  |     at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Ring/node_helper.js:61:12)<br />
0|MagicMirror  |  (/home/pi/MagicMirror/internal/process/warning.js:32 writeOut)<br />
0|MagicMirror  | [17.07.2021 00:33.49.260] [ERROR]<br />
0|MagicMirror  | 2021-07-17T00:33:49  (node:3641) 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 <code>--unhandled-rejections=strict</code> (see <a href="https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode" target="_blank" rel="noopener noreferrer nofollow ugc">https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode</a>). (rejection id: 1) (/home/pi/MagicMirror/internal/process/warning.js:32 writeOut)<br />
0|MagicMirror  | [17.07.2021 00:33.49.261] [ERROR]<br />
0|MagicMirror  | 2021-07-17T00:33:49  (node:3641) [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. (/home/pi/MagicMirror/internal/process/warning.js:32 writeOut)</p>
<p dir="auto">pi@mm:~/MagicMirror/modules/MMM-Ring $ npm list<br />
MMM-Ring@1.0.0 /home/pi/MagicMirror/modules/MMM-Ring<br />
├── chokidar@3.5.1<br />
├── dotenv@8.6.0<br />
├── hls.js@0.13.2<br />
├── latest-version@5.1.0<br />
├── ring-client-api@4.2.3<br />
└── rxjs@6.6.7</p>
<p dir="auto">pi@mm:~/MagicMirror/modules/MMM-Ring $ npm install latest-version</p>
<p dir="auto">up to date, audited 105 packages in 3s</p>
<p dir="auto">1 package is looking for funding<br />
run <code>npm fund</code> for details</p>
<p dir="auto">2 high severity vulnerabilities</p>
<p dir="auto">To address all issues (including breaking changes), run:<br />
npm audit fix --force</p>
<p dir="auto">Run <code>npm audit</code> for details.</p>
<p dir="auto">Forgot to  include npm version<br />
pi@mm:~/MagicMirror $ npm -v<br />
7.19.1</p>
]]></description><link>https://forum.magicmirror.builders/topic/15287/mmm-ring-module-error</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 20:36:16 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/15287.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 17 Jul 2021 08:51:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-Ring:  Module error on Sat, 17 Jul 2021 19:32:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kanostic" aria-label="Profile: kanostic">@<bdi>kanostic</bdi></a> said in <a href="/post/92925">MMM-Ring: Module error</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Thank you doing a npm install and npm audit fix --force did the trick, apologies for all the basic questions, I am pretty new to Magic Mirror.</p>
</blockquote>
<p dir="auto">Good to know, thank you again.</p>
]]></description><link>https://forum.magicmirror.builders/post/92927</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/92927</guid><dc:creator><![CDATA[Kanostic]]></dc:creator><pubDate>Sat, 17 Jul 2021 19:32:37 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Ring:  Module error on Sat, 17 Jul 2021 19:35:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kanostic" aria-label="Profile: kanostic">@<bdi>kanostic</bdi></a> said in <a href="/post/92925">MMM-Ring: Module error</a>:</p>
<blockquote>
<p dir="auto">npm audit fix --force</p>
</blockquote>
<p dir="auto">careful on that,   many times it causes more problems than it fixes…<br />
generally recommend to ignore the messages (and we can’t hide them)</p>
]]></description><link>https://forum.magicmirror.builders/post/92926</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/92926</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 17 Jul 2021 19:35:28 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Ring:  Module error on Sat, 17 Jul 2021 19:23:25 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> Thank you doing a npm install and npm audit fix --force did the trick, apologies for all the basic questions, I am pretty new to Magic Mirror.</p>
]]></description><link>https://forum.magicmirror.builders/post/92925</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/92925</guid><dc:creator><![CDATA[Kanostic]]></dc:creator><pubDate>Sat, 17 Jul 2021 19:23:25 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Ring:  Module error on Sat, 17 Jul 2021 17:27:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kanostic" aria-label="Profile: kanostic">@<bdi>kanostic</bdi></a> maybe just  npm install in the module folder</p>
]]></description><link>https://forum.magicmirror.builders/post/92924</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/92924</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 17 Jul 2021 17:27:54 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Ring:  Module error on Sat, 17 Jul 2021 17:27:11 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> Thanks I downgraded npm to 6.14.13</p>
<p dir="auto">$ npm -v<br />
6.14.13</p>
<p dir="auto">Restarted mm and I’m still getting the same error in the logs, do I need to reinstall MMM-Ring and all it’s dependencies?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.magicmirror.builders/post/92923</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/92923</guid><dc:creator><![CDATA[Kanostic]]></dc:creator><pubDate>Sat, 17 Jul 2021 17:27:11 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Ring:  Module error on Sat, 17 Jul 2021 11:51:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kanostic" aria-label="Profile: kanostic">@<bdi>kanostic</bdi></a> yes, we’ve seen some errors on npm  7.  I would fall back to v6.</p>
]]></description><link>https://forum.magicmirror.builders/post/92921</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/92921</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 17 Jul 2021 11:51:30 GMT</pubDate></item></channel></rss>