<?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[Error: Cannot find module 'node:fs']]></title><description><![CDATA[<p dir="auto">Hi folks, I have a pretty vanilla config of MagicMirror running in a container stack on Portainer and have suddenly started to get the following error when starting the container:</p>
<pre><code>[21.11.2025 10:52.25.515] [ERROR] Error: Cannot find module 'node:fs'

Require stack:
- /opt/magic_mirror/modules/MMM-MyScoreboard/node_helper.js
- /opt/magic_mirror/js/app.js
- /opt/magic_mirror/serveronly/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._resolveFilename (/opt/magic_mirror/node_modules/module-alias/index.js:49:29)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.&lt;anonymous&gt; (/opt/magic_mirror/modules/MMM-MyScoreboard/node_helper.js:4:12)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/opt/magic_mirror/modules/MMM-MyScoreboard/node_helper.js',
    '/opt/magic_mirror/js/app.js',
    '/opt/magic_mirror/serveronly/index.js'
  ]
}
</code></pre>
<p dir="auto">I’ve not made any intentional changes to the environment (I know, I know) and this suddenly began yesterday. I’ve not modified anything in the modules or config directories. I haven’t touched this env in 3 weeks and its been running fine.</p>
<p dir="auto">Here is my docker compose:</p>
<pre><code>version: '1'
services:
  magicmirror:
    container_name: magicmirror
    image: bastilimbach/docker-magicmirror
    #restart: unless-stopped
    environment: 
      - PUID=1035 # magicmirror user on Synology
      - PGID=100
      - TZ=America/Toronto
    volumes:
      - /volume1/docker/magicmirror/config:/opt/magic_mirror/config
      - /volume1/docker/magicmirror/modules:/opt/magic_mirror/modules
    ports:
      - 8888:8080
</code></pre>
<p dir="auto">I have watchtower running, but there haven’t been any updates to this image since it was deployed a couple of months ago.</p>
]]></description><link>https://forum.magicmirror.builders/topic/19991/error-cannot-find-module-node-fs</link><generator>RSS for Node</generator><lastBuildDate>Thu, 10 Sep 2026 13:55:42 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19991.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Nov 2025 16:07:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error: Cannot find module 'node:fs' on Fri, 21 Nov 2025 16:41:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/husband" aria-label="Profile: Husband">@<bdi>Husband</bdi></a> i do not know… that container is fairly old…<br />
I use the one from karsten13<br />
<a href="https://khassel.gitlab.io/magicmirror/" target="_blank" rel="noopener noreferrer nofollow ugc">https://khassel.gitlab.io/magicmirror/</a></p>
<p dir="auto">he is away for a few days.</p>
]]></description><link>https://forum.magicmirror.builders/post/129059</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/129059</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 21 Nov 2025 16:41:49 GMT</pubDate></item><item><title><![CDATA[Reply to Error: Cannot find module 'node:fs' on Fri, 21 Nov 2025 18:08:36 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 for the tip. I’ve at least got things running again with this image. I’ll need to make some adjustments to get things working 100% but at least the container starts and runs now.</p>
<p dir="auto">Very strange, since there didn’t appear to be any updates to the old image I was using.</p>
]]></description><link>https://forum.magicmirror.builders/post/129065</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/129065</guid><dc:creator><![CDATA[Husband]]></dc:creator><pubDate>Fri, 21 Nov 2025 18:08:36 GMT</pubDate></item><item><title><![CDATA[Reply to Error: Cannot find module 'node:fs' on Fri, 21 Nov 2025 16:41:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/husband" aria-label="Profile: Husband">@<bdi>Husband</bdi></a> i do not know… that container is fairly old…<br />
I use the one from karsten13<br />
<a href="https://khassel.gitlab.io/magicmirror/" target="_blank" rel="noopener noreferrer nofollow ugc">https://khassel.gitlab.io/magicmirror/</a></p>
<p dir="auto">he is away for a few days.</p>
]]></description><link>https://forum.magicmirror.builders/post/129059</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/129059</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 21 Nov 2025 16:41:49 GMT</pubDate></item></channel></rss>