Hallo Elzershark,
hallo Forumsgemeinde,
vorneweg habe ich mit Programmieren und so leider wenig Ahnung.
Ich versuche seit einiger Zeit iobroker auf meinem Raspberry zu installieren. Wahrscheinlich habe ich mittlerweile jede vorhandene Fehlermeldung und vielleicht sogar noch mehr erhalten.
Aktuell erscheint regelmäßig "npm ERR! code ELIFECYCLE"
Ich habe schon mehrere Installationserklärungen aus dem Internet und auch von hier sowie das "Tool" ausprobiert.
ZitatAlles anzeigenpi@raspberrypi:~ $ curl -sL https://iobroker.net/install.sh | bash -
library: loaded
Library version=2022-12-09
==========================================================================
Welcome to the ioBroker installer!
Installer version: 2022-12-22
You might need to enter your password a couple of times.
==========================================================================
==========================================================================
Installing prerequisites (1/4)
==========================================================================
Get:1 https://download.docker.com/linux/raspbian buster InRelease [33.6 kB]
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 http://archive.raspberrypi.org/debian buster InRelease
Hit:4 https://deb.nodesource.com/node_14.x buster InRelease
Fetched 33.6 kB in 1s (28.7 kB/s)
Reading package lists... Done
Changing npm registry to https://registry.npmjs.org
Installed gcc-c++
==========================================================================
Creating ioBroker user and directory (2/4)
==========================================================================
Created /etc/sudoers.d/iobroker
Directory /opt/iobroker created
==========================================================================
Installing ioBroker (3/4)
==========================================================================
In file included from ../../nan/nan.h:60,
from ../src/main.cpp:3:
/home/pi/.cache/node-gyp/14.21.3/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc), \
^
/home/pi/.cache/node-gyp/14.21.3/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(diskusage, Init)
^~~~~~~~~~~
In file included from ../../nan/nan.h:60,
from ../src/unix_dgram.cc:5:
/home/pi/.cache/node-gyp/14.21.3/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc), \
^
/home/pi/.cache/node-gyp/14.21.3/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(unix_dgram, Initialize)
^~~~~~~~~~~
npm ERR! code ELIFECYCLE
npm ERR! errno 24
npm ERR! iobroker.js-controller@4.0.24 install: `node iobroker.js setup first`
npm ERR! Exit status 24
npm ERR!
npm ERR! Failed at the iobroker.js-controller@4.0.24 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/pi/.npm/_logs/2023-03-08T15_04_10_470Z-debug.log
==========================================================================
Finalizing installation (4/4)
==========================================================================
Enabling autostart...
Autostart enabled!
Fixing directory permissions...
==========================================================================
ioBroker was installed successfully
Open http://192.168.2.111 172.17.0.1 169.254.236.13 169.254.114.246:8081 in a browser and start configuring!
==========================================================================
You need to re-login before doing anything else on the console!
Was mache ich falsch?
Was muss ich machen?
Schon einmal vielen Dank für deine und eure Mühen.
Viele Grüße
Andreas