Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. npm error bei allen Adaptern

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.2k

npm error bei allen Adaptern

Geplant Angeheftet Gesperrt Verschoben Gelöst Error/Bug
npm error
25 Beiträge 5 Kommentatoren 6.6k Aufrufe 4 Watching
  • Ä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.
  • A Offline
    A Offline
    Andi888
    schrieb am zuletzt editiert von
    #7

    Super, es hat funktioniert.
    Vielen Dank!

    1 Antwort Letzte Antwort
    0
    • B Offline
      B Offline
      Bielefelder81
      schrieb am zuletzt editiert von Bielefelder81
      #8

      Nabend.

      Ich habe auch andauernd einen NPM Error, egal bei welchem Adapter. Mir wurden 9 neue Updates angezeigt und ich habe bereits die Befehle hier aus dem Thread ausprobiert, nur leider ohne Erfolg.

      Das kommt zB

      npm
       ERR! code ELIFECYCLEnpm
       ERR! errno
       1npm
       ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the canvas@2.6.1 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      

      Oder beim Updaten vom admin.0 kommt das...

      $ ./iobroker upgrade telegram
      Update telegram from @1.5.5 to @1.5.6
      host.pi-iobroker Adapter "system.adapter.telegram.0" is stopped.
      NPM version: 6.14.4
      npm install iobroker.telegram@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call)
      /opt/iobroker/node_modules/semver/semver.js:1191  }   ^SyntaxError: Invalid or unexpected token    at Module._compile (internal/modules/cjs/loader.js:723:23)    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)    at Module.load (internal/modules/cjs/loader.js:653:32)    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)    at Function.Module._load (internal/modules/cjs/loader.js:585:3)    at Module.require (internal/modules/cjs/loader.js:692:17)    at require (internal/modules/cjs/helpers.js:25:18)    at Object.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/versioning.js:6:14)    at Module._compile (internal/modules/cjs/loader.js:778:30)    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
      npm
       ERR! code ELIFECYCLE
      npm
       ERR! errno 1npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the canvas@2.6.1 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-04-26T00_21_45_383Z-debug.log
      upload [5] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/words.js words.js application/javascript
      upload [4] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/telegram.png telegram.png image/png
      upload [3] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/index_m.html index_m.html text/html
      upload [2] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/index.html index.html text/html
      upload [1] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/custom_m.html custom_m.html text/html
      upload [0] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/blockly.js blockly.js application/javascript
      Adapter "telegram" updated
      host.pi-iobroker Adapter "system.adapter.telegram.0" is started
      process exited with code 0 
      

      Immer etwas mit ELifeCycle. Verändert habe ich schon lang nichts mehr am iobroker.

      AlCalzoneA 1 Antwort Letzte Antwort
      0
      • B Bielefelder81

        Nabend.

        Ich habe auch andauernd einen NPM Error, egal bei welchem Adapter. Mir wurden 9 neue Updates angezeigt und ich habe bereits die Befehle hier aus dem Thread ausprobiert, nur leider ohne Erfolg.

        Das kommt zB

        npm
         ERR! code ELIFECYCLEnpm
         ERR! errno
         1npm
         ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the canvas@2.6.1 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
        

        Oder beim Updaten vom admin.0 kommt das...

        $ ./iobroker upgrade telegram
        Update telegram from @1.5.5 to @1.5.6
        host.pi-iobroker Adapter "system.adapter.telegram.0" is stopped.
        NPM version: 6.14.4
        npm install iobroker.telegram@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call)
        /opt/iobroker/node_modules/semver/semver.js:1191  }   ^SyntaxError: Invalid or unexpected token    at Module._compile (internal/modules/cjs/loader.js:723:23)    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)    at Module.load (internal/modules/cjs/loader.js:653:32)    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)    at Function.Module._load (internal/modules/cjs/loader.js:585:3)    at Module.require (internal/modules/cjs/loader.js:692:17)    at require (internal/modules/cjs/helpers.js:25:18)    at Object.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/versioning.js:6:14)    at Module._compile (internal/modules/cjs/loader.js:778:30)    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
        npm
         ERR! code ELIFECYCLE
        npm
         ERR! errno 1npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the canvas@2.6.1 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
        
        npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-04-26T00_21_45_383Z-debug.log
        upload [5] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/words.js words.js application/javascript
        upload [4] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/telegram.png telegram.png image/png
        upload [3] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/index_m.html index_m.html text/html
        upload [2] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/index.html index.html text/html
        upload [1] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/custom_m.html custom_m.html text/html
        upload [0] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/blockly.js blockly.js application/javascript
        Adapter "telegram" updated
        host.pi-iobroker Adapter "system.adapter.telegram.0" is started
        process exited with code 0 
        

        Immer etwas mit ELifeCycle. Verändert habe ich schon lang nichts mehr am iobroker.

        AlCalzoneA Offline
        AlCalzoneA Offline
        AlCalzone
        Developer
        schrieb am zuletzt editiert von
        #9

        @Bielefelder81 sagte in npm error bei allen Adaptern:

        ^SyntaxError: Invalid or unexpected token

        Das hat in der Regel nur 2 Gründe:

        1. zu alte Node-Version (< 8 )
        2. oder SD-Karte macht gerade die Grätsche

        Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

        B 1 Antwort Letzte Antwort
        0
        • AlCalzoneA AlCalzone

          @Bielefelder81 sagte in npm error bei allen Adaptern:

          ^SyntaxError: Invalid or unexpected token

          Das hat in der Regel nur 2 Gründe:

          1. zu alte Node-Version (< 8 )
          2. oder SD-Karte macht gerade die Grätsche
          B Offline
          B Offline
          Bielefelder81
          schrieb am zuletzt editiert von
          #10

          @AlCalzone

          Hi,

          1. Node = 10.20.1
          2. Hoffentlich nicht
          haselchenH 1 Antwort Letzte Antwort
          0
          • B Bielefelder81

            @AlCalzone

            Hi,

            1. Node = 10.20.1
            2. Hoffentlich nicht
            haselchenH Offline
            haselchenH Offline
            haselchen
            Most Active
            schrieb am zuletzt editiert von haselchen
            #11

            @Bielefelder81

            Ich geh immer nach Try and Error vor 😉
            Hier würde ich nach dem Canvas Fehler suchen.

            npm i canvas

            wäre mein nächster Schritt.
            Wie gesagt immer alles auf eigene Gefahr und Backup machen ganz wichtig.

            Vermutlich gibt es x Möglichkeiten deinen Fehler zu korrigieren.
            Da ich nen Container im Docker habe kann ich halt viel rumprobieren.

            Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

            AlCalzoneA 1 Antwort Letzte Antwort
            0
            • haselchenH haselchen

              @Bielefelder81

              Ich geh immer nach Try and Error vor 😉
              Hier würde ich nach dem Canvas Fehler suchen.

              npm i canvas

              wäre mein nächster Schritt.
              Wie gesagt immer alles auf eigene Gefahr und Backup machen ganz wichtig.

              Vermutlich gibt es x Möglichkeiten deinen Fehler zu korrigieren.
              Da ich nen Container im Docker habe kann ich halt viel rumprobieren.

              AlCalzoneA Offline
              AlCalzoneA Offline
              AlCalzone
              Developer
              schrieb am zuletzt editiert von
              #12

              @haselchen canvas ist nicht das Problem, wenn du genau hinschaust. Der Fehler ist
              } ^SyntaxError: Invalid or unexpected token
              in der Datei /opt/iobroker/node_modules/semver/semver.js. Im Kommentarfeld sieht man auch, dass da ein unsichtbares Steuerzeichen (\u0002) ist, was meinen Verdacht einer kaputten SD-Karte weiter bestärkt.

              Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

              haselchenH 1 Antwort Letzte Antwort
              0
              • AlCalzoneA AlCalzone

                @haselchen canvas ist nicht das Problem, wenn du genau hinschaust. Der Fehler ist
                } ^SyntaxError: Invalid or unexpected token
                in der Datei /opt/iobroker/node_modules/semver/semver.js. Im Kommentarfeld sieht man auch, dass da ein unsichtbares Steuerzeichen (\u0002) ist, was meinen Verdacht einer kaputten SD-Karte weiter bestärkt.

                haselchenH Offline
                haselchenH Offline
                haselchen
                Most Active
                schrieb am zuletzt editiert von haselchen
                #13

                @AlCalzone

                Da bist Du eher der Experte.
                Ich hatte ähnliche Fehlermeldung mal mit dem Hinweis das die Datei schon existiert und man sie löschen soll und dann nochmal updaten.
                Insgesamt sind die Fehlermeldungen bei Iobroker tatsächlich noch Neuland für den Großteil der User.
                Schwierig vermutlich, aufgrund der Vielzahl der möglichen Meldungen, eine Doku zu erstellen mit Fehlerbehandlungen.

                Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                AlCalzoneA 1 Antwort Letzte Antwort
                0
                • haselchenH haselchen

                  @AlCalzone

                  Da bist Du eher der Experte.
                  Ich hatte ähnliche Fehlermeldung mal mit dem Hinweis das die Datei schon existiert und man sie löschen soll und dann nochmal updaten.
                  Insgesamt sind die Fehlermeldungen bei Iobroker tatsächlich noch Neuland für den Großteil der User.
                  Schwierig vermutlich, aufgrund der Vielzahl der möglichen Meldungen, eine Doku zu erstellen mit Fehlerbehandlungen.

                  AlCalzoneA Offline
                  AlCalzoneA Offline
                  AlCalzone
                  Developer
                  schrieb am zuletzt editiert von
                  #14

                  @haselchen Die Formatierung macht es nicht gerade einfacher, das zu erkennen.

                  @Bielefelder81 Du kannst versuchen, die Datei zu reparieren:

                  cd /opt/iobroker
                  npm i semver
                  

                  und dann die Adapter zu installieren. Aber aus meiner Erfahrung deutet so ein Fehler nur an, dass bald mehr kaputt geht. Wenn du nicht sofort die SD tauschen möchstest, empfehle ich dir daher dringend ein Backup.

                  Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                  B 1 Antwort Letzte Antwort
                  0
                  • AlCalzoneA AlCalzone

                    @haselchen Die Formatierung macht es nicht gerade einfacher, das zu erkennen.

                    @Bielefelder81 Du kannst versuchen, die Datei zu reparieren:

                    cd /opt/iobroker
                    npm i semver
                    

                    und dann die Adapter zu installieren. Aber aus meiner Erfahrung deutet so ein Fehler nur an, dass bald mehr kaputt geht. Wenn du nicht sofort die SD tauschen möchstest, empfehle ich dir daher dringend ein Backup.

                    B Offline
                    B Offline
                    Bielefelder81
                    schrieb am zuletzt editiert von
                    #15

                    @AlCalzone

                    Das mit dem semver führte zu sehr vielen roten NPM Error 🙂

                    
                    > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
                    > node-pre-gyp install --fallback-to-build
                    
                    node-pre-gyp WARN Using request for node-pre-gyp https download
                    node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz
                    node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.20.1 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
                    Package pixman-1 was not found in the pkg-config search path.
                    Perhaps you should add the directory containing `pixman-1.pc'
                    to the PKG_CONFIG_PATH environment variable
                    No package 'pixman-1' found
                    gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
                    gyp ERR! configure error
                    gyp ERR! stack Error: `gyp` failed with exit code: 1
                    gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
                    gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                    gyp ERR! System Linux 4.19.97-v7+
                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                    gyp ERR! cwd /opt/iobroker/node_modules/canvas
                    gyp ERR! node -v v10.20.1
                    gyp ERR! node-gyp -v v5.1.0
                    gyp ERR! not ok
                    node-pre-gyp ERR! build error
                    node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                    node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                    node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                    node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                    node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                    node-pre-gyp ERR! System Linux 4.19.97-v7+
                    node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                    node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                    node-pre-gyp ERR! node -v v10.20.1
                    node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                    node-pre-gyp ERR! not ok
                    Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                    npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/zigbee-herdsman/node_modules/fsevents):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                    
                    npm ERR! code ELIFECYCLE
                    npm ERR! errno 1
                    npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                    npm ERR! Exit status 1
                    npm ERR!
                    npm ERR! Failed at the canvas@2.6.1 install script.
                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2020-04-26T12_49_24_986Z-debug.log
                    
                    AlCalzoneA 1 Antwort Letzte Antwort
                    0
                    • B Bielefelder81

                      @AlCalzone

                      Das mit dem semver führte zu sehr vielen roten NPM Error 🙂

                      
                      > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
                      > node-pre-gyp install --fallback-to-build
                      
                      node-pre-gyp WARN Using request for node-pre-gyp https download
                      node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz
                      node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.20.1 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
                      Package pixman-1 was not found in the pkg-config search path.
                      Perhaps you should add the directory containing `pixman-1.pc'
                      to the PKG_CONFIG_PATH environment variable
                      No package 'pixman-1' found
                      gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
                      gyp ERR! configure error
                      gyp ERR! stack Error: `gyp` failed with exit code: 1
                      gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
                      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                      gyp ERR! System Linux 4.19.97-v7+
                      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                      gyp ERR! cwd /opt/iobroker/node_modules/canvas
                      gyp ERR! node -v v10.20.1
                      gyp ERR! node-gyp -v v5.1.0
                      gyp ERR! not ok
                      node-pre-gyp ERR! build error
                      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                      node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                      node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                      node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                      node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                      node-pre-gyp ERR! System Linux 4.19.97-v7+
                      node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                      node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                      node-pre-gyp ERR! node -v v10.20.1
                      node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                      node-pre-gyp ERR! not ok
                      Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                      npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/zigbee-herdsman/node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                      
                      npm ERR! code ELIFECYCLE
                      npm ERR! errno 1
                      npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                      npm ERR! Exit status 1
                      npm ERR!
                      npm ERR! Failed at the canvas@2.6.1 install script.
                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2020-04-26T12_49_24_986Z-debug.log
                      
                      AlCalzoneA Offline
                      AlCalzoneA Offline
                      AlCalzone
                      Developer
                      schrieb am zuletzt editiert von
                      #16

                      @Bielefelder81 Die ganzen canvas-Errors sehen erst mal furchteinflößend aus, das ist aber nur eine optionale Abhängigkeit, die auf manchen Systemen nicht installierbar ist. Wenn es sonst keine Fehler gab, müsste semver eigentlich wieder vollständig drauf sein - also probier mal die Adapter-Installation.

                      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                      B 1 Antwort Letzte Antwort
                      0
                      • AlCalzoneA AlCalzone

                        @Bielefelder81 Die ganzen canvas-Errors sehen erst mal furchteinflößend aus, das ist aber nur eine optionale Abhängigkeit, die auf manchen Systemen nicht installierbar ist. Wenn es sonst keine Fehler gab, müsste semver eigentlich wieder vollständig drauf sein - also probier mal die Adapter-Installation.

                        B Offline
                        B Offline
                        Bielefelder81
                        schrieb am zuletzt editiert von
                        #17

                        @AlCalzone
                        Na schauen wir mal... Ich habe jetzt mal den iot Adapter versucht zu updaten und es kam folgende Meldung.

                        $ ./iobroker upgrade iot
                        Update iot from @1.4.6 to @1.4.10
                        host.pi-iobroker Adapter "system.adapter.iot.0" is stopped.
                        NPM version: 6.14.4
                        npm install iobroker.iot@1.4.10 --loglevel error --prefix "/opt/iobroker" (System call)
                        Package pixman-1 was not found in the pkg-config search path.Perhaps you should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' found
                        gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
                        gyp
                         
                        ERR!
                         configure error
                         gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack     at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                        gyp ERR! System Linux 4.19.97-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"gyp ERR! cwd
                         /opt/iobroker/node_modules/canvasgyp ERR! node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                        node-pre-gyp
                         ERR! build error 
                        node-pre-gyp
                         ERR!
                         stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)node-pre-gyp ERR! System Linux 4.19.97-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvasnode-pre-gyp ERR! node -v v10.20.1node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok 
                        npm
                         ERR! code ELIFECYCLEnpm ERR! errno 1npm
                         ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the canvas@2.6.1 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                        
                        npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-04-26T16_36_44_161Z-debug.log
                        upload [20] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.8b3eca34.js.map static/js/runtime-main.8b3eca34.js.map application/json
                        upload [19] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.8b3eca34.js static/js/runtime-main.8b3eca34.js application/javascript
                        upload [18] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.ac1c3d42.chunk.js.map static/js/main.ac1c3d42.chunk.js.map application/json
                        upload [17] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.ac1c3d42.chunk.js static/js/main.ac1c3d42.chunk.js application/javascript
                        upload [16] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.80efc66d.chunk.js.map static/js/2.80efc66d.chunk.js.map application/json
                        upload [15] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.80efc66d.chunk.js.LICENSE.txt static/js/2.80efc66d.chunk.js.LICENSE.txt text/plain
                        upload [14] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.80efc66d.chunk.js static/js/2.80efc66d.chunk.js application/javascript
                        upload [13] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.d4bed9c6.chunk.css.map static/css/main.d4bed9c6.chunk.css.map application/json
                        upload [12] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.d4bed9c6.chunk.css static/css/main.d4bed9c6.chunk.css text/css
                        upload [11] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.0302007b.chunk.css.map static/css/2.0302007b.chunk.css.map application/json
                        upload [10] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.0302007b.chunk.css static/css/2.0302007b.chunk.css text/css
                        upload [9] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/service-worker.js service-worker.js application/javascript
                        upload [8] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/precache-manifest.947cb21c995d58e8de9a86c4709adcc5.js precache-manifest.947cb21c995d58e8de9a86c4709adcc5.js application/javascript
                        upload [7] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/manifest.json manifest.json application/json
                        upload [6] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/iot.png iot.png image/png
                        upload [5] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/index_m.html index_m.html text/html
                        upload [4] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
                        upload [3] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/blockly.js blockly.js application/javascript
                        upload [2] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/asset-manifest.json asset-manifest.json application/json
                        upload [1] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/alexalogo.png alexalogo.png image/png
                        upload [0] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/actions.js actions.js application/javascript
                        Adapter "iot" updated
                        host.pi-iobroker Adapter "system.adapter.iot.0" is started
                        process exited with code 0
                        

                        Erst verschwindet das Update von der Liste, die Zahl der zu aktualisierenden Updates bleibt gleich... Wenn ich dann die Seite wechsel und wieder zurück zu den Adaptern komme ist er aber trotzdem wieder da.

                        Naja... Irgendwas hat sich kaputt gestanden. Habe schon Wochen nichts mehr am iobroker verändert.

                        1 Antwort Letzte Antwort
                        0
                        • apollon77A Online
                          apollon77A Online
                          apollon77
                          schrieb am zuletzt editiert von
                          #18

                          Naja du hast 1.4.10 installiert aber 1.4.11 gibts jetzt schon. Kann sein das er nach dem Update erst Repo aktualisiert hat?

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          B 1 Antwort Letzte Antwort
                          0
                          • apollon77A apollon77

                            Naja du hast 1.4.10 installiert aber 1.4.11 gibts jetzt schon. Kann sein das er nach dem Update erst Repo aktualisiert hat?

                            B Offline
                            B Offline
                            Bielefelder81
                            schrieb am zuletzt editiert von
                            #19

                            @apollon77 Als verfügbare Version wir mir immer noch nur 1.4.10 angezeigt. Wechsel von 1.4.6 auf 1.4.10

                            apollon77A 1 Antwort Letzte Antwort
                            0
                            • apollon77A Online
                              apollon77A Online
                              apollon77
                              schrieb am zuletzt editiert von
                              #20

                              Sorry my fault ... 1.4.11 ist nich nicht draussen

                              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                              1 Antwort Letzte Antwort
                              0
                              • B Bielefelder81

                                @apollon77 Als verfügbare Version wir mir immer noch nur 1.4.10 angezeigt. Wechsel von 1.4.6 auf 1.4.10

                                apollon77A Online
                                apollon77A Online
                                apollon77
                                schrieb am zuletzt editiert von
                                #21

                                @Bielefelder81 Andere Frage: Welcher js-controller?

                                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                B 1 Antwort Letzte Antwort
                                0
                                • apollon77A apollon77

                                  @Bielefelder81 Andere Frage: Welcher js-controller?

                                  B Offline
                                  B Offline
                                  Bielefelder81
                                  schrieb am zuletzt editiert von
                                  #22

                                  @apollon77 2.2.9

                                  Ich hatte bereits versucht auch dort upzudaten, aber auch ohne Erfolg.

                                  B 1 Antwort Letzte Antwort
                                  0
                                  • B Bielefelder81

                                    @apollon77 2.2.9

                                    Ich hatte bereits versucht auch dort upzudaten, aber auch ohne Erfolg.

                                    B Offline
                                    B Offline
                                    Bielefelder81
                                    schrieb am zuletzt editiert von Bielefelder81
                                    #23
                                    Update js-controller from @2.2.9 to @3.0.19
                                    NPM version: 6.14.4
                                    npm install iobroker.js-controller@3.0.19 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call)
                                    Package pixman-1 was not found in the pkg-config search path.
                                    Perhaps you should add the directory containing `pixman-1.pc'
                                    to the PKG_CONFIG_PATH environment variable
                                    No package 'pixman-1' found
                                    gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
                                    gyp ERR! configure error
                                    gyp ERR! stack Error: `gyp` failed with exit code: 1
                                    gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
                                    gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                    gyp ERR! System Linux 4.19.97-v7+
                                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                                    gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                    gyp ERR! node -v v10.20.1
                                    gyp ERR! node-gyp -v v5.1.0
                                    gyp ERR! not ok
                                    node-pre-gyp ERR! build error
                                    node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                                    node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                    node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                    node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                                    node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                                    node-pre-gyp ERR! System Linux 4.19.97-v7+
                                    node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                    node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                    node-pre-gyp ERR! node -v v10.20.1
                                    node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                    node-pre-gyp ERR! not ok
                                    npm ERR! code ELIFECYCLE
                                    npm ERR! errno 1
                                    npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                                    npm ERR! Exit status 1
                                    npm ERR!
                                    npm ERR! Failed at the canvas@2.6.1 install script.
                                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2020-04-27T06_42_53_525Z-debug.log
                                    Starting node restart.js
                                    

                                    Jetzt steht verfügbar 3.0.19 und vorhanden auch...
                                    Trotzdem steht ne 1 in iobroker unter Hosts...

                                    Teste jetzt mal die Adapter installationen.

                                    AlCalzoneA 1 Antwort Letzte Antwort
                                    0
                                    • B Bielefelder81
                                      Update js-controller from @2.2.9 to @3.0.19
                                      NPM version: 6.14.4
                                      npm install iobroker.js-controller@3.0.19 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call)
                                      Package pixman-1 was not found in the pkg-config search path.
                                      Perhaps you should add the directory containing `pixman-1.pc'
                                      to the PKG_CONFIG_PATH environment variable
                                      No package 'pixman-1' found
                                      gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
                                      gyp ERR! configure error
                                      gyp ERR! stack Error: `gyp` failed with exit code: 1
                                      gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
                                      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                      gyp ERR! System Linux 4.19.97-v7+
                                      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                                      gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                      gyp ERR! node -v v10.20.1
                                      gyp ERR! node-gyp -v v5.1.0
                                      gyp ERR! not ok
                                      node-pre-gyp ERR! build error
                                      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                                      node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                      node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                      node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                                      node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                                      node-pre-gyp ERR! System Linux 4.19.97-v7+
                                      node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                      node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                      node-pre-gyp ERR! node -v v10.20.1
                                      node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                      node-pre-gyp ERR! not ok
                                      npm ERR! code ELIFECYCLE
                                      npm ERR! errno 1
                                      npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                                      npm ERR! Exit status 1
                                      npm ERR!
                                      npm ERR! Failed at the canvas@2.6.1 install script.
                                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2020-04-27T06_42_53_525Z-debug.log
                                      Starting node restart.js
                                      

                                      Jetzt steht verfügbar 3.0.19 und vorhanden auch...
                                      Trotzdem steht ne 1 in iobroker unter Hosts...

                                      Teste jetzt mal die Adapter installationen.

                                      AlCalzoneA Offline
                                      AlCalzoneA Offline
                                      AlCalzone
                                      Developer
                                      schrieb am zuletzt editiert von
                                      #24

                                      @Bielefelder81 sagte in npm error bei allen Adaptern:

                                      Trotzdem steht ne 1 in iobroker unter Hosts

                                      Ja das geht erst weg, wenn du die Admin-Seite komplett neu lädst.
                                      https://github.com/ioBroker/ioBroker.admin/issues/499

                                      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                      B 1 Antwort Letzte Antwort
                                      0
                                      • AlCalzoneA AlCalzone

                                        @Bielefelder81 sagte in npm error bei allen Adaptern:

                                        Trotzdem steht ne 1 in iobroker unter Hosts

                                        Ja das geht erst weg, wenn du die Admin-Seite komplett neu lädst.
                                        https://github.com/ioBroker/ioBroker.admin/issues/499

                                        B Offline
                                        B Offline
                                        Bielefelder81
                                        schrieb am zuletzt editiert von Bielefelder81
                                        #25

                                        Hat leider alles nichts geholfen.
                                        Trotzdem vielen Dank an alle für die Hilfe.

                                        1 Antwort Letzte Antwort
                                        0
                                        Antworten
                                        • In einem neuen Thema antworten
                                        Anmelden zum Antworten
                                        • Älteste zuerst
                                        • Neuste zuerst
                                        • Meiste Stimmen


                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        678

                                        Online

                                        32.4k

                                        Benutzer

                                        81.4k

                                        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
                                        • Aktuell
                                        • Tags
                                        • Ungelesen 0
                                        • Kategorien
                                        • Unreplied
                                        • Beliebt
                                        • GitHub
                                        • Docu
                                        • Hilfe