Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [Gelöst] Nach Update: Error: Cannot find module

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • xxx_turbo_xxx
      xxx_turbo_xxx last edited by 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 Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @xxx_turbo_xxx last edited by

        @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 2 Replies Last reply Reply Quote 0
        • xxx_turbo_xxx
          xxx_turbo_xxx @Thomas Braun last edited by

          @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 Reply Last reply Reply Quote 0
          • xxx_turbo_xxx
            xxx_turbo_xxx @Thomas Braun last edited by

            @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
            
            
            mikeal created this issue in request/request

            open Request’s Past, Present and Future #3142

            Homoran 1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @xxx_turbo_xxx last edited by

              @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 1 Reply Last reply Reply Quote 0
              • xxx_turbo_xxx
                xxx_turbo_xxx @Homoran last edited by

                @homoran und schwups... da isser wieder 🙂

                Vielen Dank!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Support us

                ioBroker
                Community Adapters
                Donate

                830
                Online

                31.7k
                Users

                79.8k
                Topics

                1.3m
                Posts

                error nodurle not found
                3
                6
                3109
                Loading More Posts
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes
                Reply
                • Reply as topic
                Log in to reply
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                The ioBroker Community 2014-2023
                logo