Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Nach update startet der Radar Adapter nicht mehr

    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

    Nach update startet der Radar Adapter nicht mehr

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

      Sehr eigenartiges verhalten denn der const-Syntax-error ist eigentlich keiner, könnte aber verschleppt sein wenn utils nicht richtig geladen oder gefunden wurde.

      Ich hab nur 6.10 auf meinem Ubuntu, da hab ich aber keine Probleme. Am Raspi mit 6.10 und am anderen mit 4.8 auch nicht.

      p.s.: Ich fahre allerdings seit einiger Zeit auch mit upgedatetem npm (sudo npm install npm@latest -g), ist jetzt 4.3, da ich speziell mit 1er-Versionen schon mal Probleme hatte.

      Dies muß man wiederholen wenn ein nodejs-update wieder ein älteres npm mitinstalliert 😞

      schon sudo iobroker stop/start probiert? Nach meinem Update musste ich das auch machen.

      1 Reply Last reply Reply Quote 0
      • R
        rascal last edited by

        ja, stop/start hatte ich schon mehrfach, sogar reboot des Rechners 😞

        1 Reply Last reply Reply Quote 0
        • R
          rascal last edited by

          könnte das ein Problem sein? :

          root@Mastermind:~# iobroker upgrade self
          npm install iobroker.js-controller --production --prefix "/opt/iobroker" (System call)
          npm WARN npm npm does not support Node.js v0.10.33
          npm WARN npm You should probably upgrade to a newer version of node as we
          npm WARN npm can't make any promises that npm will work with this version.
          npm WARN npm You can find the latest version at https://nodejs.org/
          npm WARN deprecated localhost.daplie.com-certificates@1.2.5: Moved to localhost.daplie.me-certificates
          npm WARN prefer global npm@2.15.11 should be installed with -g
          node-pre-gyp ERR! Tried to download: https://github.com/tessel/node-usb/releases/download/1.2.0/usb_bindings-v1.2.0-node-v11-linux-x64.tar.gz
          node-pre-gyp ERR! Pre-built binaries not found for usb@1.2.0 and node@0.10.33 (node-v11 ABI) (falling back to source compile with node-gyp)
          ../libusb/libusb/os/linux_udev.c:40:21: fatal error: libudev.h: Datei oder Verzeichnis nicht gefunden
          compilation terminated.
          make: *** [Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Fehler 1
          gyp ERR! build error
          gyp ERR! stack Error: `make` failed with exit code: 2
          gyp ERR! stack     at ChildProcess.onExit (/opt/iobroker/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
          gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
          gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
          gyp ERR! System Linux 4.4.0-66-generic
          gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/opt/iobroker/node_modules/usb/src/binding"
          gyp ERR! cwd /opt/iobroker/node_modules/usb
          gyp ERR! node -v v0.10.33
          gyp ERR! node-gyp -v v3.4.0
          gyp ERR! not ok
          node-pre-gyp ERR! build error
          node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/opt/iobroker/node_modules/usb/src/binding' (1)
          node-pre-gyp ERR! stack     at ChildProcess. <anonymous>(/opt/iobroker/node_modules/usb/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
          node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
          node-pre-gyp ERR! stack     at maybeClose (child_process.js:756:16)
          node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:823:5)
          node-pre-gyp ERR! System Linux 4.4.0-66-generic
          node-pre-gyp ERR! command "node" "/opt/iobroker/node_modules/usb/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
          node-pre-gyp ERR! cwd /opt/iobroker/node_modules/usb
          node-pre-gyp ERR! node -v v0.10.33
          node-pre-gyp ERR! node-pre-gyp -v v0.6.30
          node-pre-gyp ERR! not ok
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.2.0 (node_modules/usb):
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.2.0 install: `node-pre-gyp install --fallback-to-build`
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
          Host "Mastermind" (linux) updated
          Execute: chmod 777 -R /opt/iobroker
          Chmod finished. Restart controller
          Starting node restart.js
          root@Mastermind:~# iobroker start</anonymous> 
          
          1 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 last edited by

            Ich glaube das eine neue Version von radar eine usb Abhängigkeit bekommen hat … damit muss man zuerst noch:

            apt-get install libusb-1.0-0.dev libudev-dev

            machen, dann sollte das install tun.

            1 Reply Last reply Reply Quote 0
            • R
              rascal last edited by

              Danke, aber das hat leider für den Radar Adapter auch nichts gebracht, selbe log Fehlermeldung

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

                Die Frage mag blöd klingen, aber du bist dir 100% sicher, dass du eine Node.JS-Version > 4 benutzt?

                Die einzige Begründung, die ich für diese Fehlermeldung finden konnte, war eine veraltete Node-Version, die ES2015 nicht unterstützt.

                1 Reply Last reply Reply Quote 0
                • R
                  rascal last edited by

                  root@Mastermind:~# nodejs -v
                  v4.8.0
                  
                  

                  apt-get update/upgrade gibt mir keine Updatemöglichkeit.

                  Muss ich nodejs über https://nodejs.org/en/ händisch herunterladen und installieren?

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

                    @rascal:

                    apt-get update/upgrade gibt mir keine Updatemöglichkeit. `
                    Korrekt!

                    Das ist in den meisten Diszros so.

                    @rascal:

                    herunterladen und installieren? `
                    http://www.iobroker.net/?page_id=5106&l … ion_Nodejs

                    Wobei du die 4.x durch eine 6.x ersetzen kannst

                    Gruß

                    Rainer

                    1 Reply Last reply Reply Quote 0
                    • R
                      rascal last edited by

                      @Homoran:

                      @rascal:

                      @rascal:

                      herunterladen und installieren? `
                      http://www.iobroker.net/?page_id=5106&l … ion_Nodejs

                      Wobei du die 4.x durch eine 6.x ersetzen kannst

                      Gruß

                      Rainer

                      der Link ist für raspian… ich hab's auf einem ubuntu pc laufen, ist das egal?

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

                        @rascal:

                        der Link ist für raspian… ich hab's auf einem ubuntu pc laufen, ist das egal? `
                        Geht mit fast allen Debian-basierten Distros.

                        Auch wenn ich ubuntu nicht mag, habe ich das vorgestern genau nach der Anleitung installiert.

                        lief problemlos.

                        In Ubuntu scheint aber die 0.1x.xx nodjs mit drin zu sein.

                        Ich hatte vergessen die vorher rauszuwerfen, wurde aber während der Installation von 4.xx.xx anscheinend rausgeworfen.

                        Auf jeden Fall lief ioBroker auf Anhieb.

                        Gruß

                        Rainer

                        1 Reply Last reply Reply Quote 0
                        • R
                          rascal last edited by

                          Danke, werde ich später versuchen

                          Gesendet von meinem HUAWEI CRR-L09 mit Tapatalk

                          1 Reply Last reply Reply Quote 0
                          • R
                            rascal last edited by

                            hey,

                            danke vielmals, nodejs v6.10.0 hat's gebracht, der Radar Adapter sowie alles andere läuft jetzt wieder nachdem ich laut Anleitung die alte nodejs runtergeschmissen habe und die v6 installiert habe.

                            bin wieder glücklich mit iobroker und der Welt 😄

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            860
                            Online

                            31.9k
                            Users

                            80.1k
                            Topics

                            1.3m
                            Posts

                            6
                            15
                            2113
                            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