Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller lässt sich nicht updaten...

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.7k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    723

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    1.2k

js-controller lässt sich nicht updaten...

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
35 Beiträge 3 Kommentatoren 2.8k Aufrufe 3 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @mr-burns

    sudo apt install libpcap0.8-dev
    

    Und was genau hast du da jetzt installiert?

    sudo apt update
    apt policy libopenzwave*
    
    Mr. BurnsM Offline
    Mr. BurnsM Offline
    Mr. Burns
    schrieb am zuletzt editiert von
    #11

    @thomas-braun

    sudo apt-get install libopenzwave1.6-dev
    
    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • Mr. BurnsM Mr. Burns

      @thomas-braun

      sudo apt-get install libopenzwave1.6-dev
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #12

      @mr-burns

      apt policy libopenzwave*

      Ausgaben zeigen...

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      Mr. BurnsM 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @mr-burns

        apt policy libopenzwave*

        Ausgaben zeigen...

        Mr. BurnsM Offline
        Mr. BurnsM Offline
        Mr. Burns
        schrieb am zuletzt editiert von
        #13

        @thomas-braun

        apt policy libopenzwave*
        libopenzwave1.6-dev:
          Installiert:           1.6.1545+ds-2
          Installationskandidat: 1.6.1545+ds-2
          Versionstabelle:
         *** 1.6.1545+ds-2 500
                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                100 /var/lib/dpkg/status
        libopenzwave1.5:
          Installiert:           (keine)
          Installationskandidat: (keine)
          Versionstabelle:
             1.5+ds-6 -1
                100 /var/lib/dpkg/status
        libopenzwave1.6:
          Installiert:           1.6.1545+ds-2
          Installationskandidat: 1.6.1545+ds-2
          Versionstabelle:
         *** 1.6.1545+ds-2 500
                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                100 /var/lib/dpkg/status
        libopenzwave-doc:
          Installiert:           (keine)
          Installationskandidat: 1.6.1545+ds-2
          Versionstabelle:
             1.6.1545+ds-2 500
                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
        
        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • Mr. BurnsM Mr. Burns

          @thomas-braun

          apt policy libopenzwave*
          libopenzwave1.6-dev:
            Installiert:           1.6.1545+ds-2
            Installationskandidat: 1.6.1545+ds-2
            Versionstabelle:
           *** 1.6.1545+ds-2 500
                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                  100 /var/lib/dpkg/status
          libopenzwave1.5:
            Installiert:           (keine)
            Installationskandidat: (keine)
            Versionstabelle:
               1.5+ds-6 -1
                  100 /var/lib/dpkg/status
          libopenzwave1.6:
            Installiert:           1.6.1545+ds-2
            Installationskandidat: 1.6.1545+ds-2
            Versionstabelle:
           *** 1.6.1545+ds-2 500
                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                  100 /var/lib/dpkg/status
          libopenzwave-doc:
            Installiert:           (keine)
            Installationskandidat: 1.6.1545+ds-2
            Versionstabelle:
               1.6.1545+ds-2 500
                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #14

          @mr-burns

          libopenzwave sollte passen. Die libpcap0.8-dev ist auch installiert?

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          Mr. BurnsM 1 Antwort Letzte Antwort
          0
          • Mr. BurnsM Mr. Burns

            @thomas-braun

            Ich hab mal die v1.6 installiert. Leider kann der js-controller immer noch nicht aktualisiert werden...

            iobroker upgrade self --debug
            Update js-controller from @4.0.21 to @4.0.23
            Stopped Objects DB
            Stopped States DB
            NPM version: 8.19.2
            Installing iobroker.js-controller@4.0.23... (System call)
            npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
            npm WARN deprecated har-validator@5.1.5: this library is no longer supported
            npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
            npm WARN deprecated appdirectory@0.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
            npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
            npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
            npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
            npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
            npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
            npm ERR! code 1
            npm ERR! path /opt/iobroker/node_modules/pcap
            npm ERR! command failed
            npm ERR! command sh -c -- node-gyp rebuild
            npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/pcap/build“ wird betreten
            npm ERR!   CXX(target) Release/obj.target/pcap_binding/pcap_binding.o
            npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/pcap/build“ wird verlassen
            npm ERR! gyp info it worked if it ends with ok
            npm ERR! gyp info using node-gyp@9.1.0
            npm ERR! gyp info using node@16.17.1 | linux | arm
            npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
            npm ERR! gyp info spawn /usr/bin/python3
            npm ERR! gyp info spawn args [
            npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
            npm ERR! gyp info spawn args   'binding.gyp',
            npm ERR! gyp info spawn args   '-f',
            npm ERR! gyp info spawn args   'make',
            npm ERR! gyp info spawn args   '-I',
            npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/pcap/build/config.gypi',
            npm ERR! gyp info spawn args   '-I',
            npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
            npm ERR! gyp info spawn args   '-I',
            npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/16.17.1/include/node/common.gypi',
            npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
            npm ERR! gyp info spawn args   '-Dvisibility=default',
            npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/16.17.1',
            npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
            npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/16.17.1/<(target_arch)/node.lib',
            npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/pcap',
            npm ERR! gyp info spawn args   '-Dnode_engine=v8',
            npm ERR! gyp info spawn args   '--depth=.',
            npm ERR! gyp info spawn args   '--no-parallel',
            npm ERR! gyp info spawn args   '--generator-output',
            npm ERR! gyp info spawn args   'build',
            npm ERR! gyp info spawn args   '-Goutput_dir=.'
            npm ERR! gyp info spawn args ]
            npm ERR! gyp info spawn make
            npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
            npm ERR! ../pcap_binding.cc:2:10: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden
            npm ERR!     2 | #include <pcap/pcap.h>
            npm ERR!       |          ^~~~~~~~~~~~~
            npm ERR! compilation terminated.
            npm ERR! make: *** [pcap_binding.target.mk:112: Release/obj.target/pcap_binding/pcap_binding.o] Fehler 1
            npm ERR! gyp ERR! build error 
            npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
            npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:201:23)
            npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
            npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
            npm ERR! gyp ERR! System Linux 5.15.61-v7l+
            npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
            npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/pcap
            npm ERR! gyp ERR! node -v v16.17.1
            npm ERR! gyp ERR! node-gyp -v v9.1.0
            npm ERR! gyp ERR! not ok
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2022-09-30T15_32_29_851Z-debug-0.log
            ``
            [/s]
            DJMarc75D Offline
            DJMarc75D Offline
            DJMarc75
            schrieb am zuletzt editiert von
            #15

            @mr-burns sagte in js-controller lässt sich nicht updaten...:

            NPM version: 8.19.2

            Seh ich das richtig dass da immer noch was krumm ist ?

            Lehrling seit 1975 !!!
            Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
            https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

            Mr. BurnsM Thomas BraunT 2 Antworten Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @mr-burns

              libopenzwave sollte passen. Die libpcap0.8-dev ist auch installiert?

              Mr. BurnsM Offline
              Mr. BurnsM Offline
              Mr. Burns
              schrieb am zuletzt editiert von
              #16

              @thomas-braun ja, ist installiert. versuche gerade noch einmal...

              1 Antwort Letzte Antwort
              0
              • DJMarc75D DJMarc75

                @mr-burns sagte in js-controller lässt sich nicht updaten...:

                NPM version: 8.19.2

                Seh ich das richtig dass da immer noch was krumm ist ?

                Mr. BurnsM Offline
                Mr. BurnsM Offline
                Mr. Burns
                schrieb am zuletzt editiert von Mr. Burns
                #17

                @djmarc75 das kann ich nicht beantworten. Aber im iobroker gehen 2 wichtige adapter nicht:#
                s7 und javascript...aber vielleicht mit dem update welches ich gerade durchgeführt habe.

                1 Antwort Letzte Antwort
                0
                • DJMarc75D DJMarc75

                  @mr-burns sagte in js-controller lässt sich nicht updaten...:

                  NPM version: 8.19.2

                  Seh ich das richtig dass da immer noch was krumm ist ?

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von Thomas Braun
                  #18

                  @djmarc75 sagte in js-controller lässt sich nicht updaten...:

                  Seh ich das richtig dass da immer noch was krumm ist ?

                  Siehst du richtig.

                  @Mr-Burns

                  sudo ln -s /usr/bin/node /usr/bin/nodejs
                  uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                  

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  Mr. BurnsM 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @djmarc75 sagte in js-controller lässt sich nicht updaten...:

                    Seh ich das richtig dass da immer noch was krumm ist ?

                    Siehst du richtig.

                    @Mr-Burns

                    sudo ln -s /usr/bin/node /usr/bin/nodejs
                    uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                    
                    Mr. BurnsM Offline
                    Mr. BurnsM Offline
                    Mr. Burns
                    schrieb am zuletzt editiert von Mr. Burns
                    #19

                    @thomas-braun

                    Das Ergebnis des update Versuchs vor dem neuen update:

                    iobroker upgrade self --debug
                    Update js-controller from @4.0.21 to @4.0.23
                    Stopped Objects DB
                    Stopped States DB
                    NPM version: 8.19.2
                    Installing iobroker.js-controller@4.0.23... (System call)
                    npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                    npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                    npm WARN deprecated appdirectory@0.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
                    npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                    npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                    npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                    npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                    npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                    npm ERR! code 1
                    npm ERR! path /opt/iobroker/node_modules/openzwave-shared
                    npm ERR! command failed
                    npm ERR! command sh -c -- node-gyp rebuild
                    npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird betreten
                    npm ERR!   CXX(target) Release/obj.target/openzwave_shared/src/callbacks.o
                    npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird verlassen
                    npm ERR! gyp info it worked if it ends with ok
                    npm ERR! gyp info using node-gyp@9.1.0
                    npm ERR! gyp info using node@16.17.1 | linux | arm
                    npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
                    npm ERR! gyp info spawn /usr/bin/python3
                    npm ERR! gyp info spawn args [
                    npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
                    npm ERR! gyp info spawn args   'binding.gyp',
                    npm ERR! gyp info spawn args   '-f',
                    npm ERR! gyp info spawn args   'make',
                    npm ERR! gyp info spawn args   '-I',
                    npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/openzwave-shared/build/config.gypi',
                    npm ERR! gyp info spawn args   '-I',
                    npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
                    npm ERR! gyp info spawn args   '-I',
                    npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/16.17.1/include/node/common.gypi',
                    npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                    npm ERR! gyp info spawn args   '-Dvisibility=default',
                    npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/16.17.1',
                    npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
                    npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/16.17.1/<(target_arch)/node.lib',
                    npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/openzwave-shared',
                    npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                    npm ERR! gyp info spawn args   '--depth=.',
                    npm ERR! gyp info spawn args   '--no-parallel',
                    npm ERR! gyp info spawn args   '--generator-output',
                    npm ERR! gyp info spawn args   'build',
                    npm ERR! gyp info spawn args   '-Goutput_dir=.'
                    npm ERR! gyp info spawn args ]
                    npm ERR! gyp info spawn make
                    npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                    npm ERR! In file included from /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8.h:30,
                    npm ERR!                  from ../src/openzwave.hpp:27,
                    npm ERR!                  from ../src/callbacks.cc:18:
                    npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’:
                    npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                    npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                    npm ERR!       |                                      ^~~~~~~~~~~
                    npm ERR!       |                                      remove_cv
                    npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                    npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                    npm ERR!       |                                      ^~~~~~~~~~~
                    npm ERR!       |                                      remove_cv
                    npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:50: error: template argument 2 is invalid
                    npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                    npm ERR!       |                                                  ^
                    npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:63: error: ‘::Perform’ has not been declared
                    npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                    npm ERR!       |                                                               ^~~~~~~
                    npm ERR! make: *** [openzwave_shared.target.mk:148: Release/obj.target/openzwave_shared/src/callbacks.o] Fehler 1
                    npm ERR! gyp ERR! build error 
                    npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
                    npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:201:23)
                    npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
                    npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
                    npm ERR! gyp ERR! System Linux 5.15.61-v7l+
                    npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                    npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared
                    npm ERR! gyp ERR! node -v v16.17.1
                    npm ERR! gyp ERR! node-gyp -v v9.1.0
                    npm ERR! gyp ERR! not ok
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-09-30T16_58_37_038Z-debug-0.log
                    

                    Teil 2:

                    uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                    armv7l
                    /usr/bin/nodejs
                    /usr/bin/node
                    /usr/bin/npm
                    v16.17.1
                    v16.17.1
                    8.19.2
                    4.0.21
                    pi
                    pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                    /home
                    OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                    OK:2 http://archive.raspberrypi.org/debian bullseye InRelease                                                                                                               
                    OK:3 https://repos.influxdata.com/debian bullseye InRelease                                                                                                                 
                    OK:4 https://phoscon.de/apt/deconz bullseye InRelease                                                                   
                    OK:5 https://deb.nodesource.com/node_16.x bullseye InRelease                                    
                    Paketlisten werden gelesen… Fertig
                    Abhängigkeitsbaum wird aufgebaut… Fertig
                    Statusinformationen werden eingelesen… Fertig
                    Aktualisierung für 4 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                    nodejs:
                     Installiert:           16.17.1-deb-1nodesource1
                     Installationskandidat: 16.17.1-deb-1nodesource1
                     Versionstabelle:
                    *** 16.17.1-deb-1nodesource1 500
                           500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                           100 /var/lib/dpkg/status
                        12.22.12~dfsg-1~deb11u1 500
                           500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                    ``
                    [/s]
                    Thomas BraunT 3 Antworten Letzte Antwort
                    0
                    • Mr. BurnsM Mr. Burns

                      @thomas-braun

                      Das Ergebnis des update Versuchs vor dem neuen update:

                      iobroker upgrade self --debug
                      Update js-controller from @4.0.21 to @4.0.23
                      Stopped Objects DB
                      Stopped States DB
                      NPM version: 8.19.2
                      Installing iobroker.js-controller@4.0.23... (System call)
                      npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                      npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                      npm WARN deprecated appdirectory@0.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
                      npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                      npm ERR! code 1
                      npm ERR! path /opt/iobroker/node_modules/openzwave-shared
                      npm ERR! command failed
                      npm ERR! command sh -c -- node-gyp rebuild
                      npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird betreten
                      npm ERR!   CXX(target) Release/obj.target/openzwave_shared/src/callbacks.o
                      npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird verlassen
                      npm ERR! gyp info it worked if it ends with ok
                      npm ERR! gyp info using node-gyp@9.1.0
                      npm ERR! gyp info using node@16.17.1 | linux | arm
                      npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
                      npm ERR! gyp info spawn /usr/bin/python3
                      npm ERR! gyp info spawn args [
                      npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
                      npm ERR! gyp info spawn args   'binding.gyp',
                      npm ERR! gyp info spawn args   '-f',
                      npm ERR! gyp info spawn args   'make',
                      npm ERR! gyp info spawn args   '-I',
                      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/openzwave-shared/build/config.gypi',
                      npm ERR! gyp info spawn args   '-I',
                      npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
                      npm ERR! gyp info spawn args   '-I',
                      npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/16.17.1/include/node/common.gypi',
                      npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                      npm ERR! gyp info spawn args   '-Dvisibility=default',
                      npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/16.17.1',
                      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
                      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/16.17.1/<(target_arch)/node.lib',
                      npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/openzwave-shared',
                      npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                      npm ERR! gyp info spawn args   '--depth=.',
                      npm ERR! gyp info spawn args   '--no-parallel',
                      npm ERR! gyp info spawn args   '--generator-output',
                      npm ERR! gyp info spawn args   'build',
                      npm ERR! gyp info spawn args   '-Goutput_dir=.'
                      npm ERR! gyp info spawn args ]
                      npm ERR! gyp info spawn make
                      npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                      npm ERR! In file included from /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8.h:30,
                      npm ERR!                  from ../src/openzwave.hpp:27,
                      npm ERR!                  from ../src/callbacks.cc:18:
                      npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’:
                      npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                      npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                      npm ERR!       |                                      ^~~~~~~~~~~
                      npm ERR!       |                                      remove_cv
                      npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                      npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                      npm ERR!       |                                      ^~~~~~~~~~~
                      npm ERR!       |                                      remove_cv
                      npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:50: error: template argument 2 is invalid
                      npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                      npm ERR!       |                                                  ^
                      npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:63: error: ‘::Perform’ has not been declared
                      npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                      npm ERR!       |                                                               ^~~~~~~
                      npm ERR! make: *** [openzwave_shared.target.mk:148: Release/obj.target/openzwave_shared/src/callbacks.o] Fehler 1
                      npm ERR! gyp ERR! build error 
                      npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
                      npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:201:23)
                      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
                      npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
                      npm ERR! gyp ERR! System Linux 5.15.61-v7l+
                      npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared
                      npm ERR! gyp ERR! node -v v16.17.1
                      npm ERR! gyp ERR! node-gyp -v v9.1.0
                      npm ERR! gyp ERR! not ok
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2022-09-30T16_58_37_038Z-debug-0.log
                      

                      Teil 2:

                      uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                      armv7l
                      /usr/bin/nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      v16.17.1
                      v16.17.1
                      8.19.2
                      4.0.21
                      pi
                      pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                      /home
                      OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                      OK:2 http://archive.raspberrypi.org/debian bullseye InRelease                                                                                                               
                      OK:3 https://repos.influxdata.com/debian bullseye InRelease                                                                                                                 
                      OK:4 https://phoscon.de/apt/deconz bullseye InRelease                                                                   
                      OK:5 https://deb.nodesource.com/node_16.x bullseye InRelease                                    
                      Paketlisten werden gelesen… Fertig
                      Abhängigkeitsbaum wird aufgebaut… Fertig
                      Statusinformationen werden eingelesen… Fertig
                      Aktualisierung für 4 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                      nodejs:
                       Installiert:           16.17.1-deb-1nodesource1
                       Installationskandidat: 16.17.1-deb-1nodesource1
                       Versionstabelle:
                      *** 16.17.1-deb-1nodesource1 500
                             500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                             100 /var/lib/dpkg/status
                          12.22.12~dfsg-1~deb11u1 500
                             500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                      ``
                      [/s]
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #20

                      @mr-burns

                      Interessanter wäre:

                      sudo ln -s /usr/bin/node /usr/bin/nodejs
                      uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                      

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Antwort Letzte Antwort
                      0
                      • Mr. BurnsM Mr. Burns

                        @thomas-braun

                        Das Ergebnis des update Versuchs vor dem neuen update:

                        iobroker upgrade self --debug
                        Update js-controller from @4.0.21 to @4.0.23
                        Stopped Objects DB
                        Stopped States DB
                        NPM version: 8.19.2
                        Installing iobroker.js-controller@4.0.23... (System call)
                        npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                        npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                        npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                        npm WARN deprecated appdirectory@0.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
                        npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                        npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                        npm ERR! code 1
                        npm ERR! path /opt/iobroker/node_modules/openzwave-shared
                        npm ERR! command failed
                        npm ERR! command sh -c -- node-gyp rebuild
                        npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird betreten
                        npm ERR!   CXX(target) Release/obj.target/openzwave_shared/src/callbacks.o
                        npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird verlassen
                        npm ERR! gyp info it worked if it ends with ok
                        npm ERR! gyp info using node-gyp@9.1.0
                        npm ERR! gyp info using node@16.17.1 | linux | arm
                        npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
                        npm ERR! gyp info spawn /usr/bin/python3
                        npm ERR! gyp info spawn args [
                        npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
                        npm ERR! gyp info spawn args   'binding.gyp',
                        npm ERR! gyp info spawn args   '-f',
                        npm ERR! gyp info spawn args   'make',
                        npm ERR! gyp info spawn args   '-I',
                        npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/openzwave-shared/build/config.gypi',
                        npm ERR! gyp info spawn args   '-I',
                        npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
                        npm ERR! gyp info spawn args   '-I',
                        npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/16.17.1/include/node/common.gypi',
                        npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                        npm ERR! gyp info spawn args   '-Dvisibility=default',
                        npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/16.17.1',
                        npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
                        npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/16.17.1/<(target_arch)/node.lib',
                        npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/openzwave-shared',
                        npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                        npm ERR! gyp info spawn args   '--depth=.',
                        npm ERR! gyp info spawn args   '--no-parallel',
                        npm ERR! gyp info spawn args   '--generator-output',
                        npm ERR! gyp info spawn args   'build',
                        npm ERR! gyp info spawn args   '-Goutput_dir=.'
                        npm ERR! gyp info spawn args ]
                        npm ERR! gyp info spawn make
                        npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                        npm ERR! In file included from /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8.h:30,
                        npm ERR!                  from ../src/openzwave.hpp:27,
                        npm ERR!                  from ../src/callbacks.cc:18:
                        npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’:
                        npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                        npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                        npm ERR!       |                                      ^~~~~~~~~~~
                        npm ERR!       |                                      remove_cv
                        npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                        npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                        npm ERR!       |                                      ^~~~~~~~~~~
                        npm ERR!       |                                      remove_cv
                        npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:50: error: template argument 2 is invalid
                        npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                        npm ERR!       |                                                  ^
                        npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:63: error: ‘::Perform’ has not been declared
                        npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                        npm ERR!       |                                                               ^~~~~~~
                        npm ERR! make: *** [openzwave_shared.target.mk:148: Release/obj.target/openzwave_shared/src/callbacks.o] Fehler 1
                        npm ERR! gyp ERR! build error 
                        npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
                        npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:201:23)
                        npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
                        npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
                        npm ERR! gyp ERR! System Linux 5.15.61-v7l+
                        npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                        npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared
                        npm ERR! gyp ERR! node -v v16.17.1
                        npm ERR! gyp ERR! node-gyp -v v9.1.0
                        npm ERR! gyp ERR! not ok
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobroker/.npm/_logs/2022-09-30T16_58_37_038Z-debug-0.log
                        

                        Teil 2:

                        uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                        armv7l
                        /usr/bin/nodejs
                        /usr/bin/node
                        /usr/bin/npm
                        v16.17.1
                        v16.17.1
                        8.19.2
                        4.0.21
                        pi
                        pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                        /home
                        OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                        OK:2 http://archive.raspberrypi.org/debian bullseye InRelease                                                                                                               
                        OK:3 https://repos.influxdata.com/debian bullseye InRelease                                                                                                                 
                        OK:4 https://phoscon.de/apt/deconz bullseye InRelease                                                                   
                        OK:5 https://deb.nodesource.com/node_16.x bullseye InRelease                                    
                        Paketlisten werden gelesen… Fertig
                        Abhängigkeitsbaum wird aufgebaut… Fertig
                        Statusinformationen werden eingelesen… Fertig
                        Aktualisierung für 4 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                        nodejs:
                         Installiert:           16.17.1-deb-1nodesource1
                         Installationskandidat: 16.17.1-deb-1nodesource1
                         Versionstabelle:
                        *** 16.17.1-deb-1nodesource1 500
                               500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                               100 /var/lib/dpkg/status
                            12.22.12~dfsg-1~deb11u1 500
                               500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                        ``
                        [/s]
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #21

                        @mr-burns sagte in js-controller lässt sich nicht updaten...:

                        Lass die Finger von individuellen Updates von npm. Egal ob das irgendwo empfohlen wird.

                        iobroker stop
                        sudo apt update
                        sudo apt full-upgrade
                        sudo apt install --reinstall nodejs
                        cd /opt/iobroker 
                        sudo -H -u iobroker npm cache clear --force
                        sudo reboot
                        

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        1 Antwort Letzte Antwort
                        0
                        • Mr. BurnsM Mr. Burns

                          @thomas-braun

                          Das Ergebnis des update Versuchs vor dem neuen update:

                          iobroker upgrade self --debug
                          Update js-controller from @4.0.21 to @4.0.23
                          Stopped Objects DB
                          Stopped States DB
                          NPM version: 8.19.2
                          Installing iobroker.js-controller@4.0.23... (System call)
                          npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                          npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                          npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                          npm WARN deprecated appdirectory@0.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
                          npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                          npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                          npm ERR! code 1
                          npm ERR! path /opt/iobroker/node_modules/openzwave-shared
                          npm ERR! command failed
                          npm ERR! command sh -c -- node-gyp rebuild
                          npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird betreten
                          npm ERR!   CXX(target) Release/obj.target/openzwave_shared/src/callbacks.o
                          npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird verlassen
                          npm ERR! gyp info it worked if it ends with ok
                          npm ERR! gyp info using node-gyp@9.1.0
                          npm ERR! gyp info using node@16.17.1 | linux | arm
                          npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
                          npm ERR! gyp info spawn /usr/bin/python3
                          npm ERR! gyp info spawn args [
                          npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
                          npm ERR! gyp info spawn args   'binding.gyp',
                          npm ERR! gyp info spawn args   '-f',
                          npm ERR! gyp info spawn args   'make',
                          npm ERR! gyp info spawn args   '-I',
                          npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/openzwave-shared/build/config.gypi',
                          npm ERR! gyp info spawn args   '-I',
                          npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
                          npm ERR! gyp info spawn args   '-I',
                          npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/16.17.1/include/node/common.gypi',
                          npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                          npm ERR! gyp info spawn args   '-Dvisibility=default',
                          npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/16.17.1',
                          npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
                          npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/16.17.1/<(target_arch)/node.lib',
                          npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/openzwave-shared',
                          npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                          npm ERR! gyp info spawn args   '--depth=.',
                          npm ERR! gyp info spawn args   '--no-parallel',
                          npm ERR! gyp info spawn args   '--generator-output',
                          npm ERR! gyp info spawn args   'build',
                          npm ERR! gyp info spawn args   '-Goutput_dir=.'
                          npm ERR! gyp info spawn args ]
                          npm ERR! gyp info spawn make
                          npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                          npm ERR! In file included from /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8.h:30,
                          npm ERR!                  from ../src/openzwave.hpp:27,
                          npm ERR!                  from ../src/callbacks.cc:18:
                          npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’:
                          npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                          npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                          npm ERR!       |                                      ^~~~~~~~~~~
                          npm ERR!       |                                      remove_cv
                          npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                          npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                          npm ERR!       |                                      ^~~~~~~~~~~
                          npm ERR!       |                                      remove_cv
                          npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:50: error: template argument 2 is invalid
                          npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                          npm ERR!       |                                                  ^
                          npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:63: error: ‘::Perform’ has not been declared
                          npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                          npm ERR!       |                                                               ^~~~~~~
                          npm ERR! make: *** [openzwave_shared.target.mk:148: Release/obj.target/openzwave_shared/src/callbacks.o] Fehler 1
                          npm ERR! gyp ERR! build error 
                          npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
                          npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:201:23)
                          npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
                          npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
                          npm ERR! gyp ERR! System Linux 5.15.61-v7l+
                          npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                          npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared
                          npm ERR! gyp ERR! node -v v16.17.1
                          npm ERR! gyp ERR! node-gyp -v v9.1.0
                          npm ERR! gyp ERR! not ok
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /home/iobroker/.npm/_logs/2022-09-30T16_58_37_038Z-debug-0.log
                          

                          Teil 2:

                          uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                          armv7l
                          /usr/bin/nodejs
                          /usr/bin/node
                          /usr/bin/npm
                          v16.17.1
                          v16.17.1
                          8.19.2
                          4.0.21
                          pi
                          pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                          /home
                          OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                          OK:2 http://archive.raspberrypi.org/debian bullseye InRelease                                                                                                               
                          OK:3 https://repos.influxdata.com/debian bullseye InRelease                                                                                                                 
                          OK:4 https://phoscon.de/apt/deconz bullseye InRelease                                                                   
                          OK:5 https://deb.nodesource.com/node_16.x bullseye InRelease                                    
                          Paketlisten werden gelesen… Fertig
                          Abhängigkeitsbaum wird aufgebaut… Fertig
                          Statusinformationen werden eingelesen… Fertig
                          Aktualisierung für 4 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                          nodejs:
                           Installiert:           16.17.1-deb-1nodesource1
                           Installationskandidat: 16.17.1-deb-1nodesource1
                           Versionstabelle:
                          *** 16.17.1-deb-1nodesource1 500
                                 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                                 100 /var/lib/dpkg/status
                              12.22.12~dfsg-1~deb11u1 500
                                 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                          ``
                          [/s]
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #22

                          @mr-burns

                          Warum wird da eigentlich openzwave gebaut?
                          Wenn ich der readme von zwave2 vertrauen darf wird das (anders als iobroker.zwave) da garnicht benötigt?
                          Was haste da also am Start?

                          iob update -i
                          

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          Mr. BurnsM 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @mr-burns

                            Warum wird da eigentlich openzwave gebaut?
                            Wenn ich der readme von zwave2 vertrauen darf wird das (anders als iobroker.zwave) da garnicht benötigt?
                            Was haste da also am Start?

                            iob update -i
                            
                            Mr. BurnsM Offline
                            Mr. BurnsM Offline
                            Mr. Burns
                            schrieb am zuletzt editiert von
                            #23

                            @thomas-braun Das ist ein gute Frage...kann ich nicht beantworten.
                            Ich habe die zwave adapter installiert aber nicht aktiviert (haben nicht funktioniert oder so, weiß nicht mehr genau)

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • Mr. BurnsM Mr. Burns

                              @thomas-braun Das ist ein gute Frage...kann ich nicht beantworten.
                              Ich habe die zwave adapter installiert aber nicht aktiviert (haben nicht funktioniert oder so, weiß nicht mehr genau)

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #24

                              @mr-burns sagte in js-controller lässt sich nicht updaten...:

                              Ich habe die zwave adapter installiert aber nicht aktiviert

                              Das Zeug spukt da aber noch herum.

                              (haben nicht funktioniert oder so, weiß nicht mehr genau)

                              Kein Wunder...

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              Mr. BurnsM 1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @mr-burns sagte in js-controller lässt sich nicht updaten...:

                                Ich habe die zwave adapter installiert aber nicht aktiviert

                                Das Zeug spukt da aber noch herum.

                                (haben nicht funktioniert oder so, weiß nicht mehr genau)

                                Kein Wunder...

                                Mr. BurnsM Offline
                                Mr. BurnsM Offline
                                Mr. Burns
                                schrieb am zuletzt editiert von
                                #25

                                @thomas-braun

                                iob update -i
                                Used repository: stable
                                Adapter    "admin"        : 6.2.22   , installed 6.2.22
                                Adapter    "amazon-dash"  : 1.1.0    , installed 0.3.1  [Updatable]
                                Adapter    "backitup"     : 2.4.12   , installed 2.4.12
                                Adapter    "ble"          : 0.13.0   , installed 0.13.0
                                Adapter    "bsblan"       : 0.2.2    , installed 0.2.2
                                Adapter    "coronavirus-statistics": 0.8.7, installed 0.8.7
                                Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                                Adapter    "flot"         : 1.11.0   , installed 1.11.0
                                Adapter    "fullybrowser" : 2.1.2    , installed 2.1.2
                                Adapter    "geofency"     : 1.1.1    , installed 1.1.1
                                Adapter    "habpanel"     : 0.5.0    , installed 0.5.0
                                Adapter    "harmony"      : 1.2.2    , installed 1.2.2
                                Adapter    "history"      : 2.2.0    , installed 2.2.0
                                Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
                                Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.12
                                Adapter    "homekit-controller": 0.5.1, installed 0.5.1
                                Adapter    "ical"         : 1.13.1   , installed 1.13.1
                                Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
                                Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
                                Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
                                Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
                                Adapter    "icons-open-icon-library-png": 0.1.2, installed 0.1.3
                                Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
                                Adapter    "influxdb"     : 3.1.8    , installed 3.1.8
                                Adapter    "info"         : 1.9.19   , installed 1.9.19
                                Adapter    "iqontrol"     : 2.0.0    , installed 2.0.1
                                Adapter    "javascript"   : 6.0.3    , installed 6.0.3
                                Controller "js-controller": 4.0.23   , installed 4.0.21 [Updatable]
                                Adapter    "mielecloudservice": 6.3.2, installed 6.3.2
                                Adapter    "mihome"       : 1.4.0    , installed 1.4.0
                                Adapter    "mihome-vacuum": 3.4.2    , installed 3.4.2
                                Adapter    "mobile"       : 1.0.1    , installed 1.0.1
                                Adapter    "modbus"       : 5.0.5    , installed 5.0.5
                                Adapter    "openweathermap": 0.3.0   , installed 0.3.0
                                Adapter    "paw"          : 0.3.2    , installed 0.3.2
                                Adapter    "proxy"        : 1.3.1    , installed 1.3.1
                                Adapter    "pushover"     : 3.0.3    , installed 3.0.3
                                Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                                Adapter    "s7"           : 1.3.13   , installed 1.3.13
                                Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
                                Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                                Adapter    "sonos"        : 2.2.3    , installed 2.2.3
                                Adapter    "synology"     : 2.1.9    , installed 2.1.9
                                Adapter    "telegram"     : 1.14.1   , installed 1.14.1
                                Adapter    "terminal"     : 0.2.6    , installed 0.2.6
                                Adapter    "tinker"       : 1.1.1    , installed 1.1.1
                                Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
                                Adapter    "tradfri"      : 3.1.3    , installed 3.1.3
                                Adapter    "trashschedule": 2.0.3    , installed 2.0.3
                                Adapter    "vis"          : 1.4.15   , installed 1.4.15
                                Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
                                Adapter    "vis-canvas-gauges": 0.1.5, installed 0.1.5
                                Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
                                Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
                                Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                                Adapter    "vis-players"  : 0.1.6    , installed 0.1.6
                                Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
                                Adapter    "vis-rgraph"   : 0.0.2    , installed 0.0.2
                                Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                                Adapter    "weatherunderground": 3.4.2, installed 3.4.2
                                Adapter    "web"          : 4.3.0    , installed 4.3.0
                                Adapter    "ws"           : 1.3.0    , installed 1.3.0
                                Adapter    "yahka"        : 0.13.1   , installed 0.13.1
                                Adapter    "zigbee"       : 1.7.5    , installed 1.7.5
                                Adapter    "zwave2"       : 3.0.3    , installed 3.0.3
                                

                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • Mr. BurnsM Mr. Burns

                                  @thomas-braun

                                  iob update -i
                                  Used repository: stable
                                  Adapter    "admin"        : 6.2.22   , installed 6.2.22
                                  Adapter    "amazon-dash"  : 1.1.0    , installed 0.3.1  [Updatable]
                                  Adapter    "backitup"     : 2.4.12   , installed 2.4.12
                                  Adapter    "ble"          : 0.13.0   , installed 0.13.0
                                  Adapter    "bsblan"       : 0.2.2    , installed 0.2.2
                                  Adapter    "coronavirus-statistics": 0.8.7, installed 0.8.7
                                  Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                                  Adapter    "flot"         : 1.11.0   , installed 1.11.0
                                  Adapter    "fullybrowser" : 2.1.2    , installed 2.1.2
                                  Adapter    "geofency"     : 1.1.1    , installed 1.1.1
                                  Adapter    "habpanel"     : 0.5.0    , installed 0.5.0
                                  Adapter    "harmony"      : 1.2.2    , installed 1.2.2
                                  Adapter    "history"      : 2.2.0    , installed 2.2.0
                                  Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
                                  Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.12
                                  Adapter    "homekit-controller": 0.5.1, installed 0.5.1
                                  Adapter    "ical"         : 1.13.1   , installed 1.13.1
                                  Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
                                  Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
                                  Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
                                  Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
                                  Adapter    "icons-open-icon-library-png": 0.1.2, installed 0.1.3
                                  Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
                                  Adapter    "influxdb"     : 3.1.8    , installed 3.1.8
                                  Adapter    "info"         : 1.9.19   , installed 1.9.19
                                  Adapter    "iqontrol"     : 2.0.0    , installed 2.0.1
                                  Adapter    "javascript"   : 6.0.3    , installed 6.0.3
                                  Controller "js-controller": 4.0.23   , installed 4.0.21 [Updatable]
                                  Adapter    "mielecloudservice": 6.3.2, installed 6.3.2
                                  Adapter    "mihome"       : 1.4.0    , installed 1.4.0
                                  Adapter    "mihome-vacuum": 3.4.2    , installed 3.4.2
                                  Adapter    "mobile"       : 1.0.1    , installed 1.0.1
                                  Adapter    "modbus"       : 5.0.5    , installed 5.0.5
                                  Adapter    "openweathermap": 0.3.0   , installed 0.3.0
                                  Adapter    "paw"          : 0.3.2    , installed 0.3.2
                                  Adapter    "proxy"        : 1.3.1    , installed 1.3.1
                                  Adapter    "pushover"     : 3.0.3    , installed 3.0.3
                                  Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                                  Adapter    "s7"           : 1.3.13   , installed 1.3.13
                                  Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
                                  Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                                  Adapter    "sonos"        : 2.2.3    , installed 2.2.3
                                  Adapter    "synology"     : 2.1.9    , installed 2.1.9
                                  Adapter    "telegram"     : 1.14.1   , installed 1.14.1
                                  Adapter    "terminal"     : 0.2.6    , installed 0.2.6
                                  Adapter    "tinker"       : 1.1.1    , installed 1.1.1
                                  Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
                                  Adapter    "tradfri"      : 3.1.3    , installed 3.1.3
                                  Adapter    "trashschedule": 2.0.3    , installed 2.0.3
                                  Adapter    "vis"          : 1.4.15   , installed 1.4.15
                                  Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
                                  Adapter    "vis-canvas-gauges": 0.1.5, installed 0.1.5
                                  Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
                                  Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
                                  Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                                  Adapter    "vis-players"  : 0.1.6    , installed 0.1.6
                                  Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
                                  Adapter    "vis-rgraph"   : 0.0.2    , installed 0.0.2
                                  Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                                  Adapter    "weatherunderground": 3.4.2, installed 3.4.2
                                  Adapter    "web"          : 4.3.0    , installed 4.3.0
                                  Adapter    "ws"           : 1.3.0    , installed 1.3.0
                                  Adapter    "yahka"        : 0.13.1   , installed 0.13.1
                                  Adapter    "zigbee"       : 1.7.5    , installed 1.7.5
                                  Adapter    "zwave2"       : 3.0.3    , installed 3.0.3
                                  

                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #26

                                  @mr-burns

                                  Hast du jetzt die Befehle aus Post #21 ausgeführt?

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  Mr. BurnsM 1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @mr-burns

                                    Hast du jetzt die Befehle aus Post #21 ausgeführt?

                                    Mr. BurnsM Offline
                                    Mr. BurnsM Offline
                                    Mr. Burns
                                    schrieb am zuletzt editiert von Mr. Burns
                                    #27

                                    @thomas-braun
                                    Ja...versuche gerade wieder ein update vom js-controller

                                    Ergebnis:

                                    iobroker upgrade self --debug
                                    Update js-controller from @4.0.21 to @4.0.23
                                    Stopped Objects DB
                                    Stopped States DB
                                    NPM version: 8.15.0
                                    Installing iobroker.js-controller@4.0.23... (System call)
                                    npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                                    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                    npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                                    npm WARN deprecated appdirectory@0.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
                                    npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                                    npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                    npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                    npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                    npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                                    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                    npm ERR! code 1
                                    npm ERR! path /opt/iobroker/node_modules/openzwave-shared
                                    npm ERR! command failed
                                    npm ERR! command sh /tmp/install-568a43d9.sh
                                    npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird betreten
                                    npm ERR!   CXX(target) Release/obj.target/openzwave_shared/src/callbacks.o
                                    npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird verlassen
                                    npm ERR! gyp info it worked if it ends with ok
                                    npm ERR! gyp info using node-gyp@9.0.0
                                    npm ERR! gyp info using node@16.17.1 | linux | arm
                                    npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
                                    npm ERR! gyp info spawn /usr/bin/python3
                                    npm ERR! gyp info spawn args [
                                    npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
                                    npm ERR! gyp info spawn args   'binding.gyp',
                                    npm ERR! gyp info spawn args   '-f',
                                    npm ERR! gyp info spawn args   'make',
                                    npm ERR! gyp info spawn args   '-I',
                                    npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/openzwave-shared/build/config.gypi',
                                    npm ERR! gyp info spawn args   '-I',
                                    npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
                                    npm ERR! gyp info spawn args   '-I',
                                    npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/16.17.1/include/node/common.gypi',
                                    npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                                    npm ERR! gyp info spawn args   '-Dvisibility=default',
                                    npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/16.17.1',
                                    npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
                                    npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/16.17.1/<(target_arch)/node.lib',
                                    npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/openzwave-shared',
                                    npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                                    npm ERR! gyp info spawn args   '--depth=.',
                                    npm ERR! gyp info spawn args   '--no-parallel',
                                    npm ERR! gyp info spawn args   '--generator-output',
                                    npm ERR! gyp info spawn args   'build',
                                    npm ERR! gyp info spawn args   '-Goutput_dir=.'
                                    npm ERR! gyp info spawn args ]
                                    npm ERR! gyp info spawn make
                                    npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                                    npm ERR! In file included from /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8.h:30,
                                    npm ERR!                  from ../src/openzwave.hpp:27,
                                    npm ERR!                  from ../src/callbacks.cc:18:
                                    npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’:
                                    npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                                    npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                    npm ERR!       |                                      ^~~~~~~~~~~
                                    npm ERR!       |                                      remove_cv
                                    npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                                    npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                    npm ERR!       |                                      ^~~~~~~~~~~
                                    npm ERR!       |                                      remove_cv
                                    npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:50: error: template argument 2 is invalid
                                    npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                    npm ERR!       |                                                  ^
                                    npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:63: error: ‘::Perform’ has not been declared
                                    npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                    npm ERR!       |                                                               ^~~~~~~
                                    npm ERR! make: *** [openzwave_shared.target.mk:148: Release/obj.target/openzwave_shared/src/callbacks.o] Fehler 1
                                    npm ERR! gyp ERR! build error 
                                    npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
                                    npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                                    npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
                                    npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
                                    npm ERR! gyp ERR! System Linux 5.15.61-v7l+
                                    npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                    npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared
                                    npm ERR! gyp ERR! node -v v16.17.1
                                    npm ERR! gyp ERR! node-gyp -v v9.0.0
                                    npm ERR! gyp ERR! not ok
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2022-09-30T17_36_01_287Z-debug-0.log
                                    ``
                                    [/s]
                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • Mr. BurnsM Mr. Burns

                                      @thomas-braun
                                      Ja...versuche gerade wieder ein update vom js-controller

                                      Ergebnis:

                                      iobroker upgrade self --debug
                                      Update js-controller from @4.0.21 to @4.0.23
                                      Stopped Objects DB
                                      Stopped States DB
                                      NPM version: 8.15.0
                                      Installing iobroker.js-controller@4.0.23... (System call)
                                      npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                                      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                      npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                                      npm WARN deprecated appdirectory@0.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
                                      npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                                      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                                      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                      npm ERR! code 1
                                      npm ERR! path /opt/iobroker/node_modules/openzwave-shared
                                      npm ERR! command failed
                                      npm ERR! command sh /tmp/install-568a43d9.sh
                                      npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird betreten
                                      npm ERR!   CXX(target) Release/obj.target/openzwave_shared/src/callbacks.o
                                      npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird verlassen
                                      npm ERR! gyp info it worked if it ends with ok
                                      npm ERR! gyp info using node-gyp@9.0.0
                                      npm ERR! gyp info using node@16.17.1 | linux | arm
                                      npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
                                      npm ERR! gyp info spawn /usr/bin/python3
                                      npm ERR! gyp info spawn args [
                                      npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
                                      npm ERR! gyp info spawn args   'binding.gyp',
                                      npm ERR! gyp info spawn args   '-f',
                                      npm ERR! gyp info spawn args   'make',
                                      npm ERR! gyp info spawn args   '-I',
                                      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/openzwave-shared/build/config.gypi',
                                      npm ERR! gyp info spawn args   '-I',
                                      npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
                                      npm ERR! gyp info spawn args   '-I',
                                      npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/16.17.1/include/node/common.gypi',
                                      npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                                      npm ERR! gyp info spawn args   '-Dvisibility=default',
                                      npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/16.17.1',
                                      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
                                      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/16.17.1/<(target_arch)/node.lib',
                                      npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/openzwave-shared',
                                      npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                                      npm ERR! gyp info spawn args   '--depth=.',
                                      npm ERR! gyp info spawn args   '--no-parallel',
                                      npm ERR! gyp info spawn args   '--generator-output',
                                      npm ERR! gyp info spawn args   'build',
                                      npm ERR! gyp info spawn args   '-Goutput_dir=.'
                                      npm ERR! gyp info spawn args ]
                                      npm ERR! gyp info spawn make
                                      npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                                      npm ERR! In file included from /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8.h:30,
                                      npm ERR!                  from ../src/openzwave.hpp:27,
                                      npm ERR!                  from ../src/callbacks.cc:18:
                                      npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’:
                                      npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                                      npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                      npm ERR!       |                                      ^~~~~~~~~~~
                                      npm ERR!       |                                      remove_cv
                                      npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                                      npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                      npm ERR!       |                                      ^~~~~~~~~~~
                                      npm ERR!       |                                      remove_cv
                                      npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:50: error: template argument 2 is invalid
                                      npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                      npm ERR!       |                                                  ^
                                      npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:63: error: ‘::Perform’ has not been declared
                                      npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                      npm ERR!       |                                                               ^~~~~~~
                                      npm ERR! make: *** [openzwave_shared.target.mk:148: Release/obj.target/openzwave_shared/src/callbacks.o] Fehler 1
                                      npm ERR! gyp ERR! build error 
                                      npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
                                      npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                                      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
                                      npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
                                      npm ERR! gyp ERR! System Linux 5.15.61-v7l+
                                      npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared
                                      npm ERR! gyp ERR! node -v v16.17.1
                                      npm ERR! gyp ERR! node-gyp -v v9.0.0
                                      npm ERR! gyp ERR! not ok
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2022-09-30T17_36_01_287Z-debug-0.log
                                      ``
                                      [/s]
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #28

                                      @mr-burns sagte in js-controller lässt sich nicht updaten...:

                                      openzwave-shared

                                      Schmeiß den Kram mal raus.

                                      cd /opt/iobroker 
                                      npm ls openzwave-shared
                                      sudo -H -u iobroker npm uninstall openzwave-shared
                                      

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      Mr. BurnsM 1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @mr-burns sagte in js-controller lässt sich nicht updaten...:

                                        openzwave-shared

                                        Schmeiß den Kram mal raus.

                                        cd /opt/iobroker 
                                        npm ls openzwave-shared
                                        sudo -H -u iobroker npm uninstall openzwave-shared
                                        
                                        Mr. BurnsM Offline
                                        Mr. BurnsM Offline
                                        Mr. Burns
                                        schrieb am zuletzt editiert von
                                        #29

                                        @thomas-braun

                                        War nicht so erfolgreich:

                                        sudo -H -u iobroker npm uninstall openzwave-shared
                                        npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                                        npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                        npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                                        npm WARN deprecated appdirectory@0.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
                                        npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                        npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                                        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                        npm ERR! code 1
                                        npm ERR! path /opt/iobroker/node_modules/openzwave-shared
                                        npm ERR! command failed
                                        npm ERR! command sh /tmp/install-6a225777.sh
                                        npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird betreten
                                        npm ERR!   CXX(target) Release/obj.target/openzwave_shared/src/callbacks.o
                                        npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird verlassen
                                        npm ERR! gyp info it worked if it ends with ok
                                        npm ERR! gyp info using node-gyp@9.0.0
                                        npm ERR! gyp info using node@16.17.1 | linux | arm
                                        npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
                                        npm ERR! gyp info spawn /usr/bin/python3
                                        npm ERR! gyp info spawn args [
                                        npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
                                        npm ERR! gyp info spawn args   'binding.gyp',
                                        npm ERR! gyp info spawn args   '-f',
                                        npm ERR! gyp info spawn args   'make',
                                        npm ERR! gyp info spawn args   '-I',
                                        npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/openzwave-shared/build/config.gypi',
                                        npm ERR! gyp info spawn args   '-I',
                                        npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
                                        npm ERR! gyp info spawn args   '-I',
                                        npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/16.17.1/include/node/common.gypi',
                                        npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                                        npm ERR! gyp info spawn args   '-Dvisibility=default',
                                        npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/16.17.1',
                                        npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
                                        npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/16.17.1/<(target_arch)/node.lib',
                                        npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/openzwave-shared',
                                        npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                                        npm ERR! gyp info spawn args   '--depth=.',
                                        npm ERR! gyp info spawn args   '--no-parallel',
                                        npm ERR! gyp info spawn args   '--generator-output',
                                        npm ERR! gyp info spawn args   'build',
                                        npm ERR! gyp info spawn args   '-Goutput_dir=.'
                                        npm ERR! gyp info spawn args ]
                                        npm ERR! gyp info spawn make
                                        npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                                        npm ERR! In file included from /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8.h:30,
                                        npm ERR!                  from ../src/openzwave.hpp:27,
                                        npm ERR!                  from ../src/callbacks.cc:18:
                                        npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’:
                                        npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                                        npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                        npm ERR!       |                                      ^~~~~~~~~~~
                                        npm ERR!       |                                      remove_cv
                                        npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                                        npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                        npm ERR!       |                                      ^~~~~~~~~~~
                                        npm ERR!       |                                      remove_cv
                                        npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:50: error: template argument 2 is invalid
                                        npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                        npm ERR!       |                                                  ^
                                        npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:63: error: ‘::Perform’ has not been declared
                                        npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                        npm ERR!       |                                                               ^~~~~~~
                                        npm ERR! make: *** [openzwave_shared.target.mk:148: Release/obj.target/openzwave_shared/src/callbacks.o] Fehler 1
                                        npm ERR! gyp ERR! build error 
                                        npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
                                        npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                                        npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
                                        npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
                                        npm ERR! gyp ERR! System Linux 5.15.61-v7l+
                                        npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                        npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared
                                        npm ERR! gyp ERR! node -v v16.17.1
                                        npm ERR! gyp ERR! node-gyp -v v9.0.0
                                        npm ERR! gyp ERR! not ok
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/iobroker/.npm/_logs/2022-09-30T18_02_11_700Z-debug-0.log
                                        ``
                                        [/s]
                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • Mr. BurnsM Mr. Burns

                                          @thomas-braun

                                          War nicht so erfolgreich:

                                          sudo -H -u iobroker npm uninstall openzwave-shared
                                          npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                                          npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                          npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                                          npm WARN deprecated appdirectory@0.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
                                          npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                                          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                          npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                                          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                          npm ERR! code 1
                                          npm ERR! path /opt/iobroker/node_modules/openzwave-shared
                                          npm ERR! command failed
                                          npm ERR! command sh /tmp/install-6a225777.sh
                                          npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird betreten
                                          npm ERR!   CXX(target) Release/obj.target/openzwave_shared/src/callbacks.o
                                          npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird verlassen
                                          npm ERR! gyp info it worked if it ends with ok
                                          npm ERR! gyp info using node-gyp@9.0.0
                                          npm ERR! gyp info using node@16.17.1 | linux | arm
                                          npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
                                          npm ERR! gyp info spawn /usr/bin/python3
                                          npm ERR! gyp info spawn args [
                                          npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
                                          npm ERR! gyp info spawn args   'binding.gyp',
                                          npm ERR! gyp info spawn args   '-f',
                                          npm ERR! gyp info spawn args   'make',
                                          npm ERR! gyp info spawn args   '-I',
                                          npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/openzwave-shared/build/config.gypi',
                                          npm ERR! gyp info spawn args   '-I',
                                          npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
                                          npm ERR! gyp info spawn args   '-I',
                                          npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/16.17.1/include/node/common.gypi',
                                          npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                                          npm ERR! gyp info spawn args   '-Dvisibility=default',
                                          npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/16.17.1',
                                          npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
                                          npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/16.17.1/<(target_arch)/node.lib',
                                          npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/openzwave-shared',
                                          npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                                          npm ERR! gyp info spawn args   '--depth=.',
                                          npm ERR! gyp info spawn args   '--no-parallel',
                                          npm ERR! gyp info spawn args   '--generator-output',
                                          npm ERR! gyp info spawn args   'build',
                                          npm ERR! gyp info spawn args   '-Goutput_dir=.'
                                          npm ERR! gyp info spawn args ]
                                          npm ERR! gyp info spawn make
                                          npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                                          npm ERR! In file included from /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8.h:30,
                                          npm ERR!                  from ../src/openzwave.hpp:27,
                                          npm ERR!                  from ../src/callbacks.cc:18:
                                          npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’:
                                          npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                                          npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                          npm ERR!       |                                      ^~~~~~~~~~~
                                          npm ERR!       |                                      remove_cv
                                          npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
                                          npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                          npm ERR!       |                                      ^~~~~~~~~~~
                                          npm ERR!       |                                      remove_cv
                                          npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:50: error: template argument 2 is invalid
                                          npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                          npm ERR!       |                                                  ^
                                          npm ERR! /home/iobroker/.cache/node-gyp/16.17.1/include/node/v8-internal.h:492:63: error: ‘::Perform’ has not been declared
                                          npm ERR!   492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                          npm ERR!       |                                                               ^~~~~~~
                                          npm ERR! make: *** [openzwave_shared.target.mk:148: Release/obj.target/openzwave_shared/src/callbacks.o] Fehler 1
                                          npm ERR! gyp ERR! build error 
                                          npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
                                          npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                                          npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
                                          npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
                                          npm ERR! gyp ERR! System Linux 5.15.61-v7l+
                                          npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                          npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared
                                          npm ERR! gyp ERR! node -v v16.17.1
                                          npm ERR! gyp ERR! node-gyp -v v9.0.0
                                          npm ERR! gyp ERR! not ok
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /home/iobroker/.npm/_logs/2022-09-30T18_02_11_700Z-debug-0.log
                                          ``
                                          [/s]
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #30

                                          @mr-burns sagte in js-controller lässt sich nicht updaten...:

                                          cd /opt/iobroker
                                          npm ls openzwave-shared
                                          

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          Mr. BurnsM 1 Antwort Letzte Antwort
                                          0

                                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                          Registrieren Anmelden
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          405

                                          Online

                                          32.9k

                                          Benutzer

                                          83.0k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe