<?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[Get Error &quot;undefined symbol&quot; in own module]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">while writing a module which uses IKEA Tradfri Lights as “Trigger” (the light is triggerd by a tradfi motion trigger) for MagicMirror I always become the following error:</p>
<pre><code>npm ERR!     /home/pi/.npm/_logs/2018-02-17T19_30_56_242Z-debug.log
/home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js: symbol lookup error: /home/pi/MagicMirror/modules/MMM-Tradfri-Trigger/node_modules/node-aead-crypto/build/Release/electron-v1.4-linux-arm/node_aead_crypto.node: undefined symbol: EVP_aes_128_ccm
npm ERR! file sh

</code></pre>
<p dir="auto">The code works while not running as MagicMirror Module. So I think there may a be a problem with the openssl library electron for MagicMirror uses.</p>
<p dir="auto">I used that script to rebuild the binaries for electron.</p>
<pre><code>"scripts": {
    "postinstall": "node_modules/.bin/electron-rebuild -e ../../node_modules/electron"
  },
</code></pre>
<p dir="auto">Has someone an idea?<br />
<strong>node-aead-crypto</strong> is used by the TradFri Library <strong>“node-tradfi-client@0.8.1”</strong>.</p>
]]></description><link>https://forum.magicmirror.builders/topic/6599/get-error-undefined-symbol-in-own-module</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 22:28:16 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/6599.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 17 Feb 2018 20:14:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Get Error &quot;undefined symbol&quot; in own module on Sun, 03 May 2020 19:17:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bjorndegroot" aria-label="Profile: bjorndegroot">@<bdi>bjorndegroot</bdi></a> the last post was 2 years ago</p>
]]></description><link>https://forum.magicmirror.builders/post/74545</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/74545</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 03 May 2020 19:17:50 GMT</pubDate></item><item><title><![CDATA[Reply to Get Error &quot;undefined symbol&quot; in own module on Sun, 03 May 2020 19:17:10 GMT]]></title><description><![CDATA[<p dir="auto">Did you finish this module?<br />
Really like to use it.</p>
]]></description><link>https://forum.magicmirror.builders/post/74544</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/74544</guid><dc:creator><![CDATA[bjorndegroot]]></dc:creator><pubDate>Sun, 03 May 2020 19:17:10 GMT</pubDate></item></channel></rss>