MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Get Error "undefined symbol" in own module

    Scheduled Pinned Locked Moved Development
    3 Posts 3 Posters 1.3k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      su541
      last edited by

      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”.

      1 Reply Last reply Reply Quote 0
      • B Offline
        bjorndegroot
        last edited by

        Did you finish this module?
        Really like to use it.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @bjorndegroot
          last edited by

          @bjorndegroot the last post was 2 years ago

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy