Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. [Gelöst] Nach Update: Error: Cannot find module

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    10
    1
    308

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.5k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.4k

[Gelöst] Nach Update: Error: Cannot find module

Geplant Angeheftet Gesperrt Verschoben Error/Bug
errornodurle not found
6 Beiträge 3 Kommentatoren 3.4k Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • xxx_turbo_xxxX Offline
    xxx_turbo_xxxX Offline
    xxx_turbo_xxx
    schrieb am zuletzt editiert von xxx_turbo_xxx
    #1

    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!

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • xxx_turbo_xxxX xxx_turbo_xxx

      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!

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #2

      @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
      

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      xxx_turbo_xxxX 2 Antworten Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @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_xxxX Offline
        xxx_turbo_xxxX Offline
        xxx_turbo_xxx
        schrieb am zuletzt editiert von
        #3

        @thomas-braun

        nach 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
        
        
        1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @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_xxxX Offline
          xxx_turbo_xxxX Offline
          xxx_turbo_xxx
          schrieb am zuletzt editiert von
          #4

          @thomas-braun

          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
          
          
          HomoranH 1 Antwort Letzte Antwort
          0
          • xxx_turbo_xxxX xxx_turbo_xxx

            @thomas-braun

            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
            
            
            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #5

            @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"

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            xxx_turbo_xxxX 1 Antwort Letzte Antwort
            0
            • HomoranH Homoran

              @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_xxxX Offline
              xxx_turbo_xxxX Offline
              xxx_turbo_xxx
              schrieb am zuletzt editiert von
              #6

              @homoran und schwups... da isser wieder :-)

              Vielen Dank!

              1 Antwort Letzte Antwort
              0
              Antworten
              • In einem neuen Thema antworten
              Anmelden zum Antworten
              • Älteste zuerst
              • Neuste zuerst
              • Meiste Stimmen


              Support us

              ioBroker
              Community Adapters
              Donate

              708

              Online

              32.5k

              Benutzer

              81.7k

              Themen

              1.3m

              Beiträge
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
              ioBroker Community 2014-2025
              logo
              • Anmelden

              • Du hast noch kein Konto? Registrieren

              • Anmelden oder registrieren, um zu suchen
              • Erster Beitrag
                Letzter Beitrag
              0
              • Home
              • Aktuell
              • Tags
              • Ungelesen 0
              • Kategorien
              • Unreplied
              • Beliebt
              • GitHub
              • Docu
              • Hilfe