<?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[After update MMM-Buttons breaks, made things worse trying to fix it]]></title><description><![CDATA[<p dir="auto">So after I ran the update script, magicmirror wouldn’t start.</p>
<p dir="auto">This was in the log</p>
<pre><code>[03.07.2023 08:40.46.643] [ERROR] 2023-07-03T08:40:46 &lt;error&gt; (node:17008) UnhandledPromiseRejectionWarning: Error: The module '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/build/Release/epoll.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 93. This version of Node.js requires
NODE_MODULE_VERSION 116. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
    at Module._extensions..node (node:internal/modules/cjs/loader:1354:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1822)
    at Module.load (node:internal/modules/cjs/loader:1124:32)
    at Module._load (node:internal/modules/cjs/loader:965:12)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at Module.require (node:internal/modules/cjs/loader:1148:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at bindings (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/bindings/bindings.js:112:48)
    at /home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/epoll.js:7:31
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/epoll.js:15:3)
    at Module._compile (node:internal/modules/cjs/loader:1269:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1324:10)
    at Module.load (node:internal/modules/cjs/loader:1124:32)
    at Module._load (node:internal/modules/cjs/loader:965:12)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
(Use `electron --trace-warnings ...` to show where the warning was created) (/home/pi/MagicMirror/node:internal/process/warning:60 writeOut)
[03.07.2023 08:40.46.645] [ERROR] 2023-07-03T08:40:46 &lt;error&gt; (node:17008) 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) (/home/pi/MagicMirror/node:internal/process/warning:60 writeOut)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load swrast driver
Gdk-Message: 08:40:55.667: electron: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
</code></pre>
<p dir="auto">I tried</p>
<pre><code>npm rebuild
</code></pre>
<p dir="auto">I tried</p>
<pre><code>npm install
</code></pre>
<p dir="auto">Wasn’t working.</p>
<pre><code>An unhandled error occurred inside electron-rebuild
Could not detect abi for version 25.2.0 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
</code></pre>
<p dir="auto">I saw a message</p>
<pre><code>npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'lru-cache@10.0.0',
npm WARN EBADENGINE   required: { node: '14 || &gt;=16.14' },
npm WARN EBADENGINE   current: { node: 'v16.13.1', npm: '9.7.1' }
npm WARN EBADENGINE }
</code></pre>
<p dir="auto">I thought it was saying that my node was just a bit out of date, so I made the mistake of running</p>
<pre><code>nvm install node
</code></pre>
<p dir="auto">and now I get this</p>
<pre><code>node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
</code></pre>
<p dir="auto">help?</p>
]]></description><link>https://forum.magicmirror.builders/topic/17878/after-update-mmm-buttons-breaks-made-things-worse-trying-to-fix-it</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 18:39:38 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17878.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Jul 2023 13:02:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Mon, 06 Jan 2025 05:05:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kristjanesperanto" aria-label="Profile: KristjanESPERANTO">@<bdi>KristjanESPERANTO</bdi></a> Thank you for the tip, but the notification does not work for the MMM-Carousel module and with the fork from sdetweil everything works as it should for me.</p>
]]></description><link>https://forum.magicmirror.builders/post/122693</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/122693</guid><dc:creator><![CDATA[Lusbueb]]></dc:creator><pubDate>Mon, 06 Jan 2025 05:05:50 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Sun, 05 Jan 2025 23:07:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lusbueb" aria-label="Profile: Lusbueb">@<bdi>Lusbueb</bdi></a> Just a side note: On the module list is the fork from MarcLandis (<a href="https://github.com/MarcLandis/MMM-Buttons" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MarcLandis/MMM-Buttons</a>), he is actively maintaining the module.</p>
]]></description><link>https://forum.magicmirror.builders/post/122686</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/122686</guid><dc:creator><![CDATA[KristjanESPERANTO]]></dc:creator><pubDate>Sun, 05 Jan 2025 23:07:12 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Sun, 05 Jan 2025 20:47:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lusbueb" aria-label="Profile: Lusbueb">@<bdi>Lusbueb</bdi></a> done… I never copy/paste that instruction… I push the green button to copy the code in this current repo (regardless of the name)</p>
]]></description><link>https://forum.magicmirror.builders/post/122681</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/122681</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 05 Jan 2025 20:47:56 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Sun, 05 Jan 2025 20:30:39 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/110173">After update MMM-Buttons breaks, made things worse trying to fix it</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lusbueb" aria-label="Profile: Lusbueb">@<bdi>Lusbueb</bdi></a> or, you can get my fork of MMM-Buttons which fixes the install problem</p>
<p dir="auto"><a href="https://github.com/sdetweil/MMM-Buttons" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MMM-Buttons</a></p>
</blockquote>
<p dir="auto">hello sam<br />
Can you please adjust the command in your repo (<a href="https://github.com/sdetweil/MMM-Buttons" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MMM-Buttons</a>) under Installation:</p>
<p dir="auto">from (false): <code>git clone https://github.com/Jopyth/MMM-Buttons.git</code></p>
<p dir="auto">to (right): <code>git clone https://github.com/sdetweil/MMM-Buttons</code></p>
<p dir="auto">I’m so glad that I copied the link to this forum back then, but it took a long time before I realized that I was always installing the faulty git (Jopyth) instead of your git, just because I followed your installation instructions.</p>
<p dir="auto">Happy New Year and thank you for your work :-)</p>
<p dir="auto">Kind regards<br />
Peter</p>
]]></description><link>https://forum.magicmirror.builders/post/122680</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/122680</guid><dc:creator><![CDATA[Lusbueb]]></dc:creator><pubDate>Sun, 05 Jan 2025 20:30:39 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Sun, 09 Jul 2023 16:29:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lusbueb" aria-label="Profile: Lusbueb">@<bdi>Lusbueb</bdi></a>  cause it’s temporary…   maybe.</p>
<p dir="auto">things you just learn to deal w</p>
]]></description><link>https://forum.magicmirror.builders/post/110183</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110183</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 09 Jul 2023 16:29:45 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Sun, 09 Jul 2023 15:53:42 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/110181">After update MMM-Buttons breaks, made things worse trying to fix it</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lusbueb" aria-label="Profile: Lusbueb">@<bdi>Lusbueb</bdi></a> said in <a href="/post/110180">After update MMM-Buttons breaks, made things worse trying to fix it</a>:</p>
<blockquote>
<p dir="auto">Please change your Installation -Instruktion in your GIT</p>
</blockquote>
<p dir="auto">no… mine is a fork of the master…  you should know to substitute my URL for the one in the doc (if any)</p>
<p dir="auto">if I were to change the link AND submit it to the author, AND they took it, then their doc would point to MY repo incorrectly…</p>
<p dir="auto">this is how the fork process works…</p>
<p dir="auto">SO, if you git clone my url and do the npm install, does it fail?</p>
</blockquote>
<p dir="auto">yes you did it :-)</p>
<p dir="auto">your fork works, you are my hero! :-)</p>
<p dir="auto">but why can’t you adapt the readme file in a FORK?</p>
<pre><code>pi@MM:~/MagicMirror/modules $ git clone https://github.com/sdetweil/MMM-Buttons
Klone nach 'MMM-Buttons' ...
remote: Enumerating objects: 56, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 56 (delta 0), reused 2 (delta 0), pack-reused 52
Empfange Objekte: 100% (56/56), 11.86 KiB | 146.00 KiB/s, fertig.
Löse Unterschiede auf: 100% (25/25), fertig.
pi@MM:~/MagicMirror/modules $ cd MMM-Buttons
pi@MM:~/MagicMirror/modules/MMM-Buttons $ npm install

&gt; Magic-Mirror-Module-Buttons@1.0.0 postinstall
&gt; ./postinstall

✔ Rebuild Complete

added 6 packages, and audited 7 packages in 32s

found 0 vulnerabilities
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/110182</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110182</guid><dc:creator><![CDATA[Lusbueb]]></dc:creator><pubDate>Sun, 09 Jul 2023 15:53:42 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Sun, 09 Jul 2023 15:33:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lusbueb" aria-label="Profile: Lusbueb">@<bdi>Lusbueb</bdi></a> said in <a href="/post/110180">After update MMM-Buttons breaks, made things worse trying to fix it</a>:</p>
<blockquote>
<p dir="auto">Please change your Installation -Instruktion in your GIT</p>
</blockquote>
<p dir="auto">no… mine is a fork of the master…  you should know to substitute my URL for the one in the doc (if any)</p>
<p dir="auto">if I were to change the link AND submit it to the author, AND they took it, then their doc would point to MY repo incorrectly…</p>
<p dir="auto">this is how the fork process works…</p>
<p dir="auto">SO, if you git clone my url and do the npm install, does it fail?</p>
]]></description><link>https://forum.magicmirror.builders/post/110181</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110181</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 09 Jul 2023 15:33:29 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Sun, 09 Jul 2023 15:21:09 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/110179">After update MMM-Buttons breaks, made things worse trying to fix it</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lusbueb" aria-label="Profile: Lusbueb">@<bdi>Lusbueb</bdi></a> said in <a href="/post/110178">After update MMM-Buttons breaks, made things worse trying to fix it</a>:</p>
<blockquote>
<p dir="auto"><a href="https://github.com/Jopyth/MMM-Buttons.git" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Jopyth/MMM-Buttons.git</a></p>
</blockquote>
<p dir="auto">that is not mine… that is the broken one</p>
<p dir="auto">substitute my repo URL for the documented git clone url</p>
</blockquote>
<p dir="auto">oh yes, thats true! 🙈 Please change your Installation -Instruktion in your GIT, thank you😅</p>
]]></description><link>https://forum.magicmirror.builders/post/110180</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110180</guid><dc:creator><![CDATA[Lusbueb]]></dc:creator><pubDate>Sun, 09 Jul 2023 15:21:09 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Sun, 09 Jul 2023 13:55:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lusbueb" aria-label="Profile: Lusbueb">@<bdi>Lusbueb</bdi></a> said in <a href="/post/110178">After update MMM-Buttons breaks, made things worse trying to fix it</a>:</p>
<blockquote>
<p dir="auto"><a href="https://github.com/Jopyth/MMM-Buttons.git" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Jopyth/MMM-Buttons.git</a></p>
</blockquote>
<p dir="auto">that is not mine… that is the broken one</p>
<p dir="auto">substitute my repo URL for the documented git clone url</p>
]]></description><link>https://forum.magicmirror.builders/post/110179</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110179</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 09 Jul 2023 13:55:17 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Sun, 09 Jul 2023 13:47:28 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> if i run your <code>git repo</code> it looks liike this:</p>
<pre><code>pi@MM:~ $ cd ~/MagicMirror/modules
pi@MM:~/MagicMirror/modules $ git clone https://github.com/Jopyth/MMM-Buttons.git
Klone nach 'MMM-Buttons' ...
remote: Enumerating objects: 54, done.
remote: Total 54 (delta 0), reused 0 (delta 0), pack-reused 54
Empfange Objekte: 100% (54/54), 11.34 KiB | 893.00 KiB/s, fertig.
Löse Unterschiede auf: 100% (25/25), fertig.
pi@MM:~/MagicMirror/modules $ cd MMM-Buttons
pi@MM:~/MagicMirror/modules/MMM-Buttons $ npm install
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated electron-rebuild@1.11.0: Please use @electron/rebuild moving forward.  There is no API change, just a package name change
npm ERR! code 7
npm ERR! path /home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@6.1.0
npm ERR! gyp info using node@20.4.0 | linux | arm
npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
npm ERR! gyp ERR! UNCAUGHT EXCEPTION
npm ERR! gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#&lt;Object&gt;'
npm ERR! gyp ERR! stack     at createConfigFile (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/node-gyp/lib/configure.js:118:21)
npm ERR! gyp ERR! stack     at /home/pi/MagicMirror/modules/MMM-Buttons/node_modules/node-gyp/lib/configure.js:85:9
npm ERR! gyp ERR! stack     at /home/pi/MagicMirror/modules/MMM-Buttons/node_modules/mkdirp/index.js:30:20
npm ERR! gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:189:23)
npm ERR! gyp ERR! System Linux 5.10.103-v7+
npm ERR! gyp ERR! command "/usr/bin/node" "/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll
npm ERR! gyp ERR! node -v v20.4.0
npm ERR! gyp ERR! node-gyp -v v6.1.0
npm ERR! gyp ERR! This is a bug in `node-gyp`.
npm ERR! gyp ERR! Try to update node-gyp and file an Issue if it does not help:
npm ERR! gyp ERR!     &lt;https://github.com/nodejs/node-gyp/issues&gt;

npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2023-07-09T13_31_31_133Z-debug-0.log
pi@MM:~/MagicMirror/modules/MMM-Buttons $
</code></pre>
<p dir="auto">then i changed in our <code>package.json</code></p>
<pre><code>    "postinstall": "node_modules/.bin/magicmirror-rebuild -e ../../node_modules/electron"
  },
  "dependencies": {
    "onoff": "latest",
	"magicmirror-rebuild": "latest"
  },
  "devDependencies": {
    "magicmirror-rebuild": "^1.0.0"
  }
</code></pre>
<p dir="auto">and do <code>npm install</code> it looks like this:</p>
<pre><code>pi@MM:~/MagicMirror/modules/MMM-Buttons $ npm install

&gt; Magic-Mirror-Module-Buttons@1.0.0 postinstall
&gt; node_modules/.bin/magicmirror-rebuild -e ../../node_modules/electron

sh: 1: node_modules/.bin/magicmirror-rebuild: not found
npm ERR! code 127
npm ERR! path /home/pi/MagicMirror/modules/MMM-Buttons
npm ERR! command failed
npm ERR! command sh -c node_modules/.bin/magicmirror-rebuild -e ../../node_modules/electron

npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2023-07-09T13_37_41_609Z-debug-0.log
pi@MM:~/MagicMirror/modules/MMM-Buttons $
</code></pre>
<p dir="auto">so, the <code>package.json</code> is allready changed, i delete the new created file <code>package-lock.json</code> and folder <code>node_modules</code> and run <code> npm i magicmirror-rebuild</code> it look like this:</p>
<pre><code>pi@MM:~/MagicMirror/modules/MMM-Buttons $ npm i magicmirror-rebuild
npm WARN idealTree Removing dependencies.magicmirror-rebuild in favor of devDependencies.magicmirror-rebuild

added 191 packages, and audited 192 packages in 39s

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

found 0 vulnerabilities
</code></pre>
<p dir="auto">and then in run <code>./node_modules/.bin/MagicMirror-rebuild</code>, it looks like this an everything ist <strong>ok an running with no errors</strong>:</p>
<pre><code>pi@MM:~/MagicMirror/modules/MMM-Buttons $ ./node_modules/.bin/MagicMirror-rebuild
⠋ MagicMirror Building module: epoll, Completed: 0gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
⠙ MagicMirror Building module: epoll, Completed: 0gyp http GET https://www.electronjs.org/headers/v25.2.0/node-v25.2.0-headers.tar.gz
⠦ MagicMirror Building module: epoll, Completed: 0gyp http 200 https://artifacts.electronjs.org/headers/v25.2.0/node-v25.2.0-headers.tar.gz?force_headers_dist=1
⠙ MagicMirror Building module: epoll, Completed: 0gyp http GET https://www.electronjs.org/headers/v25.2.0/SHASUMS256.txt
⠹ MagicMirror Building module: epoll, Completed: 0gyp http 200 https://artifacts.electronjs.org/headers/v25.2.0/SHASUMS256.txt?force_headers_dist=1
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/25.2.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/25.2.0',
gyp info spawn args   '-Dnode_gyp_dir=/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/25.2.0/&lt;(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
⠸ MagicMirror Building module: epoll, Completed: 0gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Verzeichnis „/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/build“ wird betreten
  CXX(target) Release/obj.target/epoll/src/epoll.o
⠹ MagicMirror Building module: epoll, Completed: 0  SOLINK_MODULE(target) Release/obj.target/epoll.node
⠇ MagicMirror Building module: epoll, Completed: 0  COPY Release/epoll.node
make: Verzeichnis „/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/build“ wird verlassen
✔ MagicMirror Rebuild Complete
</code></pre>
<p dir="auto">hope it helps you :-)<br />
Regards, Peter from Switzerland</p>
]]></description><link>https://forum.magicmirror.builders/post/110178</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110178</guid><dc:creator><![CDATA[Lusbueb]]></dc:creator><pubDate>Sun, 09 Jul 2023 13:47:28 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Sun, 09 Jul 2023 12:04:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lusbueb" aria-label="Profile: Lusbueb">@<bdi>Lusbueb</bdi></a> I’d like to know what didn’t work, as I test it quite often.  I don’t like providing fixes that don’t work…</p>
]]></description><link>https://forum.magicmirror.builders/post/110177</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110177</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 09 Jul 2023 12:04:32 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Sun, 09 Jul 2023 11:32:38 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> Of course I had also tried your git repo but it didn’t work for me, so I kept looking and with the alternative migicmirror-rebuild every module worked.<br />
I’ve also seen that some modules have been adapted to <code>magicmirror-rebuild</code>, but it’s of no use if you don’t know exactly how to use it.<br />
my description above was the solution that worked for me, so I published it here.<br />
thank you again for your support. :hugging_face:</p>
]]></description><link>https://forum.magicmirror.builders/post/110176</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110176</guid><dc:creator><![CDATA[Lusbueb]]></dc:creator><pubDate>Sun, 09 Jul 2023 11:32:38 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Sun, 09 Jul 2023 11:20:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lusbueb" aria-label="Profile: Lusbueb">@<bdi>Lusbueb</bdi></a> or, you can get my fork of MMM-Buttons which fixes the install problem</p>
<p dir="auto"><a href="https://github.com/sdetweil/MMM-Buttons" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MMM-Buttons</a></p>
]]></description><link>https://forum.magicmirror.builders/post/110173</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110173</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 09 Jul 2023 11:20:20 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Sun, 09 Jul 2023 09:21:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a>  had same problems and tried several methods. i’m not a linux crack and can only make what other say to try. :see-no-evil_monkey: :grinning_squinting_face:</p>
<p dir="auto">this Post help me: <code>https://forum.magicmirror.builders/topic/16074/electron-rebuild-and-magicmirror-v2-18-and-more/2?page=1</code></p>
<ol>
<li>
<p dir="auto">delete any existing <code>../modules/MMM-Buttons</code> folder.</p>
</li>
<li>
<p dir="auto">clone the repository in your <code>modules</code> folder:<br />
<code>cd ~/MagicMirror/modules</code><br />
<code>git clone https://github.com/MarcLandis/MMM-Buttons.git</code><br />
<code>cd MMM-Buttons</code></p>
</li>
<li>
<p dir="auto">install <code>magicmirror-rebuild</code> library with this command:<br />
<code>npm i magicmirror-rebuild</code></p>
</li>
</ol>
<pre><code>pi@MM:~/MagicMirror/modules/MMM-Buttons $ npm i magicmirror-rebuild

added 191 packages, and audited 192 packages in 43s

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

found 0 vulnerabilities
</code></pre>
<ol start="4">
<li>try to execute <code>MagicMirror-rebuild</code> script for rebuild with this command:<br />
<code>./node_modules/.bin/MagicMirror-rebuild</code></li>
</ol>
<pre><code>pi@MM:~/MagicMirror/modules/MMM-Buttons $ ./node_modules/.bin/MagicMirror-rebuild
⠹ MagicMirror Building module: epoll, Completed: 0gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
⠸ MagicMirror Building module: epoll, Completed: 0gyp http GET https://www.electronjs.org/headers/v25.2.0/node-v25.2.0-headers.tar.gz
⠏ MagicMirror Building module: epoll, Completed: 0gyp http 200 https://artifacts.electronjs.org/headers/v25.2.0/node-v25.2.0-headers.tar.gz?force_headers_dist=1
⠼ MagicMirror Building module: epoll, Completed: 0gyp http GET https://www.electronjs.org/headers/v25.2.0/SHASUMS256.txt
⠋ MagicMirror Building module: epoll, Completed: 0gyp http 200 https://artifacts.electronjs.org/headers/v25.2.0/SHASUMS256.txt?force_headers_dist=1
⠙ MagicMirror Building module: epoll, Completed: 0gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/25.2.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/25.2.0',
gyp info spawn args   '-Dnode_gyp_dir=/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/25.2.0/&lt;(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
⠹ MagicMirror Building module: epoll, Completed: 0gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Verzeichnis „/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/build“ wird betreten
  CXX(target) Release/obj.target/epoll/src/epoll.o
⠹ MagicMirror Building module: epoll, Completed: 0  SOLINK_MODULE(target) Release/obj.target/epoll.node
⠧ MagicMirror Building module: epoll, Completed: 0  COPY Release/epoll.node
make: Verzeichnis „/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/build“ wird verlassen
✔ MagicMirror Rebuild Complete
</code></pre>
<p dir="auto">That you see <code>MagicMirror Rebuild Complete</code> !<br />
<strong>Your module is now installed correctly</strong></p>
<p dir="auto">This way will also be good for the Originl <code>MMM-Buttons from the Year 2017</code> and many other <code>modules</code>!</p>
<p dir="auto">if you work with this module <code>https://github.com/Jopyth/MMM-Buttons</code> you must change 2 lines and add 1 line in the file <code>package.json</code> after <code>git clone</code>:</p>
<p dir="auto">a.) change Line 23 from<br />
<code>"postinstall": "node_modules/.bin/electron-rebuild -e ../../node_modules/electron"</code> to<br />
<code>"postinstall": "node_modules/.bin/magicmirror-rebuild -e ../../node_modules/electron"</code></p>
<p dir="auto">b.) change Line 29 from<br />
<code>"electron-rebuild": "^1.2.1"</code> to<br />
<code>"magicmirror-rebuild": "^1.0.0"</code></p>
<p dir="auto">c.) add a line after line26 from<br />
<code>"onoff": "latest"</code> to</p>
<pre><code>"onoff": "latest",
"magicmirror-rebuild": "latest"
</code></pre>
<p dir="auto">after that you can continue with step 3, good luck :)</p>
]]></description><link>https://forum.magicmirror.builders/post/110171</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110171</guid><dc:creator><![CDATA[Lusbueb]]></dc:creator><pubDate>Sun, 09 Jul 2023 09:21:18 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Mon, 03 Jul 2023 14:28:35 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> Apologies. You did say that already and it didn’t penetrate. Replaced with your fork and it looks like I’m mostly back up. CalendarExt2 doesn’t seem to be loading though.  I’ll have to dig into that later.</p>
]]></description><link>https://forum.magicmirror.builders/post/110066</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110066</guid><dc:creator><![CDATA[gonzonia]]></dc:creator><pubDate>Mon, 03 Jul 2023 14:28:35 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Mon, 03 Jul 2023 14:07:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> said in <a href="/post/110064">After update MMM-Buttons breaks, made things worse trying to fix it</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>  I used your upgrade script but I’m not sure what happened.  I’m now at least back to this</p>
</blockquote>
<p dir="auto">yes, MMM-Buttons is busted on upgrade… use my fork</p>
]]></description><link>https://forum.magicmirror.builders/post/110065</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110065</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 03 Jul 2023 14:07:53 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Mon, 03 Jul 2023 14:00:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a> I did an apt-update and upgrade . Actually the node version went too far. It was suddenly version 20+ I just reset it to 16.20.1 (which is what’s showing up as I do the clean install on the other machine). That seems to get me back to where I might be able to recover from this mess.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a>  I used your upgrade script but I’m not sure what happened.  I’m now at least back to this</p>
<pre><code>pi@MagicMirror:~/MagicMirror/modules/MMM-Buttons $ npm install

&gt; Magic-Mirror-Module-Buttons@1.0.0 postinstall
&gt; node_modules/.bin/electron-rebuild -e ../../node_modules/electron

⠋ Searching dependency tree
An unhandled error occurred inside electron-rebuild
Could not detect abi for version 25.2.0 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron

Error: Could not detect abi for version 25.2.0 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
    at Object.getAbi (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/electron-rebuild/node_modules/node-abi/index.js:36:9)
    at new Rebuilder (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/electron-rebuild/lib/src/rebuild.js:126:48)
    at rebuildWithOptions (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/electron-rebuild/lib/src/rebuild.js:404:23)
    at Object.doRebuild [as rebuild] (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/electron-rebuild/lib/src/rebuild.js:427:16)
    at /home/pi/MagicMirror/modules/MMM-Buttons/node_modules/electron-rebuild/lib/src/cli.js:124:33
    at Generator.next (&lt;anonymous&gt;)
    at fulfilled (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/electron-rebuild/lib/src/cli.js:6:58)
npm ERR! code 255
npm ERR! path /home/pi/MagicMirror/modules/MMM-Buttons
npm ERR! command failed
npm ERR! command sh -c -- node_modules/.bin/electron-rebuild -e ../../node_modules/electron

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2023-07-03T13_56_15_900Z-debug-0.log
</code></pre>
<p dir="auto">Any ideas</p>
]]></description><link>https://forum.magicmirror.builders/post/110064</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110064</guid><dc:creator><![CDATA[gonzonia]]></dc:creator><pubDate>Mon, 03 Jul 2023 14:00:00 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Mon, 03 Jul 2023 13:57:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a> my upgrade script upgrades node/npm</p>
<p dir="auto">the ekectron-rebuild cannot run from the module folder anymore…</p>
]]></description><link>https://forum.magicmirror.builders/post/110063</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110063</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 03 Jul 2023 13:57:58 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Mon, 03 Jul 2023 13:57:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a><br />
Clean reinstalling is always a solid option definitely.<br />
Your issue might have been node version was mismatched.<br />
Ref this; <a href="https://nodejs.org/en/download/releases" target="_blank" rel="noopener noreferrer nofollow ugc">https://nodejs.org/en/download/releases</a><br />
Before update your node with nvm, you might need <code>(sudo) apt update &amp; upgrade</code>.</p>
]]></description><link>https://forum.magicmirror.builders/post/110062</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110062</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Mon, 03 Jul 2023 13:57:26 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Mon, 03 Jul 2023 13:52:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> my backup/restore scripts might help move the config and modules</p>
<p dir="auto"><a href="https://github.com/sdetweil/MagicMirror-backup-restore" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror-backup-restore</a></p>
]]></description><link>https://forum.magicmirror.builders/post/110061</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110061</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 03 Jul 2023 13:52:17 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Mon, 03 Jul 2023 13:32: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> I’m going to go ahead and start over on with a clean build on bullseye. This one is still running on buster which may be part of the issue. I’ve got another Pi I can use and I’ll just use the config from this one and rebuild it. Thanks for the quick reply.</p>
]]></description><link>https://forum.magicmirror.builders/post/110060</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110060</guid><dc:creator><![CDATA[gonzonia]]></dc:creator><pubDate>Mon, 03 Jul 2023 13:32:10 GMT</pubDate></item><item><title><![CDATA[Reply to After update MMM-Buttons breaks, made things worse trying to fix it on Mon, 03 Jul 2023 13:17:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> I have no idea how to recover from the mess…</p>
<p dir="auto">but the module installer is busted</p>
<p dir="auto">try my fork, which fixes it, ( no module code change, only the post install script)</p>
<p dir="auto">rename the module folder to some other name<br />
git clone and npm install mine</p>
<p dir="auto">once u fix the node/npm problem</p>
]]></description><link>https://forum.magicmirror.builders/post/110059</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110059</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 03 Jul 2023 13:17:29 GMT</pubDate></item></channel></rss>