MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. su541
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    su541

    @su541

    0
    Reputation
    241
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    su541 Unfollow Follow

    Latest posts made by su541

    • Get Error "undefined symbol" in own module

      Hi,

      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:

      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
      
      

      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.

      I used that script to rebuild the binaries for electron.

      "scripts": {
          "postinstall": "node_modules/.bin/electron-rebuild -e ../../node_modules/electron"
        },
      

      Has someone an idea?
      node-aead-crypto is used by the TradFri Library “node-tradfi-client@0.8.1”.

      posted in Development
      S
      su541