NEWS
UNSOLVED Fehlermeldung bei Adapterupdate
-
Systemdata Bitte Ausfüllen Hardwaresystem: Pi4 Arbeitsspeicher: 4GB Festplattenart: SSD Betriebssystem: Linux Nodejs-Version: 14.5.0 NPM-Version: 6.14.5 Installationsart: Skript Image genutzt: Nein Hallo zusammen,
ich habe immer diese Meldungen bevor der Adapter den ich updaten möchte.
z.B. dieser:
$ ./iobroker upgrade luftdaten Update luftdaten from @0.0.15 to @0.0.17 NPM version: 6.14.5 npm install iobroker.luftdaten@0.0.17 --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: 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:314:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)gyp ERR! System Linux 4.19.118-v7l+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-v83"gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v14.5.0gyp 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-v83' (1)node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:314:20)node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1051:16)node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)node-pre-gyp ERR! System Linux 4.19.118-v7l+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/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 v14.5.0node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok upload [4] luftdaten.admin /opt/iobroker/node_modules/iobroker.luftdaten/admin/words.js words.js application/javascript Update "system.adapter.luftdaten.0" upload [3] luftdaten.admin /opt/iobroker/node_modules/iobroker.luftdaten/admin/style.css style.css text/css upload [2] luftdaten.admin /opt/iobroker/node_modules/iobroker.luftdaten/admin/luftdaten.png luftdaten.png image/png upload [1] luftdaten.admin /opt/iobroker/node_modules/iobroker.luftdaten/admin/index_m.html index_m.html text/html upload [0] luftdaten.admin /opt/iobroker/node_modules/iobroker.luftdaten/admin/admin.d.ts admin.d.ts video/mp2t Adapter "luftdaten" updated process exited with code 0
Ich habe keine Ahnung wo bzw. was ich da machen soll.
Grüße
Manfred -
@Beowolf canvas von Hand installieren. Steht mehrfach hier im Forum, wie das geht.
Und an deiner Stelle würde ich auch nicht node14, sondern node12 einsetzen.
-
Danke, läuft wieder alles.