Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Javascript Adapter lässt sich nicht updaten

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    SOLVED [gelöst] Javascript Adapter lässt sich nicht updaten

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

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Pi3
      Arbeitsspeicher: 1GB
      Festplattenart: SSD
      Betriebssystem: Raspian Stretch
      Node-Version: v10.20.1
      Nodejs-Version: v10.20.1
      NPM-Version: 6.14.4
      Installationsart: Skript
      Image genutzt: Ja
      Ort/Name der Imagedatei: https://www.raspberrypi.org/downloads/raspbian/

      Ich habe heute auf node 10.x und js-controller 3.x geupdatet, alles lief sauber durch und es scheint auch alles wieder zu laufen, lediglich das neuste Javascript/ScriptEngine Adapter Update lässt sich nicht einspielen.

      pi@raspberrypi:/opt/iobroker $ ./iobroker upgrade javascript
      Update javascript from @4.4.3 to @4.5.1
      NPM version: 6.14.4
      npm install iobroker.javascript@4.5.1 --loglevel error --prefix "/opt/iobroker" (System call)
      Update javascript from @4.4.3 to @4.5.1
      NPM version: 6.14.4
      npm install iobroker.javascript@4.5.1 --loglevel error --prefix "/opt/iobroker" (System call)
      Update javascript from @4.4.3 to @4.5.1
      NPM version: 6.14.4
      npm install iobroker.javascript@4.5.1 --loglevel error --prefix "/opt/iobroker" (System call)
      ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1
      info sharp Attempting to build from source via node-gyp but this may fail due to the above error
      info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
      ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden
       #include <vips/vips8>
                            ^
      compilation terminated.
      make: *** [Release/obj.target/sharp/src/common.o] Fehler 1
      gyp ERR! build error
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)
      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
      gyp ERR! System Linux 4.19.66-v7+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/sharp
      gyp ERR! node -v v10.20.1
      gyp ERR! node-gyp -v v5.1.0
      gyp ERR! not ok
      Could not install NodeJS typings. This is not critical.
      Reason:
      npm ERR! code ENOENT
      npm ERR! syscall access
      npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node
      npm ERR! errno -2
      npm ERR! enoent ENOENT: no such file or directory, access '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node'
      npm ERR! enoent This is related to npm not being able to find a file.
      npm ERR! enoent
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2020-04-23T07_40_36_061Z-debug.log
      
      ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1
      info sharp Attempting to build from source via node-gyp but this may fail due to the above error
      info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
      npm ERR! code ENOENT
      npm ERR! syscall rename
      npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/jsonata
      npm ERR! dest /opt/iobroker/node_modules/iobroker.javascript/node_modules/.jsonata.DELETE
      npm ERR! errno -2
      npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/iobroker.javascript/node_modules/jsonata' -> '/opt/iobroker/node_modules/iobroker.javascript/node_modules/.jsonata.DELETE'
      npm ERR! enoent This is related to npm not being able to find a file.
      npm ERR! enoent
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2020-04-23T07_40_59_955Z-debug.log
      host.raspberrypi Cannot install iobroker.javascript@4.5.1: 254
      

      MOD-Edit: Code in code-tags gesetzt!

      Leider habe ich keinen match im Forum dazu finden können und hoffe trotzdem, dass mir jemand aufzeigen kann was ich machen muss, damit das Update sauber durchläuft.

      Vielen Dank im Voraus.

      Gruß,
      Marc

      arteck 1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active @monarc last edited by

        @monarc warum aktualisierst du es nicht vom Admin aus ??

        1 Reply Last reply Reply Quote 0
        • arteck
          arteck Developer Most Active @monarc last edited by

          @monarc warum aktualisierst du es nicht vom Admin aus ??

          1 Reply Last reply Reply Quote 0
          • M
            monarc last edited by

            @arteck ja what the heck.... hatte ich auch schon gemacht, allerdings mit dem gleichen Fehlerbild. Wollte jetzt gerade nochmal die Fehlermeldung generieren, jetzt lief das Update ratz fatz und ohne Meckerei durch.... 👍 🤷‍♂️

            arteck 1 Reply Last reply Reply Quote 0
            • arteck
              arteck Developer Most Active @monarc last edited by

              @monarc dann setzt auf gelöst

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

              Support us

              ioBroker
              Community Adapters
              Donate

              867
              Online

              31.9k
              Users

              80.1k
              Topics

              1.3m
              Posts

              error iobroker javascript adapter
              2
              4
              366
              Loading More Posts
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes
              Reply
              • Reply as topic
              Log in to reply
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
              The ioBroker Community 2014-2023
              logo