Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehlermeldung von Node-Red

    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

    Fehlermeldung von Node-Red

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

      naja jetzt bin ich im richtigen Ordner... Jetzt kommt das hier? Habs mit sudo und ohne sudo ausgeführt.

      pi@ioBroker-Pi:/opt/iobroker $ sudo npm rebuild
      
      > iobroker.js-controller@1.5.12 preinstall /opt/iobroker/node_modules/iobroker.js-controller
      > node lib/preinstallCheck.js
      
      NPM version: 6.9.0
      npm version >= 5: disabling package-lock
      Could not check npm version: Error: EACCES: permission denied, open '/opt/iobroker/.npmrc'
      Assuming that correct version is installed.
      
      > iobroker.js-controller@1.5.12 install /opt/iobroker/node_modules/iobroker.js-controller
      > node iobroker.js setup first
      
      
      > bcrypt@3.0.5 install /opt/iobroker/node_modules/node-red/node_modules/bcrypt
      > node-pre-gyp install --fallback-to-build
      
      node-pre-gyp WARN Using request for node-pre-gyp https download 
      [bcrypt] Success: "/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding/bcrypt_lib.node" already installed
      Pass --update-binary to reinstall or --build-from-source to recompile
      
      > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/@serialport/bindings
      > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
      
      prebuild-install WARN install EACCES: permission denied, access '/root/.npm'
      gyp ERR! clean error 
      gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
      gyp ERR! System Linux 4.14.34-v7+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings
      gyp ERR! node -v v10.16.0
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok 
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! @serialport/bindings@2.0.8 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the @serialport/bindings@2.0.8 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2019-06-19T18_28_09_606Z-debug.log
      
      J sigi234 2 Replies Last reply Reply Quote 0
      • J
        Jan1 @fisch last edited by

        @fisch
        Hast den Fixer schon laufen lassen, weil hier werden Rechtefehler angemeckert.

        1 Reply Last reply Reply Quote 0
        • sigi234
          sigi234 Forum Testing Most Active @fisch last edited by sigi234

          @fisch sagte in Fehlermeldung von Node-Red:

          Could not check npm version: Error: EACCES: permission denied, open '/opt/iobroker/.npmrc'

          https://forum.iobroker.net/topic/20211/iobroker-installation-fixer-beta-verfügbar

          https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten

          1 Reply Last reply Reply Quote 0
          • F
            fisch last edited by fisch

            Fixer ist erfolgreich durchgelaufen....

            das andere verstehe ich nicht ganz 😞

            danke für euren support!!

            für jetzt gerade nochmal den npm rebuild aus....

            EDIT: jetzt läuft es erst mal durch

            sigi234 1 Reply Last reply Reply Quote 0
            • sigi234
              sigi234 Forum Testing Most Active @fisch last edited by

              @fisch sagte in Fehlermeldung von Node-Red:

              Fixer ist erfolgreich durchgelaufen....

              das andere verstehe ich nicht ganz 😞

              danke für euren support!!

              für jetzt gerade nochmal den npm rebuild aus....

              EDIT: jetzt läuft es erst mal durch

              Das wird schon..........

              Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              1 Reply Last reply Reply Quote 0
              • F
                fisch last edited by

                ich verliere irgendwie gerade die Hoffnung 😞
                lief jetzt ziemlich lange durch...

                Abe jetzt kommt das

                gyp ERR! build error 
                gyp ERR! stack Error: `make` failed with exit code: 2
                gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                gyp ERR! System Linux 4.14.34-v7+
                gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
                gyp ERR! node -v v10.16.0
                gyp ERR! node-gyp -v v3.8.0
                gyp ERR! not ok 
                npm ERR! code ELIFECYCLE
                npm ERR! errno 1
                npm ERR! unix-dgram@0.2.3 install: `node-gyp rebuild`
                npm ERR! Exit status 1
                
                
                sigi234 1 Reply Last reply Reply Quote 0
                • sigi234
                  sigi234 Forum Testing Most Active @fisch last edited by

                  @fisch

                  Neu starten, kommst du dann in den Admin?

                  1 Reply Last reply Reply Quote 0
                  • F
                    fisch last edited by

                    So jetzt geht auch Node-Red wieder!!! Habe den Adapter komplett gelöscht und erneut installiert!

                    eine kleinen Fehler habe ich noch in Node-red.. Wenn ich den noch weg bekommen würde . das ppm rebmild habe ich schon versucht... 😞

                    Error: The module '/opt/iobroker/iobroker-data/node-red/node_modules/rcswitch/build/Release/rcswitch.node'was compiled against a different Node.js version usingNODE_MODULE_VERSION 48. This version of Node.js requiresNODE_MODULE_VERSION 64. Please try re-compiling or re-installingth
                    
                    J 1 Reply Last reply Reply Quote 0
                    • J
                      Jan1 @fisch last edited by

                      @fisch
                      kann es sein dass Du 2 verschieden Node Versionen laufen hast? Denn der Fehler dürfte nach einer kompletten Neuinstallation des Adapter überhaupt nicht auftauchen.

                      1 Reply Last reply Reply Quote 0
                      • F
                        fisch last edited by

                        nein habe ich nicht am laufen...es liegt an dem RSSwitch von Node-Red ..funktioniert mit Node>10 nicht..Das Problem haben noch mehr..:-(

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jan1 @fisch last edited by Jan1

                          @fisch
                          ich habe Node-Red mit Node 10 ohne Fehler laufen, somit stimmt das nicht.
                          root@Beelink:~# node -v
                          v10.16.0
                          root@Beelink:~# nodejs -v
                          v10.16.0
                          root@Beelink:~# npm -v
                          6.9.0
                          root@Beelink:~#

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            fisch @Jan1 last edited by

                            @Jan1

                            mein Node-Red läuft doch auch ! Nur eine Node RC-Switch eben nicht...Kannst es ja mal ausprobieren....dann wirst sehen, dass es am RC-Switch liegt.

                            Alles andre in Node_Red läuft ja 😉

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Jan1 @fisch last edited by

                              @fisch
                              dann habe ich Dich falsch verstanden.
                              Von welcher Node RC-Switch sprichst Du? denn bei der "node-red-contrib-rcswitch2" steht das dabei "It should be compatible with all versions of Node.js starting from 0.10.x.". Wobei ich die dirkt über Node-RED nicht installiert bekomme.

                              1 Reply Last reply Reply Quote 0
                              • F
                                fisch last edited by

                                @Jan1 said in Fehlermeldung von Node-Red:

                                node-red-contrib-rcswitch2

                                genau den meine ich ! Wie gesagt...bringt eben dann diese Fehlermeldung!

                                Im GitHub dem dem Teil berichten noch mehrere von diesem Problem..

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

                                  @fisch Die Fehlermeldung besagt, dass das Modul gegen eine alte Node-Version kompiliert wurde - danach hast du ein Update gefahren. Das erfordert eine erneute Kompilierung des betreffenden Moduls. Wenn es mit npm rebuild nicht klappt, dann dürfte das (analog zu Z-Wave) gehen:

                                  cd /opt/iobroker/iobroker-data/node-red/node_modules/rcswitch/
                                  npm i --production
                                  
                                  F 1 Reply Last reply Reply Quote 0
                                  • F
                                    fisch @AlCalzone last edited by

                                    @AlCalzone said in Fehlermeldung von Node-Red:

                                    cd /opt/iobroker/iobroker-data/node-red/node_modules/rcswitch/
                                    npm i --production

                                    Oh, jetzt erst deine Antwort gelesen.... Danke erstmal dafür!

                                    Habe das ganze nun neu installieren wollen -jetzt bekomme ich das hier..

                                    
                                    -----------------------------------------------------------
                                    2019-06-24T11:23:49.737Z installieren : node-red-contrib-rcswitch2 0.1.1
                                    
                                    2019-06-24T11:23:49.763Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-rcswitch2@0.1.1
                                    2019-06-24T11:24:33.889Z [out] 
                                    2019-06-24T11:24:33.889Z [out] > rcswitch@0.3.1 install /opt/iobroker/iobroker-data/node-red/node_modules/rcswitch
                                    2019-06-24T11:24:33.889Z [out] > node-gyp rebuild
                                    2019-06-24T11:24:33.889Z [out] 
                                    2019-06-24T11:24:37.626Z [out] make: Verzeichnis „/opt/iobroker/iobroker-data/node-red/node_modules/rcswitch/build“ wird betreten
                                    2019-06-24T11:24:37.631Z [out]   CXX(target) Release/obj.target/rcswitch/src/rcswitch.o
                                    2019-06-24T11:24:45.896Z [out]   CXX(target) Release/obj.target/rcswitch/src/RCSwitchNode.o
                                    2019-06-24T11:24:49.088Z [err] In file included from ../src/RCSwitchNode.cpp:1:0:
                                    2019-06-24T11:24:49.088Z [err] ../src/RCSwitchNode.cpp: In static member function ‘static void RCSwitchNode::SwitchOp(const Nan::FunctionCallbackInfo<v8::Value>&, bool)’:
                                    2019-06-24T11:24:49.088Z [err] ../src/RCSwitchNode.cpp:46:35: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-06-24T11:24:49.088Z [err]        switchOp2(group->Int32Value(), swtch->Int32Value());
                                    2019-06-24T11:24:49.088Z [err]                                    ^
                                    2019-06-24T11:24:49.088Z [err] ../src/RCSwitchNode.h:19:69: note: in definition of macro ‘switchOp2’
                                    2019-06-24T11:24:49.088Z [err]    #define switchOp2(p1, p2) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2)); else thiz->rcswitch.switchOff((p1), (p2)); }
                                    2019-06-24T11:24:49.088Z [err]                                                                      ^~
                                    2019-06-24T11:24:49.089Z [err] In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                    2019-06-24T11:24:49.089Z [err]                  from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                    2019-06-24T11:24:49.089Z [err]                  from ../../nan/nan.h:54,
                                    2019-06-24T11:24:49.089Z [err]                  from ../src/RCSwitchNode.h:4,
                                    2019-06-24T11:24:49.089Z [err]                  from ../src/RCSwitchNode.cpp:1:
                                    2019-06-24T11:24:49.089Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                    2019-06-24T11:24:49.089Z [err]    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                    2019-06-24T11:24:49.089Z [err]                                               ^
                                    2019-06-24T11:24:49.089Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-06-24T11:24:49.089Z [err]    declarator __attribute__((deprecated(message)))
                                    2019-06-24T11:24:49.089Z [err]    ^~~~~~~~~~
                                    2019-06-24T11:24:49.089Z [err] In file included from ../src/RCSwitchNode.cpp:1:0:
                                    2019-06-24T11:24:49.089Z [err] ../src/RCSwitchNode.cpp:46:56: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-06-24T11:24:49.089Z [err]        switchOp2(group->Int32Value(), swtch->Int32Value());
                                    2019-06-24T11:24:49.089Z [err]                                                         ^
                                    2019-06-24T11:24:49.089Z [err] ../src/RCSwitchNode.h:19:75: note: in definition of macro ‘switchOp2’
                                    2019-06-24T11:24:49.089Z [err]    #define switchOp2(p1, p2) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2)); else thiz->rcswitch.switchOff((p1), (p2)); }
                                    2019-06-24T11:24:49.089Z [err]                                                                            ^~
                                    2019-06-24T11:24:49.089Z [err] In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                    2019-06-24T11:24:49.089Z [err]                  from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                    2019-06-24T11:24:49.089Z [err]                  from ../../nan/nan.h:54,
                                    2019-06-24T11:24:49.089Z [err]                  from ../src/RCSwitchNode.h:4,
                                    2019-06-24T11:24:49.089Z [err]                  from ../src/RCSwitchNode.cpp:1:
                                    2019-06-24T11:24:49.089Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                    2019-06-24T11:24:49.089Z [err]    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                    2019-06-24T11:24:49.089Z [err]                                               ^
                                    2019-06-24T11:24:49.089Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-06-24T11:24:49.089Z [err]    declarator __attribute__((deprecated(message)))
                                    2019-06-24T11:24:49.089Z [err]    ^~~~~~~~~~
                                    2019-06-24T11:24:49.089Z [err] In file included from ../src/RCSwitchNode.cpp:1:0:
                                    2019-06-24T11:24:49.089Z [err] ../src/RCSwitchNode.cpp:46:35: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-06-24T11:24:49.089Z [err]        switchOp2(group->Int32Value(), swtch->Int32Value());
                                    2019-06-24T11:24:49.089Z [err]                                    ^
                                    2019-06-24T11:24:49.089Z [err] ../src/RCSwitchNode.h:19:112: note: in definition of macro ‘switchOp2’
                                    2019-06-24T11:24:49.089Z [err]    #define switchOp2(p1, p2) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2)); else thiz->rcswitch.switchOff((p1), (p2)); }
                                    2019-06-24T11:24:49.089Z [err]                                                                                                                 ^~
                                    2019-06-24T11:24:49.090Z [err] In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                    2019-06-24T11:24:49.090Z [err]                  from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                    2019-06-24T11:24:49.090Z [err]                  from ../../nan/nan.h:54,
                                    2019-06-24T11:24:49.090Z [err]                  from ../src/RCSwitchNode.h:4,
                                    2019-06-24T11:24:49.090Z [err]                  from ../src/RCSwitchNode.cpp:1:
                                    2019-06-24T11:24:49.090Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                    2019-06-24T11:24:49.090Z [err]    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                    2019-06-24T11:24:49.090Z [err]                                               ^
                                    2019-06-24T11:24:49.090Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-06-24T11:24:49.090Z [err]    declarator __attribute__((deprecated(message)))
                                    2019-06-24T11:24:49.090Z [err]    ^~~~~~~~~~
                                    2019-06-24T11:24:49.090Z [err] In file included from ../src/RCSwitchNode.cpp:1:0:
                                    2019-06-24T11:24:49.090Z [err] ../src/RCSwitchNode.cpp:46:56: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-06-24T11:24:49.090Z [err]        switchOp2(group->Int32Value(), swtch->Int32Value());
                                    2019-06-24T11:24:49.090Z [err]                                                         ^
                                    2019-06-24T11:24:49.090Z [err] ../src/RCSwitchNode.h:19:118: note: in definition of macro ‘switchOp2’
                                    2019-06-24T11:24:49.090Z [err]    #define switchOp2(p1, p2) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2)); else thiz->rcswitch.switchOff((p1), (p2)); }
                                    2019-06-24T11:24:49.090Z [err]                                                                                                                       ^~
                                    2019-06-24T11:24:49.090Z [err] In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                    2019-06-24T11:24:49.090Z [err]                  from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                    2019-06-24T11:24:49.090Z [err]                  from ../../nan/nan.h:54,
                                    2019-06-24T11:24:49.090Z [err]                  from ../src/RCSwitchNode.h:4,
                                    2019-06-24T11:24:49.090Z [err]                  from ../src/RCSwitchNode.cpp:1:
                                    2019-06-24T11:24:49.090Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                    2019-06-24T11:24:49.090Z [err]    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                    2019-06-24T11:24:49.090Z [err]                                               ^
                                    2019-06-24T11:24:49.090Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-06-24T11:24:49.090Z [err]    declarator __attribute__((deprecated(message)))
                                    2019-06-24T11:24:49.090Z [err]    ^~~~~~~~~~
                                    2019-06-24T11:24:49.091Z [err] In file included from ../src/RCSwitchNode.cpp:1:0:
                                    2019-06-24T11:24:49.091Z [err] ../src/RCSwitchNode.cpp:52:46: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-06-24T11:24:49.091Z [err]          switchOp2(*sGroup, swtch->Int32Value());
                                    2019-06-24T11:24:49.091Z [err]                                               ^
                                    2019-06-24T11:24:49.091Z [err] ../src/RCSwitchNode.h:19:75: note: in definition of macro ‘switchOp2’
                                    2019-06-24T11:24:49.091Z [err]    #define switchOp2(p1, p2) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2)); else thiz->rcswitch.switchOff((p1), (p2)); }
                                    2019-06-24T11:24:49.091Z [err]                                                                            ^~
                                    2019-06-24T11:24:49.091Z [err] In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                    2019-06-24T11:24:49.091Z [err]                  from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                    2019-06-24T11:24:49.091Z [err]                  from ../../nan/nan.h:54,
                                    2019-06-24T11:24:49.091Z [err]                  from ../src/RCSwitchNode.h:4,
                                    2019-06-24T11:24:49.091Z [err]                  from ../src/RCSwitchNode.cpp:1:
                                    2019-06-24T11:24:49.091Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                    2019-06-24T11:24:49.091Z [err]    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                    2019-06-24T11:24:49.091Z [err]                                               ^
                                    2019-06-24T11:24:49.091Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-06-24T11:24:49.091Z [err]    declarator __attribute__((deprecated(message)))
                                    2019-06-24T11:24:49.091Z [err]    ^~~~~~~~~~
                                    2019-06-24T11:24:49.092Z [err] In file included from ../src/RCSwitchNode.cpp:1:0:
                                    2019-06-24T11:24:49.092Z [err] ../src/RCSwitchNode.cpp:52:46: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-06-24T11:24:49.092Z [err]          switchOp2(*sGroup, swtch->Int32Value());
                                    2019-06-24T11:24:49.092Z [err]                                               ^
                                    2019-06-24T11:24:49.092Z [err] ../src/RCSwitchNode.h:19:118: note: in definition of macro ‘switchOp2’
                                    2019-06-24T11:24:49.092Z [err]    #define switchOp2(p1, p2) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2)); else thiz->rcswitch.switchOff((p1), (p2)); }
                                    2019-06-24T11:24:49.092Z [err]                                                                                                                       ^~
                                    2019-06-24T11:24:49.092Z [err] In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                    2019-06-24T11:24:49.092Z [err]                  from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                    2019-06-24T11:24:49.092Z [err]                  from ../../nan/nan.h:54,
                                    2019-06-24T11:24:49.092Z [err]                  from ../src/RCSwitchNode.h:4,
                                    2019-06-24T11:24:49.092Z [err]                  from ../src/RCSwitchNode.cpp:1:
                                    2019-06-24T11:24:49.092Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                    2019-06-24T11:24:49.092Z [err]    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                    2019-06-24T11:24:49.092Z [err]                                               ^
                                    2019-06-24T11:24:49.092Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-06-24T11:24:49.092Z [err]    declarator __attribute__((deprecated(message)))
                                    2019-06-24T11:24:49.092Z [err]    ^~~~~~~~~~
                                    2019-06-24T11:24:49.094Z [err] In file included from ../src/RCSwitchNode.cpp:1:0:
                                    2019-06-24T11:24:49.094Z [err] ../src/RCSwitchNode.cpp:65:48: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-06-24T11:24:49.094Z [err]          switchOp3(*(*v8str), group->Int32Value(), devce->Int32Value());
                                    2019-06-24T11:24:49.094Z [err]                                                 ^
                                    2019-06-24T11:24:49.094Z [err] ../src/RCSwitchNode.h:20:79: note: in definition of macro ‘switchOp3’
                                    2019-06-24T11:24:49.094Z [err]    #define switchOp3(p1, p2, p3) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2), (p3)); else thiz->rcswitch.switchOff((p1), (p2), (p3)); }
                                    2019-06-24T11:24:49.094Z [err]                                                                                ^~
                                    2019-06-24T11:24:49.094Z [err] In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                    2019-06-24T11:24:49.094Z [err]                  from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                    2019-06-24T11:24:49.094Z [err]                  from ../../nan/nan.h:54,
                                    2019-06-24T11:24:49.094Z [err]                  from ../src/RCSwitchNode.h:4,
                                    2019-06-24T11:24:49.094Z [err]                  from ../src/RCSwitchNode.cpp:1:
                                    2019-06-24T11:24:49.094Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                    2019-06-24T11:24:49.094Z [err]    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                    2019-06-24T11:24:49.094Z [err]                                               ^
                                    2019-06-24T11:24:49.094Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-06-24T11:24:49.094Z [err]    declarator __attribute__((deprecated(message)))
                                    2019-06-24T11:24:49.094Z [err]    ^~~~~~~~~~
                                    2019-06-24T11:24:49.094Z [err] In file included from ../src/RCSwitchNode.cpp:1:0:
                                    2019-06-24T11:24:49.094Z [err] ../src/RCSwitchNode.cpp:65:69: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-06-24T11:24:49.094Z [err]          switchOp3(*(*v8str), group->Int32Value(), devce->Int32Value());
                                    2019-06-24T11:24:49.094Z [err]                                                                      ^
                                    2019-06-24T11:24:49.094Z [err] ../src/RCSwitchNode.h:20:85: note: in definition of macro ‘switchOp3’
                                    2019-06-24T11:24:49.094Z [err]    #define switchOp3(p1, p2, p3) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2), (p3)); else thiz->rcswitch.switchOff((p1), (p2), (p3)); }
                                    2019-06-24T11:24:49.094Z [err]                                                                                      ^~
                                    2019-06-24T11:24:49.094Z [err] In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                    2019-06-24T11:24:49.094Z [err]                  from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                    2019-06-24T11:24:49.094Z [err]                  from ../../nan/nan.h:54,
                                    2019-06-24T11:24:49.094Z [err]                  from ../src/RCSwitchNode.h:4,
                                    2019-06-24T11:24:49.094Z [err]                  from ../src/RCSwitchNode.cpp:1:
                                    2019-06-24T11:24:49.094Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                    2019-06-24T11:24:49.094Z [err]    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                    2019-06-24T11:24:49.094Z [err]                                               ^
                                    2019-06-24T11:24:49.094Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-06-24T11:24:49.094Z [err]    declarator __attribute__((deprecated(message)))
                                    2019-06-24T11:24:49.094Z [err]    ^~~~~~~~~~
                                    2019-06-24T11:24:49.095Z [err] In file included from ../src/RCSwitchNode.cpp:1:0:
                                    2019-06-24T11:24:49.095Z [err] ../src/RCSwitchNode.cpp:65:48: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-06-24T11:24:49.095Z [err]          switchOp3(*(*v8str), group->Int32Value(), devce->Int32Value());
                                    2019-06-24T11:24:49.095Z [err]                                                 ^
                                    2019-06-24T11:24:49.095Z [err] ../src/RCSwitchNode.h:20:128: note: in definition of macro ‘switchOp3’
                                    2019-06-24T11:24:49.095Z [err]    #define switchOp3(p1, p2, p3) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2), (p3)); else thiz->rcswitch.switchOff((p1), (p2), (p3)); }
                                    2019-06-24T11:24:49.095Z [err]                                                                                                                                 ^~
                                    2019-06-24T11:24:49.095Z [err] In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                    2019-06-24T11:24:49.095Z [err]                  from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                    2019-06-24T11:24:49.095Z [err]                  from ../../nan/nan.h:54,
                                    2019-06-24T11:24:49.095Z [err]                  from ../src/RCSwitchNode.h:4,
                                    2019-06-24T11:24:49.095Z [err]                  from ../src/RCSwitchNode.cpp:1:
                                    2019-06-24T11:24:49.095Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                    2019-06-24T11:24:49.095Z [err]    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                    2019-06-24T11:24:49.095Z [err]                                               ^
                                    2019-06-24T11:24:49.095Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-06-24T11:24:49.095Z [err]    declarator __attribute__((deprecated(message)))
                                    2019-06-24T11:24:49.095Z [err]    ^~~~~~~~~~
                                    2019-06-24T11:24:49.097Z [err] In file included from ../src/RCSwitchNode.cpp:1:0:
                                    2019-06-24T11:24:49.097Z [err] ../src/RCSwitchNode.cpp:65:69: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-06-24T11:24:49.097Z [err]          switchOp3(*(*v8str), group->Int32Value(), devce->Int32Value());
                                    2019-06-24T11:24:49.097Z [err]                                                                      ^
                                    2019-06-24T11:24:49.097Z [err] ../src/RCSwitchNode.h:20:134: note: in definition of macro ‘switchOp3’
                                    2019-06-24T11:24:49.097Z [err]    #define switchOp3(p1, p2, p3) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2), (p3)); else thiz->rcswitch.switchOff((p1), (p2), (p3)); }
                                    2019-06-24T11:24:49.097Z [err]                                                                                                                                       ^~
                                    2019-06-24T11:24:49.097Z [err] In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                    2019-06-24T11:24:49.097Z [err]                  from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                    2019-06-24T11:24:49.097Z [err]                  from ../../nan/nan.h:54,
                                    2019-06-24T11:24:49.097Z [err]                  from ../src/RCSwitchNode.h:4,
                                    2019-06-24T11:24:49.097Z [err]                  from ../src/RCSwitchNode.cpp:1:
                                    2019-06-24T11:24:49.097Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                    2019-06-24T11:24:49.097Z [err]    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                    2019-06-24T11:24:49.097Z [err]                                               ^
                                    2019-06-24T11:24:49.097Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-06-24T11:24:49.097Z [err]    declarator __attribute__((deprecated(message)))
                                    2019-06-24T11:24:49.097Z [err]    ^~~~~~~~~~
                                    2019-06-24T11:24:49.101Z [err] ../src/RCSwitchNode.cpp: In static member function ‘static void RCSwitchNode::New(const Nan::FunctionCallbackInfo<v8::Value>&)’:
                                    2019-06-24T11:24:49.101Z [err] ../src/RCSwitchNode.cpp:83:59: error: no matching function for call to ‘v8::Function::NewInstance(const int&, v8::Local<v8::Value> [0])’
                                    2019-06-24T11:24:49.101Z [err]      info.GetReturnValue().Set(cons->NewInstance(argc, argv));
                                    2019-06-24T11:24:49.101Z [err]                                                            ^
                                    2019-06-24T11:24:49.102Z [err] In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                                    2019-06-24T11:24:49.102Z [err]                  from ../../nan/nan.h:54,
                                    2019-06-24T11:24:49.102Z [err]                  from ../src/RCSwitchNode.h:4,
                                    2019-06-24T11:24:49.102Z [err]                  from ../src/RCSwitchNode.cpp:1:
                                    2019-06-24T11:24:49.102Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
                                    2019-06-24T11:24:49.102Z [err]    V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                    2019-06-24T11:24:49.102Z [err]                                             ^~~~~~~~~~~
                                    2019-06-24T11:24:49.102Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:3993:44: note:   candidate expects 3 arguments, 2 provided
                                    2019-06-24T11:24:49.102Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
                                    2019-06-24T11:24:49.102Z [err]    V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                    2019-06-24T11:24:49.102Z [err]                                             ^~~~~~~~~~~
                                    2019-06-24T11:24:49.102Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:3996:44: note:   candidate expects 1 argument, 2 provided
                                    2019-06-24T11:24:49.106Z [err] ../src/RCSwitchNode.cpp: In static member function ‘static void RCSwitchNode::EnableTransmit(const Nan::FunctionCallbackInfo<v8::Value>&)’:
                                    2019-06-24T11:24:49.106Z [err] ../src/RCSwitchNode.cpp:115:52: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-06-24T11:24:49.106Z [err]      obj->rcswitch.enableTransmit(pinNr->Int32Value());
                                    2019-06-24T11:24:49.106Z [err]                                                     ^
                                    2019-06-24T11:24:49.106Z [err] In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                    2019-06-24T11:24:49.106Z [err]                  from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                    2019-06-24T11:24:49.106Z [err]                  from ../../nan/nan.h:54,
                                    2019-06-24T11:24:49.106Z [err]                  from ../src/RCSwitchNode.h:4,
                                    2019-06-24T11:24:49.106Z [err]                  from ../src/RCSwitchNode.cpp:1:
                                    2019-06-24T11:24:49.106Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                    2019-06-24T11:24:49.106Z [err]    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                    2019-06-24T11:24:49.106Z [err]                                               ^
                                    2019-06-24T11:24:49.106Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-06-24T11:24:49.106Z [err]    declarator __attribute__((deprecated(message)))
                                    2019-06-24T11:24:49.106Z [err]    ^~~~~~~~~~
                                    2019-06-24T11:24:49.108Z [err] ../src/RCSwitchNode.cpp: In static member function ‘static void RCSwitchNode::SetProtocol(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&)’:
                                    2019-06-24T11:24:49.108Z [err] ../src/RCSwitchNode.cpp:144:49: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-06-24T11:24:49.108Z [err]      obj->rcswitch.setProtocol(value->Int32Value());
                                    2019-06-24T11:24:49.108Z [err]                                                  ^
                                    2019-06-24T11:24:49.109Z [err] In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                    2019-06-24T11:24:49.109Z [err]                  from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                    2019-06-24T11:24:49.109Z [err]                  from ../../nan/nan.h:54,
                                    2019-06-24T11:24:49.109Z [err]                  from ../src/RCSwitchNode.h:4,
                                    2019-06-24T11:24:49.109Z [err]                  from ../src/RCSwitchNode.cpp:1:
                                    2019-06-24T11:24:49.109Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                    2019-06-24T11:24:49.109Z [err]    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                    2019-06-24T11:24:49.109Z [err]                                               ^
                                    2019-06-24T11:24:49.109Z [err] /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-06-24T11:24:49.109Z [err]    declarator __attribute__((deprecated(message)))
                                    2019-06-24T11:24:49.109Z [err]    ^~~~~~~~~~
                                    2019-06-24T11:24:49.564Z [out] rcswitch.target.mk:103: die Regel für Ziel „Release/obj.target/rcswitch/src/RCSwitchNode.o“ scheiterte
                                    2019-06-24T11:24:49.564Z [out] make: Verzeichnis „/opt/iobroker/iobroker-data/node-red/node_modules/rcswitch/build“ wird verlassen
                                    2019-06-24T11:24:49.565Z [err] make: *** [Release/obj.target/rcswitch/src/RCSwitchNode.o] Fehler 1
                                    2019-06-24T11:24:49.570Z [err] gyp
                                    2019-06-24T11:24:49.571Z [err]  
                                    2019-06-24T11:24:49.571Z [err] ERR! build error 
                                    2019-06-24T11:24:49.574Z [err] gyp ERR! stack Error: `make` failed with exit code: 2
                                    2019-06-24T11:24:49.574Z [err] gyp ERR!
                                    2019-06-24T11:24:49.577Z [err]  stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                                    2019-06-24T11:24:49.577Z [err] gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                    2019-06-24T11:24:49.577Z [err] gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                    2019-06-24T11:24:49.577Z [err] gyp ERR! System Linux 4.14.34-v7+
                                    2019-06-24T11:24:49.577Z [err] gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                    2019-06-24T11:24:49.577Z [err] gyp ERR! cwd /opt/iobroker/iobroker-data/node-red/node_modules/rcswitch
                                    2019-06-24T11:24:49.578Z [err] gyp ERR! node -v
                                    2019-06-24T11:24:49.578Z [err]  v10.16.0
                                    2019-06-24T11:24:49.578Z [err] gyp 
                                    2019-06-24T11:24:49.578Z [err] ERR! 
                                    2019-06-24T11:24:49.578Z [err] node-gyp -v v3.8.0
                                    2019-06-24T11:24:49.578Z [err] gyp
                                    2019-06-24T11:24:49.578Z [err]  ERR!
                                    2019-06-24T11:24:49.578Z [err]  
                                    2019-06-24T11:24:49.579Z [err] not ok 
                                    2019-06-24T11:24:52.559Z [err] npm
                                    2019-06-24T11:24:52.559Z [err]  WARN discord.js@11.5.1 requires a peer of bufferutil@^4.0.0 but none is installed. You must install peer dependencies yourself.
                                    2019-06-24T11:24:52.559Z [err] npm
                                    2019-06-24T11:24:52.559Z [err]  WARN
                                    2019-06-24T11:24:52.560Z [err]  discord.js@11.5.1 requires a peer of erlpack@discordapp/erlpack but none is installed. You must install peer dependencies yourself.
                                    2019-06-24T11:24:52.560Z [err] npm
                                    2019-06-24T11:24:52.560Z [err]  WARN
                                    2019-06-24T11:24:52.560Z [err]  discord.js@11.5.1 requires a peer of libsodium-wrappers@^0.7.3 but none is installed. You must install peer dependencies yourself.
                                    2019-06-24T11:24:52.560Z [err] npm
                                    2019-06-24T11:24:52.560Z [err]  WARN
                                    2019-06-24T11:24:52.560Z [err]  discord.js@11.5.1 requires a peer of node-opus@^0.2.7 but none is installed. You must install peer dependencies yourself.
                                    2019-06-24T11:24:52.560Z [err] npm
                                    2019-06-24T11:24:52.561Z [err]  WARN
                                    2019-06-24T11:24:52.561Z [err]  discord.js@11.5.1 requires a peer of opusscript@^0.0.6 but none is installed. You must install peer dependencies yourself.
                                    2019-06-24T11:24:52.561Z [err] npm
                                    2019-06-24T11:24:52.561Z [err]  WARN
                                    2019-06-24T11:24:52.561Z [err]  discord.js@11.5.1 requires a peer of sodium@^2.0.3 but none is installed. You must install peer dependencies yourself.
                                    2019-06-24T11:24:52.561Z [err] npm
                                    2019-06-24T11:24:52.561Z [err]  WARN
                                    2019-06-24T11:24:52.562Z [err]  discord.js@11.5.1 requires a peer of @discordjs/uws@^10.149.0 but none is installed. You must install peer dependencies yourself.
                                    2019-06-24T11:24:52.562Z [err] npm
                                    2019-06-24T11:24:52.562Z [err]  WARN
                                    2019-06-24T11:24:52.562Z [err]  node-red-project@0.0.1 No repository field.
                                    2019-06-24T11:24:52.562Z [err] npm
                                    2019-06-24T11:24:52.562Z [err]  WARN
                                    2019-06-24T11:24:52.563Z [err]  node-red-project@0.0.1 No license field.
                                    2019-06-24T11:24:52.563Z [err] 
                                    2019-06-24T11:24:53.205Z [err] npm ERR! code ELIFECYCLE
                                    2019-06-24T11:24:53.205Z [err] npm 
                                    2019-06-24T11:24:53.205Z [err] ERR! errno 1
                                    2019-06-24T11:24:53.206Z [err] npm
                                    2019-06-24T11:24:53.206Z [err]  ERR! rcswitch@0.3.1 install: `node-gyp rebuild`
                                    2019-06-24T11:24:53.206Z [err] npm ERR!
                                    2019-06-24T11:24:53.206Z [err]  Exit status 1
                                    2019-06-24T11:24:53.207Z [err] npm
                                    2019-06-24T11:24:53.207Z [err]  ERR! 
                                    2019-06-24T11:24:53.207Z [err] npm ERR!
                                    2019-06-24T11:24:53.207Z [err]  Failed at the rcswitch@0.3.1 install script.
                                    2019-06-24T11:24:53.208Z [err] npm 
                                    2019-06-24T11:24:53.208Z [err] ERR!
                                    2019-06-24T11:24:53.208Z [err]  This is probably not a problem with npm. There is likely additional logging output above.
                                    2019-06-24T11:24:53.794Z [err] 
                                    2019-06-24T11:24:53.795Z [err] npm ERR! A complete log of this run can be found in:
                                    2019-06-24T11:24:53.795Z [err] npm 
                                    2019-06-24T11:24:53.795Z [err] ERR!     /home/iobroker/.npm/_logs/2019-06-24T11_24_53_226Z-debug.log
                                    2019-06-24T11:24:53.830Z rc=1
                                    
                                    AlCalzone 1 Reply Last reply Reply Quote 0
                                    • AlCalzone
                                      AlCalzone Developer @fisch last edited by

                                      @fisch Das klingt mir schwer danach dass das Modul nicht mit Node 10 kompatibel ist.

                                      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

                                      798
                                      Online

                                      31.9k
                                      Users

                                      80.1k
                                      Topics

                                      1.3m
                                      Posts

                                      fehler
                                      4
                                      27
                                      4340
                                      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