- ioBroker Community Home
- Deutsch
- Error/Bug
- Fehler bei Adapterinstallation
NEWS
Fehler bei Adapterinstallation
-
Hallo,
ich brauche mal wieder Hilfe...ich habe versucht den mihome-vacuum Adapter zu aktualisieren (es war noch eine sehr alte Version). Leider schlug das Update fehl, woraufhin ich kurzerhand den Adapter bzw. die Instanz deinstalliert habe und einfach eine Neuinstallation machen wollte. Leider schlägt die Neuinstallation auch fehl. Ich habe per SSH versucht den Adapter manuell zu deinstallieren, leider ohne Erfolg.
Hier die Fehlermeldung bei der Installation:
$ ./iobroker add mihome-vacuum --host ioBroker-RasPi
NPM version: 6.11.3
npm install iobroker.mihome-vacuum@2.0.7 --loglevel error --prefix "/opt/iobroker" (System call)
NPM version: 6.11.3
npm install iobroker.mihome-vacuum@2.0.7 --loglevel error --prefix "/opt/iobroker" (System call)
path.js:1077 path = process.cwd(); ^Error: ENOENT: no such file or directory, uv_cwd at Object.resolve (path.js:1077:24) at Function.Module._resolveLookupPaths (internal/modules/cjs/loader.js:534:17) at Function.Module._resolveFilename (internal/modules/cjs/loader.js:629:20) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:8:13) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32)
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=5 --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/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.14.30-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! UNCAUGHT EXCEPTION node-pre-gyp ERR! stack Error: ENOENT: no such file or directory, uv_cwdnode-pre-gyp ERR! stack at errorMessage (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:120:28)node-pre-gyp ERR! stack at /opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:86:7node-pre-gyp ERR! stack at /opt/iobroker/node_modules/node-pre-gyp/lib/build.js:44:33node-pre-gyp ERR! stack at /opt/iobroker/node_modules/node-pre-gyp/lib/configure.js:48:24node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:20)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.14.30-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:120 log.error('cwd', process.cwd()); ^Error: ENOENT: no such file or directory, uv_cwd at errorMessage (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:120:28) at issueMessage (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:126:3) at process.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:111:3) at process.emit (events.js:198:13) at process._fatalException (internal/bootstrap/node.js:497:27)
sh: 1: node-pre-gyp: not found
npm
ERR! code ELIFECYCLEnpm ERR! errno 7
npm ERR! canvas@2.6.1 install:node-pre-gyp install --fallback-to-buildnpm ERR! Exit status 7npm 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-09-17T13_43_22_189Z-debug.log
ERROR: host.ioBroker-RasPi Cannot install iobroker.mihome-vacuum@2.0.7: 7
npm
ERR! code ELIFECYCLEnpm ERR! syscall spawnnpm ERR!
file shnpm ERR! errno ENOENTnpm ERR! canvas@2.6.1 install:node-pre-gyp install --fallback-to-buildnpm ERR! spawn ENOENT
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-09-17T13_43_22_403Z-debug.log
ERROR: host.ioBroker-RasPi Cannot install iobroker.mihome-vacuum@2.0.7: 1
ERROR: process exited with code 25
Das System ist ein Raspberry 3 - iobroker Version 3.1.6
Wie kann ich vorgehen?
Danke im Voraus. -
Hallo,
ich brauche mal wieder Hilfe...ich habe versucht den mihome-vacuum Adapter zu aktualisieren (es war noch eine sehr alte Version). Leider schlug das Update fehl, woraufhin ich kurzerhand den Adapter bzw. die Instanz deinstalliert habe und einfach eine Neuinstallation machen wollte. Leider schlägt die Neuinstallation auch fehl. Ich habe per SSH versucht den Adapter manuell zu deinstallieren, leider ohne Erfolg.
Hier die Fehlermeldung bei der Installation:
$ ./iobroker add mihome-vacuum --host ioBroker-RasPi
NPM version: 6.11.3
npm install iobroker.mihome-vacuum@2.0.7 --loglevel error --prefix "/opt/iobroker" (System call)
NPM version: 6.11.3
npm install iobroker.mihome-vacuum@2.0.7 --loglevel error --prefix "/opt/iobroker" (System call)
path.js:1077 path = process.cwd(); ^Error: ENOENT: no such file or directory, uv_cwd at Object.resolve (path.js:1077:24) at Function.Module._resolveLookupPaths (internal/modules/cjs/loader.js:534:17) at Function.Module._resolveFilename (internal/modules/cjs/loader.js:629:20) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:8:13) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32)
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=5 --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/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.14.30-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! UNCAUGHT EXCEPTION node-pre-gyp ERR! stack Error: ENOENT: no such file or directory, uv_cwdnode-pre-gyp ERR! stack at errorMessage (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:120:28)node-pre-gyp ERR! stack at /opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:86:7node-pre-gyp ERR! stack at /opt/iobroker/node_modules/node-pre-gyp/lib/build.js:44:33node-pre-gyp ERR! stack at /opt/iobroker/node_modules/node-pre-gyp/lib/configure.js:48:24node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:20)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.14.30-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:120 log.error('cwd', process.cwd()); ^Error: ENOENT: no such file or directory, uv_cwd at errorMessage (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:120:28) at issueMessage (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:126:3) at process.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:111:3) at process.emit (events.js:198:13) at process._fatalException (internal/bootstrap/node.js:497:27)
sh: 1: node-pre-gyp: not found
npm
ERR! code ELIFECYCLEnpm ERR! errno 7
npm ERR! canvas@2.6.1 install:node-pre-gyp install --fallback-to-buildnpm ERR! Exit status 7npm 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-09-17T13_43_22_189Z-debug.log
ERROR: host.ioBroker-RasPi Cannot install iobroker.mihome-vacuum@2.0.7: 7
npm
ERR! code ELIFECYCLEnpm ERR! syscall spawnnpm ERR!
file shnpm ERR! errno ENOENTnpm ERR! canvas@2.6.1 install:node-pre-gyp install --fallback-to-buildnpm ERR! spawn ENOENT
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-09-17T13_43_22_403Z-debug.log
ERROR: host.ioBroker-RasPi Cannot install iobroker.mihome-vacuum@2.0.7: 1
ERROR: process exited with code 25
Das System ist ein Raspberry 3 - iobroker Version 3.1.6
Wie kann ich vorgehen?
Danke im Voraus.zigbee hab ich, zwave auch, nuc's genauso und HA auch
-
Hallo,
ich brauche mal wieder Hilfe...ich habe versucht den mihome-vacuum Adapter zu aktualisieren (es war noch eine sehr alte Version). Leider schlug das Update fehl, woraufhin ich kurzerhand den Adapter bzw. die Instanz deinstalliert habe und einfach eine Neuinstallation machen wollte. Leider schlägt die Neuinstallation auch fehl. Ich habe per SSH versucht den Adapter manuell zu deinstallieren, leider ohne Erfolg.
Hier die Fehlermeldung bei der Installation:
$ ./iobroker add mihome-vacuum --host ioBroker-RasPi
NPM version: 6.11.3
npm install iobroker.mihome-vacuum@2.0.7 --loglevel error --prefix "/opt/iobroker" (System call)
NPM version: 6.11.3
npm install iobroker.mihome-vacuum@2.0.7 --loglevel error --prefix "/opt/iobroker" (System call)
path.js:1077 path = process.cwd(); ^Error: ENOENT: no such file or directory, uv_cwd at Object.resolve (path.js:1077:24) at Function.Module._resolveLookupPaths (internal/modules/cjs/loader.js:534:17) at Function.Module._resolveFilename (internal/modules/cjs/loader.js:629:20) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:8:13) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32)
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=5 --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/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.14.30-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! UNCAUGHT EXCEPTION node-pre-gyp ERR! stack Error: ENOENT: no such file or directory, uv_cwdnode-pre-gyp ERR! stack at errorMessage (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:120:28)node-pre-gyp ERR! stack at /opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:86:7node-pre-gyp ERR! stack at /opt/iobroker/node_modules/node-pre-gyp/lib/build.js:44:33node-pre-gyp ERR! stack at /opt/iobroker/node_modules/node-pre-gyp/lib/configure.js:48:24node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:20)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.14.30-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:120 log.error('cwd', process.cwd()); ^Error: ENOENT: no such file or directory, uv_cwd at errorMessage (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:120:28) at issueMessage (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:126:3) at process.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:111:3) at process.emit (events.js:198:13) at process._fatalException (internal/bootstrap/node.js:497:27)
sh: 1: node-pre-gyp: not found
npm
ERR! code ELIFECYCLEnpm ERR! errno 7
npm ERR! canvas@2.6.1 install:node-pre-gyp install --fallback-to-buildnpm ERR! Exit status 7npm 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-09-17T13_43_22_189Z-debug.log
ERROR: host.ioBroker-RasPi Cannot install iobroker.mihome-vacuum@2.0.7: 7
npm
ERR! code ELIFECYCLEnpm ERR! syscall spawnnpm ERR!
file shnpm ERR! errno ENOENTnpm ERR! canvas@2.6.1 install:node-pre-gyp install --fallback-to-buildnpm ERR! spawn ENOENT
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-09-17T13_43_22_403Z-debug.log
ERROR: host.ioBroker-RasPi Cannot install iobroker.mihome-vacuum@2.0.7: 1
ERROR: process exited with code 25
Das System ist ein Raspberry 3 - iobroker Version 3.1.6
Wie kann ich vorgehen?
Danke im Voraus.@Bertzel
Da würde ich zunächst aber gründlicher ansetzen.
Grundsystem aktualisieren und nodeJS auf Version 12 bringen.
Dann erst die ioBroker-Installation (bzw. die Adapter). -
@Bertzel
Da würde ich zunächst aber gründlicher ansetzen.
Grundsystem aktualisieren und nodeJS auf Version 12 bringen.
Dann erst die ioBroker-Installation (bzw. die Adapter).Danke für Eure Vorschläge, als erstes habe ich NodeJS auf Version 12 gebracht. Das hat auch alles funktioniert.
Leider Kann ich den Adapter danach noch immer nicht installieren:
$ ./iobroker add mihome-vacuum --host ioBroker-RasPi
NPM version: 6.14.6
npm install iobroker.mihome-vacuum@2.0.7 --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' foundgyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gypERR! configure error
gyp ERR! stack Error:gypfailed 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:315:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.14.30-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-v72"
gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v12.18.4gyp 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-v72' (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:315:20)node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 4.14.30-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 v12.18.4
node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok
npm
ERR! code ELIFECYCLEnpm ERR! errno 1
npm
ERR! canvas@2.6.1 install:node-pre-gyp install --fallback-to-buildnpm 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-09-18T11_41_16_771Z-debug.log
ERROR: host.ioBroker-RasPi Cannot install iobroker.mihome-vacuum@2.0.7: 1
ERROR: process exited with code 25
Anschließend habe ich es mit
npm install canvasprobiert, das schlägt aber leider auf fehl:canvas@2.6.1 install /opt/iobroker/node_modules/canvas
node-pre-gyp install --fallback-to-buildnode-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-v72-linux-glib c-arm.tar.gz
node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@12.18.4 (node-v72 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 containingpixman-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:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.14.30-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/i obroker/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-v72"
gyp ERR! cwd /opt/iobroker/node_modules/canvas
gyp ERR! node -v v12.18.4
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/bu ild/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (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:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 4.14.30-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 v12.18.4
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-v72' (1)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {" os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@^2.0.0 (node_modules/node-dtls-client/node_modules/node-aead-crypto):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported engine for node-aead-crypto@2.2.0: wanted: {"node":">4 <10"} (current: {"node":"12.18.4","n pm":"6.14.6"})
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Not compatible with your version of node/npm: node-aead-crypto@2.2.0
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/needle/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-aead-crypto/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/package.json'
npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.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-09-18T11_42_40_498Z-debug.logHabt ihr noch weitere Vorschläge?
-
Danke für Eure Vorschläge, als erstes habe ich NodeJS auf Version 12 gebracht. Das hat auch alles funktioniert.
Leider Kann ich den Adapter danach noch immer nicht installieren:
$ ./iobroker add mihome-vacuum --host ioBroker-RasPi
NPM version: 6.14.6
npm install iobroker.mihome-vacuum@2.0.7 --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' foundgyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gypERR! configure error
gyp ERR! stack Error:gypfailed 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:315:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.14.30-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-v72"
gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v12.18.4gyp 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-v72' (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:315:20)node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 4.14.30-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 v12.18.4
node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok
npm
ERR! code ELIFECYCLEnpm ERR! errno 1
npm
ERR! canvas@2.6.1 install:node-pre-gyp install --fallback-to-buildnpm 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-09-18T11_41_16_771Z-debug.log
ERROR: host.ioBroker-RasPi Cannot install iobroker.mihome-vacuum@2.0.7: 1
ERROR: process exited with code 25
Anschließend habe ich es mit
npm install canvasprobiert, das schlägt aber leider auf fehl:canvas@2.6.1 install /opt/iobroker/node_modules/canvas
node-pre-gyp install --fallback-to-buildnode-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-v72-linux-glib c-arm.tar.gz
node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@12.18.4 (node-v72 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 containingpixman-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:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.14.30-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/i obroker/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-v72"
gyp ERR! cwd /opt/iobroker/node_modules/canvas
gyp ERR! node -v v12.18.4
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/bu ild/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (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:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 4.14.30-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 v12.18.4
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-v72' (1)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {" os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@^2.0.0 (node_modules/node-dtls-client/node_modules/node-aead-crypto):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported engine for node-aead-crypto@2.2.0: wanted: {"node":">4 <10"} (current: {"node":"12.18.4","n pm":"6.14.6"})
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Not compatible with your version of node/npm: node-aead-crypto@2.2.0
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/needle/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-aead-crypto/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/package.json'
npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.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-09-18T11_42_40_498Z-debug.logHabt ihr noch weitere Vorschläge?
@Bertzel pixman-1 nachinstallieren.
Vermutlich fehlt da aber noch mehr . Such mal hier im Forum nach pixman und canvas. Da findet sich einiges.Und auch auf der Seite des Adapters findet man was dazu.
https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/blob/master/README.mdsudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-0 libpixman-1-dev cd /opt/iobroker npm install canvas