Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Gelöst] Error: Cannot find module 'node:os'

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Gelöst] Error: Cannot find module 'node:os'

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @apollon77 last edited by

      @apollon77 nodejs ist aber auf Stand. Fehlt ein Update der Deps im Adapter.

      apollon77 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @Thomas Braun last edited by

        @thomas-braun
        @jannis-0
        Aah ok, sehe ich jetzt das ihr das eigentlich issue gelöst habt. Ja bitte aktuelle Javsscript Adapter version installieren bzw neu installieren

        1 Reply Last reply Reply Quote 0
        • J
          Jannis 0 last edited by Jannis 0

          Yepp, hat geklappt: JS läuft nach Re-Installation wieder problemlos.
          Aber der BLE will immer noch nicht, obwohl er den Re-build bekommt:

          ble.0 2022-09-30 08:37:56.279	error	Terminating because A dependency requires a rebuild.
          
          host.iobroker 2022-09-30 08:36:23.448	info	iobroker npm-rebuild: Rebuilding native modules ...
          host.iobroker 2022-09-30 08:36:13.851	info	iobroker rebuild
          host.iobroker 2022-09-30 08:36:13.851	warn	adapter "ble" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
          host.iobroker 2022-09-30 08:36:13.850	info	system.adapter.ble.0 will be rebuilt
          host.iobroker 2022-09-30 08:36:13.850	info	Adapter system.adapter.ble.0 needs rebuild and will be restarted afterwards.
          host.iobroker 2022-09-30 08:36:13.849	info	instance system.adapter.ble.0 requested a rebuild of its dependencies and will be restarted after that is done.
          
          ble.0 2022-09-30 08:36:13.068	info	starting scanner process...
          ble.0 2022-09-30 08:36:13.046	info	monitoring all services
          ble.0 2022-09-30 08:36:13.045	info	enabled plugins: Xiaomi, mi-flora, _default
          ble.0 2022-09-30 08:36:13.044	info	loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
          ble.0 2022-09-30 08:36:12.977	info	starting. Version 0.13.0 in /opt/iobroker/node_modules/iobroker.ble, node: v16.17.1, js-controller: 4.0.23
          
          host.iobroker 2022-09-30 08:36:10.883	info	instance system.adapter.ble.0 started with pid 30495
          host.iobroker 2022-09-30 08:36:10.668	info	iobroker npm-rebuild: exit 0
          host.iobroker 2022-09-30 08:36:09.655	info	iobroker npm-rebuild: Rebuilding native modules done
          host.iobroker 2022-09-30 08:36:09.654	info	iobroker npm-rebuild:
          host.iobroker 2022-09-30 08:36:09.617	info	iobroker npm-rebuild: rebuilt dependencies successfully
          host.iobroker 2022-09-30 08:36:06.512	info	"system.adapter.ble.0" enabled
          

          und zusätzlich von mir händisch:

          iob rebuild ble
          

          hilft leider auch nicht 😞

          "...different version of Node.js..." macht mich nervös, ich habe ja extra node/nodejs gestern aufgeräumt?

          Glasfaser 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Jannis 0 last edited by

            @jannis-0 sagte in Error: Cannot find module 'node:os':

            Aber der BLE will immer noch nicht,

            https://forum.iobroker.net/post/863317

            J 1 Reply Last reply Reply Quote 0
            • J
              Jannis 0 @Glasfaser last edited by

              @glasfaser

              pi@iobroker:/opt/iobroker $ cd /opt/iobroker/node_modules/iobroker.ble
              pi@iobroker:/opt/iobroker/node_modules/iobroker.ble $ npm install --omit=dev
              
              added 79 packages, and audited 80 packages in 1m
              
              6 packages are looking for funding
                run `npm fund` for details
              
              found 0 vulnerabilities
              pi@iobroker:/opt/iobroker/node_modules/iobroker.ble $ sudo reboot
              

              BLE läuft wieder mit grün 🙂

              Dafür ist jetzt der NUT-Adapter für die USV weg?

              nut.0 2022-09-30 09:19:09.193	error	Error happend: Error: connect ECONNREFUSED 192.168.32.153:3493
              nut.0 2022-09-30 09:19:08.959	info	starting. Version 1.5.1 in /opt/iobroker/node_modules/iobroker.nut, node: v16.17.1, js-controller: 4.0.23
              nut.0 2022-09-30 09:19:03.334	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              nut.0 2022-09-30 09:19:03.331	info	terminating
              nut.0 2022-09-30 09:19:03.328	info	Got terminate signal TERMINATE_YOURSELF
              nut.0 2022-09-30 09:16:46.737	error	Error happend: Error: connect ECONNREFUSED 192.168.32.153:3493
              nut.0 2022-09-30 09:16:46.208	info	starting. Version 1.5.1 in /opt/iobroker/node_modules/iobroker.nut, node: v16.17.1, js-controller: 4.0.23
              

              und MI-Home auch:

              mihome-vacuum.0 2022-09-30 09:19:22.286	info	IOT enabled, create state
              mihome-vacuum.0 2022-09-30 09:19:22.201	info	starting. Version 3.4.2 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v16.17.1, js-controller: 4.0.23
              mihome-vacuum.0 2022-09-30 09:19:16.595	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              mihome-vacuum.0 2022-09-30 09:19:16.592	info	terminating
              mihome-vacuum.0 2022-09-30 09:19:16.589	error	Socket Close
              mihome-vacuum.0 2022-09-30 09:19:16.583	info	Got terminate signal TERMINATE_YOURSELF
              mihome-vacuum.0 2022-09-30 09:16:55.841	info	IOT enabled, create state
              mihome-vacuum.0 2022-09-30 09:16:55.694	info	starting. Version 3.4.2 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v16.17.1, js-controller: 4.0.23
              
              Glasfaser 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @Jannis 0 last edited by

                @jannis-0 sagte in Error: Cannot find module 'node:os':

                nut.0 2022-09-30 09:19:09.193 error Error happend: Error: connect ECONNREFUSED 192.168.32.153:3493

                Zu nut ... Verbindung abgelehnt .

                J 1 Reply Last reply Reply Quote 0
                • J
                  Jannis 0 @Glasfaser last edited by

                  @glasfaser Es war ein "einfaches" Rechte-Problem von /etc/nut/.

                  Danke euch allen: es läuft! = System wieder 1 Jahr nicht anfassen! 😜

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Jannis 0 last edited by

                    @jannis-0 sagte in [Gelöst] Error: Cannot find module 'node:os':

                    System wieder 1 Jahr nicht anfassen!

                    Dummer Ansatz.

                    J 1 Reply Last reply Reply Quote 1
                    • J
                      Jannis 0 @Thomas Braun last edited by

                      @thomas-braun Wieso denn? Ernst gemeint: was ist denn die Alternative? 🙂

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Jannis 0 last edited by

                        @jannis-0
                        Sein System regelmäßig vollständig auf aktuellen Stand halten natürlich.

                        Regelmäßig bedeutet hier nicht einmal im Jahr zu Weihnachten.

                        1 Reply Last reply Reply Quote 1
                        • J
                          Jannis 0 last edited by

                          @thomas-braun Ach so, nö. Aktualisierungen kommen schon unterjährig rein 🙂

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate
                          FAQ Cloud / IOT
                          HowTo: Node.js-Update
                          HowTo: Backup/Restore
                          Downloads
                          BLOG

                          883
                          Online

                          32.0k
                          Users

                          80.5k
                          Topics

                          1.3m
                          Posts

                          5
                          20
                          1776
                          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