@thomas-braun sagte in ERROR: Process exited with code 1 / keine Updates mehr:
@symsen
iob stop
cd /opt/iobroker
sudo -H -u iobroker npm install iobroker.js-controller
iob start
Last login: Tue Nov 1 18:17:40 2022 from 192.168.178.159
cd '/home/maik'
maik@iobroker:~$ cd '/home/maik'
maik@iobroker:~$ iob stop
maik@iobroker:~$ cd /opt/iobroker
maik@iobroker:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
[sudo] Passwort für maik:
Das hat nicht funktioniert, bitte nochmal probieren.
[sudo] Passwort für maik:
> iobroker.js-controller@4.0.23 preinstall /opt/iobroker/node_modules/iobroker.js-controller
> node lib/preinstallCheck.js
NPM version: 6.14.17
> unix-dgram@2.0.6 install /opt/iobroker/node_modules/unix-dgram
> node-gyp rebuild
make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
In file included from ../node_modules/nan/nan.h:60,
from ../src/unix_dgram.cc:5:
/home/iobroker/.cache/node-gyp/14.20.1/include/node/node.h:793:7: warning: cast between incompatible functiontypes 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]
793 | (node::addon_register_func) (regfunc), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/iobroker/.cache/node-gyp/14.20.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
827 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
404 | NODE_MODULE(unix_dgram, Initialize)
| ^~~~~~~~~~~
SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
COPY Release/unix_dgram.node
make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
> iobroker.js-controller@4.0.23 install /opt/iobroker/node_modules/iobroker.js-controller
> node iobroker.js setup first
/opt/iobroker/node_modules/ansi-styles/index.js:162
get: assembleS4yles
^
ReferenceError: assembleS4yles is not defined
at Object.<anonymous> (/opt/iobroker/node_modules/ansi-styles/index.js:162:7)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at Object.<anonymous> (/opt/iobroker/node_modules/wrap-ansi/index.js:4:20)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN http-cookie-agent@1.0.6 requires a peer of tough-cookie@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (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":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! iobroker.js-controller@4.0.23 install: `node iobroker.js setup first`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the iobroker.js-controller@4.0.23 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/2022-11-01T17_18_56_246Z-debug.log
maik@iobroker:/opt/iobroker$ iob start
maik@iobroker:/opt/iobroker$
Jetzt kann ich den ioBroker nicht mehr über die Webseite erreichen.