NEWS
[Gelöst] Nach Update: Error: Cannot find module
-
Hallo zusammen,
nach einem Update bekomme ich ioBroker nicht mehr zum Laufen.
Fehler:
pi@raspberrypi:/opt/iobroker $ node -v v12.22.5 pi@raspberrypi:/opt/iobroker $ npm -v 6.14.14 pi@raspberrypi:/opt/iobroker $ iobroker list instances internal/modules/cjs/loader.js:818 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) at Function.Module._load (internal/modules/cjs/loader.js:667:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }Was ist da schief gelaufen und wie bekomme ich das wieder hin?
Danke für eure Unterstützung!
-
Hallo zusammen,
nach einem Update bekomme ich ioBroker nicht mehr zum Laufen.
Fehler:
pi@raspberrypi:/opt/iobroker $ node -v v12.22.5 pi@raspberrypi:/opt/iobroker $ npm -v 6.14.14 pi@raspberrypi:/opt/iobroker $ iobroker list instances internal/modules/cjs/loader.js:818 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) at Function.Module._load (internal/modules/cjs/loader.js:667:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }Was ist da schief gelaufen und wie bekomme ich das wieder hin?
Danke für eure Unterstützung!
@xxx_turbo_xxx sagte in Nach Update: Error: Cannot find module:
nach einem Update
Und welches Update?
which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller -
@xxx_turbo_xxx sagte in Nach Update: Error: Cannot find module:
nach einem Update
Und welches Update?
which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controllernach apt-get update und apt-get upgrade
pi@raspberrypi:/opt/iobroker $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v12.22.5 v12.22.5 6.14.14 nodejs: Installiert: 12.22.5-1nodesource1 Installationskandidat: 12.22.5-1nodesource1 Versionstabelle: *** 12.22.5-1nodesource1 500 500 https://deb.nodesource.com/node_12.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages -
@xxx_turbo_xxx sagte in Nach Update: Error: Cannot find module:
nach einem Update
Und welches Update?
which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controllerpi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 > iobroker.js-controller@3.3.15 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.14 > iobroker.js-controller@3.3.15 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first Cannot read system.config: null (OK when migrating or restoring) object 0_userdata.0.example_state created object 0_userdata.0 created object alias.0 created object system.certificates created object system.repositories created object system.config created object enum.functions created object enum.rooms created object system.group.user created object system.group.administrator created object _design/custom created object _design/system created object system.meta.uuid created: e7208598-4b56-c6e1-1dde-2e6a782357cf object system.user.admin created The following notifications happened during sync: - Ignoring Directory "admin.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "alexa2.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "backitup.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "cloud.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "discovery.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "ds18b20.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "dwd.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "ebus.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "find-my-iphone.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "flot" because officially not created as meta object. Please remove directory! - Ignoring Directory "flot.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "fritzdect.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "ham.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "harmony.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "hue-extended.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "hue.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "ical.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "influxdb.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "info.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "iot.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "javascript.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "luftdaten.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "mobile" because officially not created as meta object. Please remove directory! - Ignoring Directory "mobile.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "modbus.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "mqtt.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "octoprint.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "openweathermap.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "ping.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "pollenflug.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "pushover.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "rpi2.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "samsung.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "shelly.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "shuttercontrol.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "simple-api.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "smartmeter.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "socketio.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "solarwetter.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "sonos.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "tado.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "tankerkoenig.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "tr-064.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "upnp.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "vaillant.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "vis" because officially not created as meta object. Please remove directory! - Ignoring Directory "vis.0" because officially not created as meta object. Please remove directory! - Ignoring Directory "vis.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "web" because officially not created as meta object. Please remove directory! - Ignoring Directory "web.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "yahka.admin" because officially not created as meta object. Please remove directory! Renamed repository "default to "stable" Renamed repository "latest to "beta" 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":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_module s/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"da rwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + iobroker.js-controller@3.3.15 added 36 packages from 58 contributors in 47.074s 49 packages are looking for funding run `npm fund` for details -
pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 > iobroker.js-controller@3.3.15 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.14 > iobroker.js-controller@3.3.15 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first Cannot read system.config: null (OK when migrating or restoring) object 0_userdata.0.example_state created object 0_userdata.0 created object alias.0 created object system.certificates created object system.repositories created object system.config created object enum.functions created object enum.rooms created object system.group.user created object system.group.administrator created object _design/custom created object _design/system created object system.meta.uuid created: e7208598-4b56-c6e1-1dde-2e6a782357cf object system.user.admin created The following notifications happened during sync: - Ignoring Directory "admin.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "alexa2.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "backitup.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "cloud.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "discovery.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "ds18b20.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "dwd.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "ebus.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "find-my-iphone.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "flot" because officially not created as meta object. Please remove directory! - Ignoring Directory "flot.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "fritzdect.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "ham.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "harmony.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "hue-extended.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "hue.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "ical.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "influxdb.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "info.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "iot.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "javascript.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "luftdaten.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "mobile" because officially not created as meta object. Please remove directory! - Ignoring Directory "mobile.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "modbus.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "mqtt.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "octoprint.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "openweathermap.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "ping.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "pollenflug.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "pushover.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "rpi2.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "samsung.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "shelly.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "shuttercontrol.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "simple-api.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "smartmeter.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "socketio.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "solarwetter.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "sonos.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "tado.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "tankerkoenig.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "tr-064.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "upnp.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "vaillant.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "vis" because officially not created as meta object. Please remove directory! - Ignoring Directory "vis.0" because officially not created as meta object. Please remove directory! - Ignoring Directory "vis.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "web" because officially not created as meta object. Please remove directory! - Ignoring Directory "web.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "yahka.admin" because officially not created as meta object. Please remove directory! Renamed repository "default to "stable" Renamed repository "latest to "beta" 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":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_module s/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"da rwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + iobroker.js-controller@3.3.15 added 36 packages from 58 contributors in 47.074s 49 packages are looking for funding run `npm fund` for details@xxx_turbo_xxx sagte in Nach Update: Error: Cannot find module:
Cannot read system.config: null (OK when migrating or restoring)
sieh mal nach dem "Mini-HowTo"
-
@xxx_turbo_xxx sagte in Nach Update: Error: Cannot find module:
Cannot read system.config: null (OK when migrating or restoring)
sieh mal nach dem "Mini-HowTo"
@homoran und schwups... da isser wieder :-)
Vielen Dank!
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden