Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Help - terminated with code 1

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Help - terminated with code 1

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

      Hi,

      ich habe einen falschen fehler gemacht, und node zwei mal installiert. Eigentlich wollte ich nur updaten. Na gut, jetzt, 3h später, scheint alles bereinigt, iobroker läuft wieder, node -v und nodejs -v zeigen beide 6.11.0.

      Aber… die beiden Adapter lightify und yahka liefern beide terminated with code 1. Debug Ausgabe bringt auch nichts.

      npm install iobroker.xxx --production

      ./iobroker upload xxx

      ist schon mehrfach ausprobiert. Incl. System restarts.

      Hat jemand noch eine Idee?

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

        @mabas:

        Hi,

        ich habe einen falschen fehler gemacht, und node zwei mal installiert. Eigentlich wollte ich nur updaten. Na gut, jetzt, 3h später, scheint alles bereinigt, iobroker läuft wieder, node -v und nodejs -v zeigen beide 6.11.0.

        Aber… die beiden Adapter lightify und yahka liefern beide terminated with code 1. Debug Ausgabe bringt auch nichts.

        npm install iobroker.xxx --production

        ./iobroker upload xxx

        ist schon mehrfach ausprobiert. Incl. System restarts.

        Hat jemand noch eine Idee? `
        Wenn du so was ausführst:

        cd /opt/iobroker
        iobroker stop lightify
        node node_modules\iobroker.lightify\lightify.js --force --logs
        
        

        Dann solltest du mehr sehen.

        1 Reply Last reply Reply Quote 0
        • M
          mabas last edited by

          Super. Jetzt bin ich bei

          /opt/iobroker/node_modules/soef/soef.js:1322
              fns.adapter = fns.adapter(options);
                                ^
          
          TypeError: fns.adapter is not a function
              at Object.exports.Adapter (/opt/iobroker/node_modules/soef/soef.js:1322:23)
              at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.lightify/lightify.js:22:20)
              at Module._compile (module.js:570:32)
              at Object.Module._extensions..js (module.js:579:10)
              at Module.load (module.js:487:32)
              at tryModuleLoad (module.js:446:12)
              at Function.Module._load (module.js:438:3)
              at Module.runMain (module.js:604:10)
              at run (bootstrap_node.js:389:7)
              at startup (bootstrap_node.js:149:9)</anonymous>
          

          Mal gucken, ob ich damit weiterkomme 🙂

          1 Reply Last reply Reply Quote 0
          • M
            mabas last edited by

            Habs geschafft. Beide kaputte Adapter warfen unterschiedliche Logs. Der vom Yahka war aufschlußreicher. Eine DNS lib war falsch gebaut.

            npm rebuild war mein Freund. Danke!!!!!

            Den Log-Befehl merke ich mir. Das hilft echt enorm bei der Fehlersuche.

            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

            624
            Online

            31.7k
            Users

            79.8k
            Topics

            1.3m
            Posts

            2
            4
            817
            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