Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Module version mismatch. Expected 48, got 57.

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Module version mismatch. Expected 48, got 57.

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jsc last edited by

      Liebe ioBroker Gemeinde,

      ich habe ein Problem mit dem KM200 Adapter bzw. dort mit wohl dem npm Paket mcrypt. Fehlermeldung ist folgende:

      ! host.raspberrypi 2019-02-03 20:46:26.164 info Restart adapter system.adapter.km200.0 because enabled
      ! host.raspberrypi 2019-02-03 20:46:26.164 error instance system.adapter.km200.0 terminated with code 1 ()
      ! host.raspberrypi 2019-02-03 20:46:26.164 error Caught by controller[0]: at Module._compile (module.js:577:32)
      ! host.raspberrypi 2019-02-03 20:46:26.164 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/mcrypt/index.js:3:37)
      ! host.raspberrypi 2019-02-03 20:46:26.164 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/mcrypt/node_modules/bindings/bindings.js:84:48)
      ! host.raspberrypi 2019-02-03 20:46:26.163 error Caught by controller[0]: at require (internal/module.js:20:19)
      ! host.raspberrypi 2019-02-03 20:46:26.163 error Caught by controller[0]: at Module.require (module.js:504:17)
      ! host.raspberrypi 2019-02-03 20:46:26.163 error Caught by controller[0]: at Function.Module._load (module.js:445:3)
      ! host.raspberrypi 2019-02-03 20:46:26.163 error Caught by controller[0]: at tryModuleLoad (module.js:453:12)
      ! host.raspberrypi 2019-02-03 20:46:26.163 error Caught by controller[0]: at Module.load (module.js:494:32)
      ! host.raspberrypi 2019-02-03 20:46:26.163 error Caught by controller[0]: at Object.Module._extensions..node (module.js:604:18)
      ! host.raspberrypi 2019-02-03 20:46:26.162 error Caught by controller[0]: at Error (native)
      ! host.raspberrypi 2019-02-03 20:46:26.162 error Caught by controller[0]: Error: Module version mismatch. Expected 48, got 57.
      ! host.raspberrypi 2019-02-03 20:46:26.162 error Caught by controller[0]: ^
      ! host.raspberrypi 2019-02-03 20:46:26.162 error Caught by controller[0]: throw e
      ! host.raspberrypi 2019-02-03 20:46:26.159 error Caught by controller[0]: /opt/iobroker/node_modules/mcrypt/node_modules/bindings/bindings.js:91</anonymous>

      Im raspberry bekomme ich auf npm view mcrypt version folgende Antwort:

      ! Update available 4.6.1 → 6.7.0 │
      ! │ Run npm i -g npm to update

      Was hat nun die 48 bzw. die 57 mit den Versionen des mcrypt zu tun. Bzw. ist das alles falsch gedacht? Hat irgendjemand eine Hilfestellung?

      Vielen Dank und Grüße

      Jan

      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Da geht nicht um mcrypt.

        Einige Module haben native Teile und werden daher beim installieren auf jedem System neu kompiliert. Wenn man dann die nodejs Version ändert wird es inkompatibel. Und das sagt der Fehler.

        npm rebuild

        Is your friend

        Gesendet vom Handy …

        1 Reply Last reply Reply Quote 0
        • J
          jsc last edited by

          Perfekt. Hat nach dem bebuild und(!) einem iobroker restart funktioniert 😄

          Danke!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Support us

          ioBroker
          Community Adapters
          Donate
          FAQ Cloud / IOT
          HowTo: Node.js-Update
          HowTo: Backup/Restore
          Downloads
          BLOG

          396
          Online

          31.9k
          Users

          80.1k
          Topics

          1.3m
          Posts

          2
          3
          355
          Loading More Posts
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes
          Reply
          • Reply as topic
          Log in to reply
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          The ioBroker Community 2014-2023
          logo