NEWS
UNSOLVED mercedesme problem nach update von node.js 10.xx auf 12.16.3
-
iobroker rebuild canvas
-
@Thomas-Braun said in mercedesme problem nach update von node.js 10.xx auf 12.16.3:
iobroker rebuild canvas
Hallo Thomas,
das rebuild hat mein iobroker gar nicht.
iobroker rebuild canvas Commands: iobroker setup [--objects <host>] [--states <host>] [custom] iobroker start iobroker stop iobroker start <adapter> iobroker stop <adapter> iobroker start all iobroker restart iobroker restart <adapter> iobroker info iobroker logs [adapter] [--watch] [--lines=1000] iobroker add <adapter> [desiredNumber] [--enabled] [--host <host>] [--port <port>] iobroker install <adapter> iobroker url <url> [<name>] iobroker del <adapter> iobroker del <adapter>.<instance> iobroker update [repository url] [--updatable/--u] [--installed/--i] iobroker upgrade [repository url] iobroker upgrade self [repository url] iobroker upgrade <adapter> [repository url] iobroker upload <pathToLocalFile> <pathIniobroker> iobroker upload all iobroker upload <adapter> iobroker object get <id> iobroker object set <id> <json-value> iobroker object set <id> propertyname=value iobroker object del <id|pattern> [--yes] iobroker object chmod <object-mode> [state-mode] <id> iobroker object chown <user> <group> <id> iobroker object list <id> iobroker state get <id> iobroker state getplain <id> [--pretty] iobroker state getvalue <id> iobroker state set <id> <value> [ack] iobroker state del <id> iobroker message <adapter>[.instanceid] <command> [<message>] iobroker list <type> [filter] iobroker chmod <mode> <file> iobroker chown <user> <group> <file> iobroker touch <file> iobroker rm <file> iobroker file read <iobroker-path-to-read> [<filesystem-path-to-write>] iobroker file write <filesystem-path-to-read> <iobroker-path-to-write> iobroker file rm <iobroker-path-to-delete> iobroker file sync iobroker user add <user> [--ingroup group] [--password pass] iobroker user del <user> iobroker user passwd <user> [--password pass] iobroker user enable <user> iobroker user disable <user> iobroker user get <user> iobroker user check <user> [--password pass] iobroker group add <group> iobroker group del <group> iobroker group list <group> iobroker group enable <group> iobroker group disable <group> iobroker group get <group> iobroker group adduser <group> <user> iobroker group deluser <group> <user> iobroker host this iobroker host <hostname> iobroker host set <hostname> iobroker host remove <hostname> iobroker set <adapter>.<instance> [--port port] [--ip address] [--ssl true|false] iobroker license <license.file or license.text> iobroker cert create iobroker cert view [<certificate name>] iobroker clean iobroker backup iobroker restore <backup name or path> iobroker validate <backup name or path> iobroker <command> --timeout 5000 iobroker status [all] iobroker repo [name] iobroker repo add <name> <path or url> iobroker repo set <name> iobroker repo del <name> iobroker uuid iobroker unsetup iobroker fix iobroker multihost <enable|disable> [--secure true|false] iobroker multihost browse iobroker multihost connect iobroker compact status iobroker compact <enable|on|disable|off> iobroker compact <adapter>.<instance> status iobroker compact <adapter>.<instance> group <group-id> iobroker compact <adapter>.<instance> <disable|off> iobroker compact <adapter>.<instance> <enable|on> [group-id] iobroker version [adapter] iobroker [adapter] -v Options: --help Show help [boolean] --version Show version number [boolean]
-
iobroker --version 2.2.9
-
@crazyskater Dann in /opt/iobroker
npm rebuild canvas
-
@Thomas-Braun
npm rebuild canvasHat auch nicht geholfen.
> 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 [canvas] Success: "/opt/iobroker/node_modules/canvas/build/Release/canvas.node" already installed Pass --update-binary to reinstall or --build-from-source to recompile
-
npm rebuild canvas --build-from-source
-
@Thomas-Braun said in mercedesme problem nach update von node.js 10.xx auf 12.16.3:
npm rebuild canvas --build-from-source
Da hagelt es nur Fehler.
> 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 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/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:310:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 4.19.0-8-amd64 gyp ERR! command "/usr/bin/node" "/usr/local/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-v72" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v12.16.3 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/local/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-v72' (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:310: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.19.0-8-amd64 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/canvas node-pre-gyp ERR! node -v v12.16.3 node-pre-gyp ERR! node-pre-gyp -v v0.11.0 node-pre-gyp ERR! not ok Failed to execute '/usr/bin/node /usr/local/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-v72' (1) 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! /root/.npm/_logs/2020-05-22T19_42_44_243Z-debug.log
-
sudo apt install libpixman-1-dev
Dann noch mal
npm rebuild canvas --build-from-source
versuchen.
-
@crazyskater said in mercedesme problem nach update von node.js 10.xx auf 12.16.3:
npm rebuild canvas --build-from-source
ging auch nicht, es hat im noch folgendes gefehlt.
- libcairo2-dev
- libpango-1.0-0
Nun scheint es ganz kaputt...
npm rebuild canvas --build-from-source /usr/bin/env: ‘node’: No such file or directory
-
iobroker sudo: node: command not found
-
ok, hab nochmal
curl -sL https://iobroker.net/fix.sh | bash -
gemacht, nun tut iobroker wieder
-
danke nun tut es, hab noch folgendes gemacht.
apt install libpango1.0-dev apt install libjpeg62-turbo-dev npm rebuild canvas --build-from-source
Mein Held Thomas.
Danke dir