Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. javascript.0 Fehlermeldung beim Starten der Instanz

    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

    javascript.0 Fehlermeldung beim Starten der Instanz

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active last edited by

      @mguenther

      Welche?

      M 1 Reply Last reply Reply Quote 0
      • M
        mguenther @Thomas Braun last edited by

        @thomas-braun
        die 2 error Meldungen beim Starten der javascript Instanz - beide von oben aus dem ersten Beitrag

        W 1 Reply Last reply Reply Quote 0
        • W
          wodkab @mguenther last edited by

          @mguenther
          Ich habe bei mir die beiden gleichen Fehlermeldungen im Log, wenn ich javascript.0 restarte oder den Pi4 reboote:

          2022-04-16 10:50:23.745 - info: javascript.0 (6665) AR(target) Release/obj.target/deps/cpu_features/cpu_features.a
          2022-04-16 10:50:23.776 - info: javascript.0 (6665) COPY Release/cpu_features.a
          2022-04-16 10:50:23.802 - info: javascript.0 (6665) CXX(target) Release/obj.target/cpufeatures/src/binding.o
          2022-04-16 10:50:26.277 - error: javascript.0 (6665) In file included from ../src/binding.cc:1:
          /opt/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:793:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type]
          793 | (node::addon_register_func) (regfunc), \
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          /opt/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
          827 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
          | ^~~~~~~~~~~~~
          ../src/binding.cc:152:1: note: in expansion of macro ‘NODE_MODULE’
          152 | NODE_MODULE(cpufeatures, init)
          | ^~~~~~~~~~~
          2022-04-16 10:50:27.088 - info: javascript.0 (6665) SOLINK_MODULE(target) Release/obj.target/cpufeatures.node
          2022-04-16 10:50:27.410 - info: javascript.0 (6665) COPY Release/cpufeatures.node
          2022-04-16 10:50:27.428 - info: javascript.0 (6665) make: Leaving directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/cpu-features/build'
          2022-04-16 10:50:27.461 - info: javascript.0 (6665)
          > ssh2@1.9.0 install /opt/iobroker/node_modules/iobroker.javascript/node_modules/ssh2
          > node install.js
          2022-04-16 10:50:29.372 - info: javascript.0 (6665) make: Entering directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/ssh2/lib/protocol/crypto/build'
          2022-04-16 10:50:29.374 - info: javascript.0 (6665) CXX(target) Release/obj.target/sshcrypto/src/binding.o
          2022-04-16 10:50:31.325 - error: javascript.0 (6665) In file included from ../src/binding.cc:5:
          /opt/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:793:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type]
          793 | (node::addon_register_func) (regfunc), \
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          /opt/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
          827 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
          | ^~~~~~~~~~~~~
          ../src/binding.cc:2148:1: note: in expansion of macro ‘NODE_MODULE’
          2148 | NODE_MODULE(sshcrypto, init)
          | ^~~~~~~~~~~
          2022-04-16 10:50:35.335 - info: javascript.0 (6665) SOLINK_MODULE(target) Release/obj.target/sshcrypto.node
          2022-04-16 10:50:35.631 - info: javascript.0 (6665) COPY Release/sshcrypto.node
          2022-04-16 10:50:35.649 - info: javascript.0 (6665) make: Leaving directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/ssh2/lib/protocol/crypto/build'
          2022-04-16 10:50:35.675 - info: javascript.0 (6665) Succeeded in building optional crypto binding
          

          Gibt es Neuigkeiten, wie ich das wieder fixen kann?

          M Thomas Braun 2 Replies Last reply Reply Quote 0
          • M
            mguenther @wodkab last edited by

            @wodkab

            habe keine Lösung (bekommen)

            W 1 Reply Last reply Reply Quote 0
            • W
              wodkab @mguenther last edited by

              @mguenther Ich habe eigentlich nichts geändert ... aber bei mir kommt die Fehlermeldung jetzt nicht mehr 😕 aber soll mir rechts sein. So oft restarte/reboote ich ja auch nicht. Zur Info ... bei mir läuft iobroker in einem Docker-Container.

              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @wodkab last edited by

                @wodkab sagte in javascript.0 Fehlermeldung beim Starten der Instanz:

                ssh2@1.9.0

                Wo hängt denn das Modul?

                cd /opt/iobroker
                npm ls ssh2
                
                W 1 Reply Last reply Reply Quote 0
                • W
                  wodkab @Thomas Braun last edited by

                  @thomas-braun 558b2ed7-926b-44f6-8d52-4fd89d1f021f-grafik.png

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @wodkab last edited by Thomas Braun

                    @wodkab

                    Okay, also als manuelles Modul im javaskript-Adapter.
                    Brauchst du das wirklich? Ich würde das sonst rauswerfen.
                    Wenn wirklich benötigt, dann muss das vielleicht nochmal reinstalliert oder neugebaut werden.

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      wodkab @Thomas Braun last edited by

                      @thomas-braun @thomas-braun Ok ... Danke, dann weiß ich schon mal woher der Fehler kommt. Brauchen tue ich es schon, ich führe damit ssh-Kommandos auf meinen LibreEelecs, NAS, RaspPis etc. aus.

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @wodkab last edited by

                        @wodkab

                        Ich hab jetzt erst genauer geschaut... Mea culpa!

                        Aber das sind gar keine 'Fehler', das sind ganz normale Meldungen, wenn Module neugebaut werden. Wird ja auch erfolgreich abgeschlossen:

                        Succeeded in building optional crypto binding

                        W 1 Reply Last reply Reply Quote 0
                        • W
                          wodkab @Thomas Braun last edited by

                          @thomas-braun Cool ... Danke, das erklärt auch, warum die "Fehler", die eigentlich Build-Warnings aus dem Modul-Build sind nicht mehr kommen ... Modul wird ja (denke ich) nicht dauernd neu gebaut 😉

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          936
                          Online

                          31.7k
                          Users

                          79.9k
                          Topics

                          1.3m
                          Posts

                          4
                          16
                          613
                          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