<?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[Cannot find module &quot;moment&quot;]]></title><description><![CDATA[<p dir="auto">After i want to try install twitter(npm) it crashed btw. Then i can’t access my localhost. I use PI Zero W .Here is my logs:<br />
<img src="/assets/uploads/files/1627142945213-8c52e384-5042-4a70-81af-b3a8e2d42781-image.png" alt="8c52e384-5042-4a70-81af-b3a8e2d42781-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/topic/15302/cannot-find-module-moment</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 04:53:56 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/15302.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Jul 2021 16:09:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Thu, 29 Jul 2021 19:25:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/uok825" aria-label="Profile: uok825">@<bdi>uok825</bdi></a> maybe u have to pass a header in the request for utf8 formated response, or encoded…</p>
]]></description><link>https://forum.magicmirror.builders/post/93238</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93238</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 29 Jul 2021 19:25:23 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Thu, 29 Jul 2021 17:35:03 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> Hi there! Problem solved. New code:</p>
<pre><code>/* Magic Mirror
 * Module: MMM-LICE
 *
 * By Mykle1
 *
 */
const NodeHelper = require('node_helper');
const request = require('request');
const cheerio = require('cheerio');


module.exports = NodeHelper.create({

    start: function() {
        console.log("Starting node_helper for: " + this.name);
    },

    getLICE: function(url) {
		
    request({
        url: 'https://kur.altin.in/banka',
        method: 'GET'
    }, (error, response, body) =&gt; {
		
        if (!error &amp;&amp; response.statusCode == 200) {
            const $ = cheerio.load(body);
			var arr = []
            var result = $('.fiyat');
            result.each((_id,el) =&gt;  (arr.push(el.children[0]['data'])))
            var result = $('h2[id=gfiy]');
            result.each((_id,el) =&gt;  (arr.push(el.children[0]['data'])))
            this.sendSocketNotification('LICE_RESULT', arr);

        }

    });
},

    socketNotificationReceived: function(notification, payload) {
        if (notification === 'GET_LICE') {
            this.getLICE(payload);
        }
    }
});

</code></pre>
<p dir="auto">But i have an another problem. Turkish characters in the news seem broken. I think there is a utf-8 error but it doesn’t write anything in the logs.<br />
Edit: The news site is broken, it’s not a mistake about us.</p>
]]></description><link>https://forum.magicmirror.builders/post/93237</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93237</guid><dc:creator><![CDATA[uok825]]></dc:creator><pubDate>Thu, 29 Jul 2021 17:35:03 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Mon, 26 Jul 2021 18:04:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/uok825" aria-label="Profile: uok825">@<bdi>uok825</bdi></a> ok, but THAT also make no sense…</p>
]]></description><link>https://forum.magicmirror.builders/post/93171</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93171</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 26 Jul 2021 18:04:28 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Mon, 26 Jul 2021 17:50: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 just rebuild the module without using request.</p>
]]></description><link>https://forum.magicmirror.builders/post/93170</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93170</guid><dc:creator><![CDATA[uok825]]></dc:creator><pubDate>Mon, 26 Jul 2021 17:50:45 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Mon, 26 Jul 2021 13:22:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/uok825" aria-label="Profile: uok825">@<bdi>uok825</bdi></a> weird. never seen such a thing</p>
<p dir="auto">can u try changing the $ to zz</p>
<p dir="auto">in the require and where used.</p>
<p dir="auto">$ is usually used for jQuery</p>
]]></description><link>https://forum.magicmirror.builders/post/93165</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93165</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 26 Jul 2021 13:22:51 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Mon, 26 Jul 2021 10:26:17 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> Deleted parents but still same.</p>
<pre><code>0|MagicMirror  | [26.07.2021 13:25.47.639] [ERROR]
0|MagicMirror  | Whoops! There was an uncaught exception...
0|MagicMirror  | [26.07.2021 13:25.47.741] [ERROR]
0|MagicMirror  | TypeError: $ is not a function
0|MagicMirror  |     at Request.request [as _callback] (/home/pi/MagicMirror/mod                                                                                                             ules/MMM-LICE/node_helper.js:27:26)
0|MagicMirror  |     at Request.self.callback (/home/pi/MagicMirror/modules/MMM-                                                                                                             LICE/node_modules/request/request.js:185:22)
0|MagicMirror  |     at Request.emit (events.js:198:13)
0|MagicMirror  |     at Request.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-LI                                                                                                             CE/node_modules/request/request.js:1154:10)
0|MagicMirror  |     at Request.emit (events.js:198:13)
0|MagicMirror  |     at IncomingMessage.&lt;anonymous&gt; (/home/pi/MagicMirror/module                                                                                                             s/MMM-LICE/node_modules/request/request.js:1076:12)
0|MagicMirror  |     at Object.onceWrapper (events.js:286:20)
0|MagicMirror  |     at IncomingMessage.emit (events.js:203:15)
0|MagicMirror  |     at endReadableNT (_stream_readable.js:1145:12)
0|MagicMirror  |     at process._tickCallback (internal/process/next_tick.js:63:                                                                                                             19)
0|MagicMirror  | [26.07.2021 13:25.47.770] [ERROR]
0|MagicMirror  | MagicMirror will not quit, but it might be a good idea to check                                                                                                              why this happened. Maybe no internet connection?
0|MagicMirror  | [26.07.2021 13:25.47.788] [ERROR] If you think this really is a                                                                                                             n issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror                                                                                                             /issues


</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/93164</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93164</guid><dc:creator><![CDATA[uok825]]></dc:creator><pubDate>Mon, 26 Jul 2021 10:26:17 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Mon, 26 Jul 2021 01:34:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/uok825" aria-label="Profile: uok825">@<bdi>uok825</bdi></a> do u need that set of parents in front of $</p>
<pre><code>($('.....'))
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/93158</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93158</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 26 Jul 2021 01:34:26 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 23:38:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/uok825" aria-label="Profile: uok825">@<bdi>uok825</bdi></a> hm… I use it so it should be easy…</p>
]]></description><link>https://forum.magicmirror.builders/post/93157</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93157</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 Jul 2021 23:38:16 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 23:17:10 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></p>
<pre><code>
pi@raspberrypi:~ $ cd ~/MagicMirror/modules/MMM-LICE
pi@raspberrypi:~/MagicMirror/modules/MMM-LICE $ ls node_modules/cheerio
LICENSE  lib  package.json  Readme.md
pi@raspberrypi:~/MagicMirror/modules/MMM-LICE $

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/93156</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93156</guid><dc:creator><![CDATA[uok825]]></dc:creator><pubDate>Sun, 25 Jul 2021 23:17:10 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 23:14:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/uok825" aria-label="Profile: uok825">@<bdi>uok825</bdi></a> did cheerio get installed?</p>
<pre><code>cd ~/MagicMirror/modules/MMM-LICE
ls node_modules/cheerio 
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/93155</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93155</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 Jul 2021 23:14:56 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 23:13:10 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 />
Still same</p>
<pre><code>pi@raspberrypi:~/MagicMirror/modules/MMM-LICE $ pm2 logs
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/home/pi/.pm2/pm2.log last 15 lines:
PM2        | 2021-07-26T02:05:51: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2        | 2021-07-26T02:05:52: PM2 log: App [MagicMirror:0] online

/home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
0|MagicMir | [26.07.2021 02:06.21.033] [WARN]  The module 'currentweather' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
0|MagicMir | [26.07.2021 02:06.21.065] [WARN]  The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path

/home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
0|MagicMir | [26.07.2021 02:06.21.048] [LOG] Connecting socket for: weatherforecast
0|MagicMir | [26.07.2021 02:06.21.074] [LOG] Connecting socket for: newsfeed
0|MagicMir | [26.07.2021 02:06.21.090] [LOG] Starting node helper for: newsfeed
0|MagicMir | [26.07.2021 02:06.21.102] [LOG] Connecting socket for: MMM-cryptocurrency
0|MagicMir | [26.07.2021 02:06.21.112] [LOG] Cryptocurrency module loaded!
0|MagicMir | [26.07.2021 02:06.21.128] [LOG] Connecting socket for: MMM-MyPrayerTimes
0|MagicMir | [26.07.2021 02:06.21.144] [LOG] Starting node_helper for: MMM-MyPrayerTimes
0|MagicMir | [26.07.2021 02:06.21.159] [LOG] Connecting socket for: MMM-LICE
0|MagicMir | [26.07.2021 02:06.21.174] [LOG] Starting node_helper for: MMM-LICE
0|MagicMir | [26.07.2021 02:06.21.187] [LOG] Connecting socket for: MMM-PIR
0|MagicMir | [26.07.2021 02:06.21.202] [LOG] Starting module helper: MMM-PIR
0|MagicMir | [26.07.2021 02:06.21.211] [LOG] Sockets connected &amp; modules started ...
0|MagicMir | [26.07.2021 02:06.21.221] [LOG]
0|MagicMir | Ready to go! Please point your browser to: http://0.0.0.0:8080
0|MagicMir | Starting chromium browser now, have patience, it takes a minute

0|MagicMirror  | [26.07.2021 02:08.03.737] [LOG]
0|MagicMirror  | Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/10s0ee0h3tb1ko7fqhpf71sfgs%40group.calendar.google.com/private-d3794e10c136ecfea3ad72fe63078acd/basic.ics - Interval: 300000
0|MagicMirror  | [26.07.2021 02:08.05.785] [LOG]
0|MagicMirror  | Create new newsfetcher for url: https://www.cnnturk.com/feed/rss/turkiye/news - Interval: 300000
0|MagicMirror  | [26.07.2021 02:08.07.210] [LOG]
0|MagicMirror  | Create new newsfetcher for url: https://www.birgun.net/xml/rss.xml - Interval: 300000
0|MagicMirror  | [26.07.2021 02:08.15.652] [ERROR]
0|MagicMirror  | Whoops! There was an uncaught exception...
0|MagicMirror  | [26.07.2021 02:08.15.761] [ERROR]
0|MagicMirror  | TypeError: $ is not a function
0|MagicMirror  |     at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-LICE/node_helper.js:27:27)
0|MagicMirror  |     at Request.self.callback (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:185:22)
0|MagicMirror  |     at Request.emit (events.js:198:13)
0|MagicMirror  |     at Request.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:1154:10)
0|MagicMirror  |     at Request.emit (events.js:198:13)
0|MagicMirror  |     at IncomingMessage.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:1076:12)
0|MagicMirror  |     at Object.onceWrapper (events.js:286:20)
0|MagicMirror  |     at IncomingMessage.emit (events.js:203:15)
0|MagicMirror  |     at endReadableNT (_stream_readable.js:1145:12)
0|MagicMirror  |     at process._tickCallback (internal/process/next_tick.js:63:19)
0|MagicMirror  | [26.07.2021 02:08.15.803] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMirror  | [26.07.2021 02:08.15.842] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/93154</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93154</guid><dc:creator><![CDATA[uok825]]></dc:creator><pubDate>Sun, 25 Jul 2021 23:13:10 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 22:52:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/uok825" aria-label="Profile: uok825">@<bdi>uok825</bdi></a> continue</p>
<p dir="auto">might not create a package.json if not one</p>
<p dir="auto">redo after the npm init</p>
]]></description><link>https://forum.magicmirror.builders/post/93153</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93153</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 Jul 2021 22:52:53 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 22:52:17 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> Now im doing the npm install request cheerio --save . Should I continue or cancel?</p>
]]></description><link>https://forum.magicmirror.builders/post/93152</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93152</guid><dc:creator><![CDATA[uok825]]></dc:creator><pubDate>Sun, 25 Jul 2021 22:52:17 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 22:51:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/uok825" aria-label="Profile: uok825">@<bdi>uok825</bdi></a> in the module folder do<br />
npm init</p>
<p dir="auto">answer the questions as best u can, ignore them if u can’t</p>
<p dir="auto">then<br />
npm install request cheerio --save</p>
<p dir="auto">then update your git repo with the new package.json file</p>
]]></description><link>https://forum.magicmirror.builders/post/93151</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93151</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 Jul 2021 22:51:54 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 22:49:40 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 man. You are the best. <a href="https://github.com/uok825/MagicMirror/tree/master/modules/MMM-LICE" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/uok825/MagicMirror/tree/master/modules/MMM-LICE</a></p>
]]></description><link>https://forum.magicmirror.builders/post/93150</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93150</guid><dc:creator><![CDATA[uok825]]></dc:creator><pubDate>Sun, 25 Jul 2021 22:49:40 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 22:48:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/uok825" aria-label="Profile: uok825">@<bdi>uok825</bdi></a>  yep, that’ll do it…</p>
<p dir="auto">npm install cheerio</p>
<p dir="auto">my updater would have fixed all this IF there was a package.json file that documented the dependencies</p>
<p dir="auto">npm install request cheerio --save</p>
]]></description><link>https://forum.magicmirror.builders/post/93149</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93149</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 Jul 2021 22:48:36 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 22:46:56 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></p>
<pre><code>/* Magic Mirror
 * Module: MMM-LICE
 *
 * By Mykle1
 *
 */
const NodeHelper = require('node_helper');
const request = require('request');
const $ = require('cheerio');


module.exports = NodeHelper.create({

    start: function() {
        console.log("Starting node_helper for: " + this.name);
    },

    getLICE: function(url) {
		
    request({
        url: 'https://kur.altin.in/banka',
        method: 'GET'
    }, (error, response, body) =&gt; {
		
        if (!error &amp;&amp; response.statusCode == 200) {
			var arr = []
            var result = ($('.fiyat',body));
            result.each((_id,el) =&gt;  (arr.push(el.children[0]['data'])))
            var result = ($('h2[id=gfiy]',body));
            result.each((_id,el) =&gt;  (arr.push(el.children[0]['data'])))
            this.sendSocketNotification('LICE_RESULT', arr);

        }

    });
},

    socketNotificationReceived: function(notification, payload) {
        if (notification === 'GET_LICE') {
            this.getLICE(payload);
        }
    }
});

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/93148</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93148</guid><dc:creator><![CDATA[uok825]]></dc:creator><pubDate>Sun, 25 Jul 2021 22:46:56 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 22:47:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/uok825" aria-label="Profile: uok825">@<bdi>uok825</bdi></a> said in <a href="/post/93146">Cannot find module "moment"</a>:</p>
<blockquote>
<p dir="auto">Now i am working on LICE module. I am changed that module code.</p>
</blockquote>
<p dir="auto">ok, I was looking at the original code and couldn’t find a useful line 27</p>
<p dir="auto">typically $ is jquery<br />
but the module doesn’t say it needs it…<br />
no package.json for dependencies and the node_helper doesn’t require it</p>
]]></description><link>https://forum.magicmirror.builders/post/93147</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93147</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 Jul 2021 22:47:04 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 22:44:47 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’ll delete cointelegraph. Now i am working on LICE module. I am changed that module code.</p>
]]></description><link>https://forum.magicmirror.builders/post/93146</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93146</guid><dc:creator><![CDATA[uok825]]></dc:creator><pubDate>Sun, 25 Jul 2021 22:44:47 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 22:39:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/uok825" aria-label="Profile: uok825">@<bdi>uok825</bdi></a> said in <a href="/post/93144">Cannot find module "moment"</a>:</p>
<blockquote>
<p dir="auto">Cannot find module ‘please-upgrade-node’</p>
</blockquote>
<p dir="auto">for every  cannot find module, repeat<br />
in the MagicMirror folder</p>
<p dir="auto">npm install  missing_name</p>
<p dir="auto">not sure on the rss feed thing… I see the output, but it doesn’t look like a normal xml feed doc</p>
]]></description><link>https://forum.magicmirror.builders/post/93145</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93145</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 Jul 2021 22:39:27 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 22:35:20 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> Bad news<br />
npm install log</p>
<pre><code>pi@raspberrypi:~/MagicMirror $ npm install uuid

&gt; husky@4.2.5 preuninstall /home/pi/MagicMirror/node_modules/husky
&gt; node husky uninstall

internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'please-upgrade-node'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/husky/husky.js:3:27)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm WARN lifecycle husky@4.2.5~preuninstall: continuing anyway husky@4.2.5 preuninstall: `node husky uninstall`
npm WARN lifecycle Exit status 1

&gt; electron-chromedriver@11.0.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
&gt; node ./download-chromedriver.js

(node:1464) UnhandledPromiseRejectionWarning: HTTPError: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v11.0.0/chromedriver-v11.0.0-linux-armv6l.zip
    at EventEmitter.emitter.on.response (/home/pi/MagicMirror/node_modules/got/source/as-stream.js:35:24)
    at EventEmitter.emit (events.js:198:13)
    at module.exports (/home/pi/MagicMirror/node_modules/got/source/get-response.js:22:10)
    at ClientRequest.handleResponse (/home/pi/MagicMirror/node_modules/got/source/request-as-event-emitter.js:155:5)
    at Object.onceWrapper (events.js:286:20)
    at ClientRequest.emit (events.js:203:15)
    at ClientRequest.origin.emit.args [as emit] (/home/pi/MagicMirror/node_modules/@szmarczak/http-timer/source/index.js:37:11)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:565:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)
    at TLSSocket.socketOnData (_http_client.js:451:20)
(node:1464) 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(). (rejection id: 1)
(node:1464) [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.

&gt; electron@11.4.9 postinstall /home/pi/MagicMirror/node_modules/electron
&gt; node install.js

HTTPError: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v11.4.9/electron-v11.4.9-linux-armv6l.zip
    at EventEmitter.emitter.on.response (/home/pi/MagicMirror/node_modules/got/source/as-stream.js:35:24)
    at EventEmitter.emit (events.js:198:13)
    at module.exports (/home/pi/MagicMirror/node_modules/got/source/get-response.js:22:10)
    at ClientRequest.handleResponse (/home/pi/MagicMirror/node_modules/got/source/request-as-event-emitter.js:155:5)
    at Object.onceWrapper (events.js:286:20)
    at ClientRequest.emit (events.js:203:15)
    at ClientRequest.origin.emit.args [as emit] (/home/pi/MagicMirror/node_modules/@szmarczak/http-timer/source/index.js:37:11)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:565:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)
    at TLSSocket.socketOnData (_http_client.js:451:20)

&gt; spectron@13.0.0 postinstall /home/pi/MagicMirror/node_modules/spectron
&gt; node lib/rpath-fix.js

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: electron@11.4.9 (node_modules/electron):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: electron@11.4.9 postinstall: `node install.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ uuid@8.3.2
added 334 packages from 707 contributors, updated 144 packages and audited 924 packages in 1278.767s

110 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

</code></pre>
<p dir="auto">MM Log</p>
<pre><code>/home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
0|MagicMir | [26.07.2021 01:29.53.118] [WARN]  The module 'currentweather' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
0|MagicMir | [26.07.2021 01:29.53.151] [WARN]  The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path

/home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
0|MagicMir | [26.07.2021 01:29.53.135] [LOG] Connecting socket for: weatherforecast
0|MagicMir | [26.07.2021 01:29.53.160] [LOG] Connecting socket for: newsfeed
0|MagicMir | [26.07.2021 01:29.53.172] [LOG] Starting node helper for: newsfeed
0|MagicMir | [26.07.2021 01:29.53.185] [LOG] Connecting socket for: MMM-cryptocurrency
0|MagicMir | [26.07.2021 01:29.53.202] [LOG] Cryptocurrency module loaded!
0|MagicMir | [26.07.2021 01:29.53.214] [LOG] Connecting socket for: MMM-MyPrayerTimes
0|MagicMir | [26.07.2021 01:29.53.223] [LOG] Starting node_helper for: MMM-MyPrayerTimes
0|MagicMir | [26.07.2021 01:29.53.236] [LOG] Connecting socket for: MMM-LICE
0|MagicMir | [26.07.2021 01:29.53.251] [LOG] Starting node_helper for: MMM-LICE
0|MagicMir | [26.07.2021 01:29.53.263] [LOG] Connecting socket for: MMM-PIR
0|MagicMir | [26.07.2021 01:29.53.280] [LOG] Starting module helper: MMM-PIR
0|MagicMir | [26.07.2021 01:29.53.289] [LOG] Sockets connected &amp; modules started ...
0|MagicMir | [26.07.2021 01:29.53.303] [LOG]
0|MagicMir | Ready to go! Please point your browser to: http://0.0.0.0:8080
0|MagicMir | Starting chromium browser now, have patience, it takes a minute

0|MagicMirror  | [26.07.2021 01:31.55.275] [LOG]
0|MagicMirror  | Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/10s0ee0h3tb1ko7fqhpf71sfgs%40group.calendar.google.com/private-d3794e10c136ecfea3ad72fe63078acd/basic.ics - Interval: 300000
0|MagicMirror  | [26.07.2021 01:31.57.499] [LOG]
0|MagicMirror  | Create new newsfetcher for url: https://www.cnnturk.com/feed/rss/turkiye/news - Interval: 300000
0|MagicMirror  | [26.07.2021 01:31.58.207] [LOG]
0|MagicMirror  | Create new newsfetcher for url: https://www.birgun.net/xml/rss.xml - Interval: 300000
0|MagicMirror  | [26.07.2021 01:31.58.335] [LOG]
0|MagicMirror  | Create new newsfetcher for url: https://tr.cointelegraph.com/google.xml - Interval: 300000
0|MagicMirror  | [26.07.2021 01:32.08.343] [ERROR]
0|MagicMirror  | Newsfeed Error. Could not fetch newsfeed:  https://tr.cointelegraph.com/google.xml Error: Feed type not recognized
0|MagicMirror  |     at SAXStream.openf1 (/home/pi/MagicMirror/node_modules/feedme/dist/xmlfeedparser.js:99:38)
0|MagicMirror  |     at SAXStream.emit (events.js:198:13)
0|MagicMirror  |     at SAXStream._parser.parser.emit.args [as emit] (/home/pi/MagicMirror/node_modules/feedme/dist/feedme.js:24:24)
0|MagicMirror  |     at SAXParser.me._parser.(anonymous function) [as onopentag] (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:258:17)
0|MagicMirror  |     at emit (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:624:35)
0|MagicMirror  |     at emitNode (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:629:5)
0|MagicMirror  |     at openTag (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:825:5)
0|MagicMirror  |     at SAXParser.write (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:1391:13)
0|MagicMirror  |     at SAXStream.write (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:239:18)
0|MagicMirror  |     at XMLFeedParser._write (/home/pi/MagicMirror/node_modules/feedme/dist/xmlfeedparser.js:159:21)
0|MagicMirror  | [26.07.2021 01:32.08.796] [ERROR]
0|MagicMirror  | Whoops! There was an uncaught exception...
0|MagicMirror  | [26.07.2021 01:32.08.851] [ERROR]
0|MagicMirror  | TypeError: $ is not a function
0|MagicMirror  |     at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-LICE/node_helper.js:27:27)
0|MagicMirror  |     at Request.self.callback (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:185:22)
0|MagicMirror  |     at Request.emit (events.js:198:13)
0|MagicMirror  |     at Request.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:1154:10)
0|MagicMirror  |     at Request.emit (events.js:198:13)
0|MagicMirror  |     at IncomingMessage.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:1076:12)
0|MagicMirror  |     at Object.onceWrapper (events.js:286:20)
0|MagicMirror  |     at IncomingMessage.emit (events.js:203:15)
0|MagicMirror  |     at endReadableNT (_stream_readable.js:1145:12)
0|MagicMirror  |     at process._tickCallback (internal/process/next_tick.js:63:19)
0|MagicMirror  | [26.07.2021 01:32.08.884] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMirror  | [26.07.2021 01:32.08.907] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMirror  | [26.07.2021 01:32.09.574] [LOG]
0|MagicMirror  | 200[object Object]
0|MagicMirror  | [26.07.2021 01:32.45.860] [ERROR]
0|MagicMirror  | Whoops! There was an uncaught exception...
0|MagicMirror  | [26.07.2021 01:32.45.891] [ERROR] TypeError: $ is not a function
0|MagicMirror  |     at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-LICE/node_helper.js:27:27)
0|MagicMirror  |     at Request.self.callback (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:185:22)
0|MagicMirror  |     at Request.emit (events.js:198:13)
0|MagicMirror  |     at Request.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:1154:10)
0|MagicMirror  |     at Request.emit (events.js:198:13)
0|MagicMirror  |     at IncomingMessage.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:1076:12)
0|MagicMirror  |     at Object.onceWrapper (events.js:286:20)
0|MagicMirror  |     at IncomingMessage.emit (events.js:203:15)
0|MagicMirror  |     at endReadableNT (_stream_readable.js:1145:12)
0|MagicMirror  |     at process._tickCallback (internal/process/next_tick.js:63:19)
0|MagicMirror  | [26.07.2021 01:32.45.904] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMirror  | [26.07.2021 01:32.45.926] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

</code></pre>
<p dir="auto">But the good side is now i can see screen. Waiting for loading other modules. Maybe it will working.</p>
]]></description><link>https://forum.magicmirror.builders/post/93144</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93144</guid><dc:creator><![CDATA[uok825]]></dc:creator><pubDate>Sun, 25 Jul 2021 22:35:20 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 22:19:03 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> Sorry to hear it. I try not to receive the screenshot sorry.</p>
]]></description><link>https://forum.magicmirror.builders/post/93143</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93143</guid><dc:creator><![CDATA[uok825]]></dc:creator><pubDate>Sun, 25 Jul 2021 22:19:03 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 22:17:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/uok825" aria-label="Profile: uok825">@<bdi>uok825</bdi></a> screen shots harder to read here, very tiny… impossible on phone</p>
]]></description><link>https://forum.magicmirror.builders/post/93142</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93142</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 Jul 2021 22:17:35 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find module &quot;moment&quot; on Sun, 25 Jul 2021 22:16:55 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> Screenshot is a habit for me to take. easier than copying</p>
]]></description><link>https://forum.magicmirror.builders/post/93141</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93141</guid><dc:creator><![CDATA[uok825]]></dc:creator><pubDate>Sun, 25 Jul 2021 22:16:55 GMT</pubDate></item></channel></rss>