Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Fehlermeldung "terminated with code 1 ()"

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Fehlermeldung "terminated with code 1 ()"

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

      Hallo, also in der iobroker Web Ansicht deaktivieren und über Konsole starten richtig?

      1 Reply Last reply Reply Quote 0
      • S
        stoepselinho last edited by

        Hallo,

        Hab es gerade ausprobiert und das war das Ergebnis:

        root@raspberrypi:/opt/iobroker/node_modules/iobroker.ical# node main.js –force --logs

        /opt/iobroker/node_modules/iobroker.ical/node_modules/node-ical/node_modules/request/node_modules/tough-cookie/lib/memstore.js:56

        return cb(nUll,this.idx[dom`i.][path][key]||null);

        ^

        SyntaxError: Unexpected identifier

        at exports.runInThisContext (vm.js:53:16)

        at Module._compile (module.js:373:25)

        at Object.Module._extensions..js (module.js:416:10)

        at Module.load (module.js:343:32)

        at Function.Module._load (module.js:300:12)

        at Module.require (module.js:353:17)

        at require (internal/module.js:12:17)

        at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.ical/node_modules/node-ical/node_modules/request/node_modules/tough-cookie/lib/cookie.js:36:25)

        at Module._compile (module.js:409:26)

        at Object.Module._extensions..js (module.js:416:10)

        root@raspberrypi:/opt/iobroker/node_modules/iobroker.ical#

        Gesendet von iPad mit Tapatalk</anonymous>

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

          @stoepselinho:

          Hallo,

          Hab es gerade ausprobiert und das war das Ergebnis:

          root@raspberrypi:/opt/iobroker/node_modules/iobroker.ical# node main.js –force --logs

          /opt/iobroker/node_modules/iobroker.ical/node_modules/node-ical/node_modules/request/node_modules/tough-cookie/lib/memstore.js:56

          return cb(nUll,this.idx[dom`i.][path][key]||null);

          ^

          SyntaxError: Unexpected identifier

          at exports.runInThisContext (vm.js:53:16)

          at Module._compile (module.js:373:25)

          at Object.Module._extensions..js (module.js:416:10)

          at Module.load (module.js:343:32)

          at Function.Module._load (module.js:300:12)

          at Module.require (module.js:353:17)

          at require (internal/module.js:12:17)

          at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.ical/node_modules/node-ical/node_modules/request/node_modules/tough-cookie/lib/cookie.js:36:25)

          at Module._compile (module.js:409:26)

          at Object.Module._extensions..js (module.js:416:10)

          root@raspberrypi:/opt/iobroker/node_modules/iobroker.ical#

          Gesendet von iPad mit Tapatalk</anonymous> `
          sieht nach SD karte Problem aus. So soll es aussehen:

          https://github.com/salesforce/tough-coo … ore.js#L60

          return cb(null,this.idx[domain][path][key]||null);
          

          und bei dir:

          return cb(nUll,this.idx[dom`i.][path][key]||null);
          
          1 Reply Last reply Reply Quote 0
          • S
            stoepselinho last edited by

            Wie kann man das beheben? Komisch ist auch das es erst ging und plötzlich nicht mehr

            Gesendet von iPad mit Tapatalk

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

              @stoepselinho:

              Wie kann man das beheben? Komisch ist auch das es erst ging und plötzlich nicht mehr

              Gesendet von iPad mit Tapatalk `
              Neue SD Karte. Du kannst natürlich das ausführen:

              cd /opt/iobroker/node_modules/iobroker.ical/node_modules/node-ical/node_modules/request/
              npm i tough-cookie --force
              
              

              aber die SD Karte wird nicht mehr lange halten und dann verlierst du deine Installation.

              1 Reply Last reply Reply Quote 0
              • S
                stoepselinho last edited by

                Bei einer neuen SD Karte muss ich doch eh alles neu machen oder nicht?

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

                  Naja, solange die alte Karte noch tut kannst Du davon ein Image ziehen und das auf eine Neue kopieren… Dann musst du nicht Alles neu installieren.

                  1 Reply Last reply Reply Quote 0
                  • AlCalzone
                    AlCalzone Developer last edited by

                    Wenn du jetzt ein Image machst und auf eine neue Karte kopierst, besteht die Chance, dass kleinere Reparaturen ausreichen.

                    1 Reply Last reply Reply Quote 0
                    • S
                      stoepselinho last edited by

                      Aber dann kopiere ich den Fehler doch mit

                      Gesendet von iPad mit Tapatalk

                      1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators last edited by

                        Ja, aber wenn du ihn auf der neuen Karte reparierst ist das von Dauer, auf der alten Karte kann durch jeden weiteren Schreibzugriff ein weiterer Fehler entstehen.

                        Gruß

                        Rainer

                        1 Reply Last reply Reply Quote 0
                        • S
                          stoepselinho last edited by

                          jetzt startet mein iobroker garnicht mehr. obwohl es eine neue sd karte ist

                          root@raspberrypi:/opt/iobroker# iobroker start

                          module.js:85

                          throw e;

                          ^

                          SyntaxError: Error parsing /opt/iobroker/node_modules/iobroker.js-controller/nod e_modules/daemonize2/package.json: Unexpected token

                          at Object.parse (native)

                          at readPackage (module.js:81:52)

                          at tryPackage (module.js:91:13)

                          at Function.Module._findPath (module.js:153:20)

                          at Function.Module._resolveFilename (module.js:323:25)

                          at Function.Module._load (module.js:276:25)

                          at Module.require (module.js:353:17)

                          at require (internal/module.js:12:17)

                          at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:251:34

                          at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/set up.js:275:15)

                          1 Reply Last reply Reply Quote 0
                          • S
                            stoepselinho last edited by

                            hab den controller neu installiert und dann lief er wieder. aber wie bekomm ich den fehler denn jetzt weg?

                            1 Reply Last reply Reply Quote 0
                            • S
                              stoepselinho last edited by

                              Jemand eine Idee wie ich den Fehler auf der neuen Karte weg bekomme?

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

                                Node.js und npm Version?

                                Node.js sollt 4 oder 6 sein.

                                npm cache clean
                                cd /opt/iobroker
                                npm i iobroker.js-controller --production --force
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • S
                                  stoepselinho last edited by

                                  Wo genau finde ich das?

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

                                    @stoepselinho:

                                    Wo genau finde ich das? `
                                    http://lmgtfy.com/?q=Get+node.js+version

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stoepselinho last edited by

                                      Bei Host steht was von Node.js 1.1.2

                                      1 Reply Last reply Reply Quote 0
                                      • AlCalzone
                                        AlCalzone Developer last edited by

                                        @stoepselinho:

                                        Bei Host steht was von Node.js 1.1.2 `
                                        Ne, da steht JS-Controller 1.1.2

                                        Konsole auf =>

                                        node -v
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          stoepselinho last edited by

                                          Danke

                                          4.7.2 Node

                                          2.15.11 Npm

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          979
                                          Online

                                          31.6k
                                          Users

                                          79.4k
                                          Topics

                                          1.3m
                                          Posts

                                          5
                                          21
                                          5987
                                          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