<?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[Errors installing MMM-FlightTracker]]></title><description><![CDATA[<p dir="auto">I’d used MMM-FlightTracker on 2.14 and had a grand old time watching planes pop up and go away. However, at some point (I believe when I upgraded to 2.16) I’d get a black screen. Looking on the GitHub for this module it looks like someone else is running into the same problem: <a href="https://github.com/tbouron/MMM-FlightTracker/issues/7" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/tbouron/MMM-FlightTracker/issues/7</a></p>
<p dir="auto">One of the key errors seems to be the following:</p>
<pre><code>An unhandled error occurred inside electron-rebuild
Could not detect abi for version 11.4.9 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron
</code></pre>
<p dir="auto">Does anyone have any guidance on how I could solve this independent of the creator making a change? They don’t seem to be maintaining the project any more.</p>
]]></description><link>https://forum.magicmirror.builders/topic/15779/errors-installing-mmm-flighttracker</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 09:12:30 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/15779.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Oct 2021 20:45:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Errors installing MMM-FlightTracker on Sun, 24 Oct 2021 18:15: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/95723">Errors installing MMM-FlightTracker</a>:</p>
<blockquote>
<p dir="auto">~/MagicMirror/node_modules/.bin/electron-rebuild</p>
</blockquote>
<p dir="auto">Thank you for the help. I was able to install electron-rebuild, but running the second command gets me this:</p>
<pre><code>pi@raspberrypi:~/MagicMirror/modules/MMM-FlightTracker $ ~/MagicMirror/node_modules/.bin/electron-rebuild
⠦ Building module: rtl-sdr, Completed: 0make: Entering directory '/home/pi/MagicMirror/modules/MMM-FlightTracker/node_modules/rtl-sdr/build'
  CXX(target) Release/obj.target/rtlsdr/src/binding.o
⠋ Building module: rtl-sdr, Completed: 0In file included from /home/pi/.electron-gyp/13.5.1/include/node/node.h:67,
                 from ../../nan/nan.h:54,
                 from ../src/binding.cc:1:
/home/pi/.electron-gyp/13.5.1/include/node/v8.h:1670:79: warning: ‘ResolveCallback’ is deprecated [-Wdeprecated-declarations]
                                                      ResolveCallback callback);
                                                                              ^

⠦ Building module: rtl-sdr, Completed: 0/home/pi/.electron-gyp/13.5.1/include/node/v8.h:8652:51: warning: ‘HostImportModuleDynamicallyCallback’ is deprecated [-Wdeprecated-declarations]
       HostImportModuleDynamicallyCallback callback);
                                                   ^
⠏ Building module: rtl-sdr, Completed: 0In file included from ../src/binding.cc:1:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
     , reinterpret_cast&lt;uv_after_work_cb&gt;(AsyncExecuteComplete)
                                                              ^
⠙ Building module: rtl-sdr, Completed: 0In file included from ../../nan/nan.h:2884,
                 from ../src/binding.cc:1:
../../nan/nan_typedarray_contents.h: In constructor ‘Nan::TypedArrayContents&lt;T&gt;::TypedArrayContents(v8::Local&lt;v8::Value&gt;)’:
../../nan/nan_typedarray_contents.h:34:43: error: ‘class v8::ArrayBuffer’ has no member named ‘GetContents’; did you mean ‘IsContext’?
       data   = static_cast&lt;char*&gt;(buffer-&gt;GetContents().Data()) + byte_offset;
                                           ^~~~~~~~~~~
                                           IsContext
⠼ Building module: rtl-sdr, Completed: 0In file included from ../../nan/nan.h:54,
                 from ../src/binding.cc:1:
../src/binding.cc: At global scope:
/home/pi/.electron-gyp/13.5.1/include/node/node.h:770:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local&lt;v8::Object&gt;)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local&lt;v8::Object&gt;, v8::Local&lt;v8::Value&gt;, void*)’} [-Wcast-function-type]
       (node::addon_register_func) (regfunc),                          \
                                           ^
/home/pi/.electron-gyp/13.5.1/include/node/node.h:804:3: note: in expansion of macro ‘NODE_MODULE_X’
   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
   ^~~~~~~~~~~~~
../src/binding.cc:319:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(rtlsdr, Init)
 ^~~~~~~~~~~
⠼ Building module: rtl-sdr, Completed: 0make: *** [rtlsdr.target.mk:111: Release/obj.target/rtlsdr/src/binding.o] Error 1
make: Leaving directory '/home/pi/MagicMirror/modules/MMM-FlightTracker/node_modules/rtl-sdr/build'
✖ Rebuild Failed

An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild '/home/pi/MagicMirror/modules/MMM-FlightTracker/node_modules/rtl-sdr'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".

Error: `make` failed with exit code: 2



Error: node-gyp failed to rebuild '/home/pi/MagicMirror/modules/MMM-FlightTracker/node_modules/rtl-sdr'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".

Error: `make` failed with exit code: 2


    at NodeGyp.rebuildModule (/home/pi/MagicMirror/node_modules/electron-rebuild/lib/src/module-type/node-gyp.js:109:19)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async ModuleRebuilder.rebuildNodeGypModule (/home/pi/MagicMirror/node_modules/electron-rebuild/lib/src/module-rebuilder.js:94:9)
    at async Rebuilder.rebuildModuleAt (/home/pi/MagicMirror/node_modules/electron-rebuild/lib/src/rebuild.js:226:9)
    at async Rebuilder.rebuild (/home/pi/MagicMirror/node_modules/electron-rebuild/lib/src/rebuild.js:184:17)
    at async /home/pi/MagicMirror/node_modules/electron-rebuild/lib/src/cli.js:154:9
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/95750</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/95750</guid><dc:creator><![CDATA[brynnflynn]]></dc:creator><pubDate>Sun, 24 Oct 2021 18:15:42 GMT</pubDate></item><item><title><![CDATA[Reply to Errors installing MMM-FlightTracker on Fri, 22 Oct 2021 21:25:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brynnflynn" aria-label="Profile: brynnflynn">@<bdi>brynnflynn</bdi></a><br />
in the MagicMirror folder do</p>
<pre><code>npm install electron-rebuild
</code></pre>
<p dir="auto">in the module folder do</p>
<pre><code>~/MagicMirror/node_modules/.bin/electron-rebuild
</code></pre>
<p dir="auto">note the dot (.) in front of bin</p>
]]></description><link>https://forum.magicmirror.builders/post/95723</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/95723</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 22 Oct 2021 21:25:28 GMT</pubDate></item></channel></rss>