<?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[newsfeed  error sudden error      referenceError: fetch is not defined]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/18927/newsfeed">newsfeed</a><br />
I now get this error when it boots up:<br />
[2024-11-04 16:38:12.329] [ERROR] Whoops! There was an uncaught exception…<br />
[2024-11-04 16:38:12.336] [ERROR] ReferenceError: fetch is not defined<br />
at fetchNews (/home/adam/MagicMirror/modules/default/newsfeed/newsfeedfetcher.js:110:3)<br />
at NewsfeedFetcher.startFetch (/home/adam/MagicMirror/modules/default/newsfeed/newsfeedfetcher.js:153:3)<br />
at Class.createFetcher (/home/adam/MagicMirror/modules/default/newsfeed/node_helper.js:65:11)<br />
at Class.socketNotificationReceived (/home/adam/MagicMirror/modules/default/newsfeed/node_helper.js:15:9)<br />
at Socket. (/home/adam/MagicMirror/js/node_helper.js:91:10)<br />
at Socket.onevent (/home/adam/MagicMirror/node_modules/socket.io/dist/socket.js:462:26)<br />
at Socket._onpacket (/home/adam/MagicMirror/node_modules/socket.io/dist/socket.js:430:22)<br />
at /home/adam/MagicMirror/node_modules/socket.io/dist/client.js:214:24<br />
at processTicksAndRejections (node:internal/process/task_queues:78:11)<br />
[2024-11-04 16:38:12.337] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?<br />
[2024-11-04 16:38:12.338] [ERROR] If you think this really is an issue, please open an issue on GitHub: <a href="https://github.com/MagicMirrorOrg/MagicMirror/issues" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MagicMirrorOrg/MagicMirror/issues</a></p>
]]></description><link>https://forum.magicmirror.builders/topic/19103/newsfeed-error-sudden-error-referenceerror-fetch-is-not-defined</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 11:40:59 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19103.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Nov 2024 08:48:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to newsfeed  error sudden error      referenceError: fetch is not defined on Fri, 08 Nov 2024 12:04:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmaik100" aria-label="Profile: MMaik100">@<bdi>MMaik100</bdi></a>  did you get this working?</p>
]]></description><link>https://forum.magicmirror.builders/post/121131</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121131</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 08 Nov 2024 12:04:26 GMT</pubDate></item><item><title><![CDATA[Reply to newsfeed  error sudden error      referenceError: fetch is not defined on Thu, 07 Nov 2024 04:11:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmaik100" aria-label="Profile: MMaik100">@<bdi>MMaik100</bdi></a> do NOT install node manually<br />
use my install script, it will install the correct version</p>
<p dir="auto">OR in the short term edit the package.json file and change the</p>
<p dir="auto">||22 to<br />
|| 23</p>
<p dir="auto">but you have to remember you did it, cause next update will complain about the changed file.</p>
<p dir="auto">OR my upgrade script will let you forget thot change next time</p>
<p dir="auto">see<br />
<a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror_scripts</a></p>
]]></description><link>https://forum.magicmirror.builders/post/121089</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121089</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 07 Nov 2024 04:11:22 GMT</pubDate></item><item><title><![CDATA[Reply to newsfeed  error sudden error      referenceError: fetch is not defined on Thu, 07 Nov 2024 03:58:34 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> said in <a href="/post/121010">newsfeed error sudden error referenceError: fetch is not defined</a>:</p>
<blockquote>
<p dir="auto">npm install</p>
</blockquote>
<p dir="auto">I ended up rebuilding the whole system.   Now I cant run the install successfully:</p>
<p dir="auto">adam@skylabRPi32:~/MagicMirror $ npm install<br />
(node:8700) ExperimentalWarning: CommonJS module /usr/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /usr/lib/node_modules/npm/node_modules/supports-color/index.js using require().<br />
Support for loading ES Module in require() is an experimental feature and might change at any time<br />
(Use <code>node --trace-warnings ...</code> to show where the warning was created)<br />
npm error code EBADENGINE<br />
npm error engine Unsupported engine<br />
npm error engine Not compatible with your version of node/npm: magicmirror@2.29.0<br />
npm error notsup Not compatible with your version of node/npm: magicmirror@2.29.0<br />
npm error notsup Required: {“node”:“&gt;=20.9.0 &lt;21 || 22”}<br />
npm error notsup Actual:   {“npm”:“10.9.0”,“node”:“v23.1.0”}<br />
npm error A complete log of this run can be found in: /home/adam/.npm/_logs/2024-11-07T03_56_11_278Z-debug-0.log</p>
]]></description><link>https://forum.magicmirror.builders/post/121088</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121088</guid><dc:creator><![CDATA[MMaik100]]></dc:creator><pubDate>Thu, 07 Nov 2024 03:58:34 GMT</pubDate></item><item><title><![CDATA[Reply to newsfeed  error sudden error      referenceError: fetch is not defined on Mon, 04 Nov 2024 12:23:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmaik100" aria-label="Profile: MMaik100">@<bdi>MMaik100</bdi></a> looks like your MagicMirror update did not complete</p>
<p dir="auto">you must run npm install or npm run install-mm  after the git pull (which also has to succeed)</p>
]]></description><link>https://forum.magicmirror.builders/post/121010</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121010</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 04 Nov 2024 12:23:36 GMT</pubDate></item></channel></rss>