Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Update nicht möglich / Error: Cannot find module

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Update nicht möglich / Error: Cannot find module

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      thorkillar last edited by

      jetzt ist schon etwas mehr passiert 🙂

      sudo npm install iobroker.js-controller --production
      sudo: Hostname buanet-iobroker1 kann nicht aufgelöst werden

      iobroker.js-controller@2.2.9 preinstall /opt/iobroker/node_modules/iobroker.js-controller
      node lib/preinstallCheck.js

      NPM version: 6.13.4

      node-bluetooth@1.2.6 install /opt/iobroker/node_modules/node-bluetooth
      node-gyp configure build

      make: Verzeichnis „/opt/iobroker/node_modules/node-bluetooth/build“ wird betreten
      CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o
      CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o
      ../src/linux/DeviceINQ.cc:35:37: fatal error: bluetooth/bluetooth.h: Datei oder Verzeichnis nicht gefunden
      #include <bluetooth/bluetooth.h>
      ^
      compilation terminated.
      BluetoothSerialPort.target.mk:109: die Regel für Ziel „Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o“ scheiterte
      make: *** [Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Fehler 1
      make: Verzeichnis „/opt/iobroker/node_modules/node-bluetooth/build“ wird verlassen
      gyp ERR! build error
      gyp ERR! stack Error: make failed with exit code: 2
      gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)
      gyp ERR! stack at ChildProcess.emit (events.js:198:13)
      gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
      gyp ERR! System Linux 4.4.59+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
      gyp ERR! cwd /opt/iobroker/node_modules/node-bluetooth
      gyp ERR! node -v v10.19.0
      gyp ERR! node-gyp -v v5.0.5
      gyp ERR! not ok

      gyp ERR! node-gyp -v v5.0.5
      gyp ERR! not ok

      iobroker.js-controller@2.2.9 install /opt/iobroker/node_modules/iobroker.js-controller
      node iobroker.js setup first

      object 0_userdata.0.example_state created
      113 file(s) successfully synchronized with ioBroker storage.
      Please DO NOT copy files manually into ioBroker storage directories!

      The following notifications happened during sync:

      • Ignoring Directory "sayit.0" because officially not created as meta object. Please remove directory!
      • Ignoring Directory "tr-064-community.admin" because officially not created as meta object. Please remove directory!
      • Added 113 Files in Directory "vis.0"
      • Ignoring Directory "vis.0Test_Vis2_Test" because officially not created as meta object. Please remove directory!

      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/body-parser/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/express/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/express-session/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/finalhandler/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/send/package.json'
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 (node_modules/node-bluetooth):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 install: node-gyp configure build
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

      • iobroker.js-controller@2.2.9
        added 5 packages from 4 contributors, removed 140 packages and updated 21 packages in 89.982s

      9 packages are looking for funding
      run npm fund for details

      ╭────────────────────────────────────────────────────────────────╮
      │ │
      │ New minor version of npm available! 6.13.4 → 6.14.4 │
      │ Changelog: https://github.com/npm/cli/releases/tag/v6.14.4 │
      │ Run npm install -g npm to update! │
      │ │
      ╰────────────────────────────────────────────────────────────────╯

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

        @thorkillar

        so jetzt :

        cd /opt/iobroker
        
        iobroker version
        
        T 1 Reply Last reply Reply Quote 0
        • T
          thorkillar @Glasfaser last edited by

          @Glasfaser sagte in Update nicht möglich / Error: Cannot find module:

          cd /opt/iobroker

          a5f680b6-022c-4617-925b-026b0178c184-image.png

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

            @thorkillar

            Da ist ja ganz schön etwas vermurkst !

            node-forge , habe ich noch nie gehört , ich suche mal !

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

              @Glasfaser danke für deine Hilfe. ich warte.

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

                @thorkillar

                Hast du den Adapter NODE-RED ?

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

                  Ich bin mir nicht sicher. Ich glaube, ich hatte es zu testzwecken mal installiert und danach deinstalliert.

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

                    @thorkillar

                    versuche erstmal ohne sudo

                    cd /opt/iobroker
                    npm install node-forge
                    
                    T 1 Reply Last reply Reply Quote 0
                    • T
                      thorkillar @Glasfaser last edited by

                      @Glasfaser sagte in Update nicht möglich / Error: Cannot find module:

                      cd /opt/iobroker
                      npm install node-forge

                      335eb0d5-7680-48aa-8b71-694d64e2ed84-image.png
                      08c3ed77-24a7-44db-b9ef-0c014a8e8cf2-image.png

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

                        @thorkillar

                        dann mit sudo davor

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

                          @Glasfaser 4a87c8d0-4432-4d4d-95a8-201ecd00844c-image.png

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

                            @thorkillar

                            cd /opt/iobroker
                            
                            iobroker version
                            
                            1 Reply Last reply Reply Quote 0
                            • T
                              thorkillar last edited by

                              @Glasfaser sagte in Update nicht möglich / Error: Cannot find module:

                              cd /opt/iobroker

                              iobroker version

                              8ca1bfcb-fb18-4501-b2d6-3edfc99bdf66-image.png

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

                                @thorkillar

                                Ich verstehe nicht warum du immer Rechte Probleme hast !?

                                Ist schon vorher mal was , gewesen !????

                                1 Reply Last reply Reply Quote 0
                                • haselchen
                                  haselchen Most Active last edited by

                                  @Glasfaser

                                  Meinste er sollte mal ein
                                  apt-get update
                                  apt-get upgrade

                                  versuchen.
                                  Evtl. kriegt er das System so wieder hin.

                                  Glasfaser 1 Reply Last reply Reply Quote 0
                                  • T
                                    thorkillar last edited by

                                    glaube nicht. ist mir zuvor nie aufgefallen. sonst sind die update einfach durchgeflaufen.

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

                                      @haselchen

                                      Ich finde nur die Rechte Probleme komisch !

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

                                        @thorkillar

                                        Führe mal das durch was @haselchen dir angibt .

                                        und dann nochmal den Fixer rüber bügeln

                                        1 Reply Last reply Reply Quote 0
                                        • haselchen
                                          haselchen Most Active @Glasfaser last edited by

                                          @Glasfaser

                                          Stimmt. Normal ist man schon "sudo" im Docker/Container.
                                          Aber beim Container macht es nicht viel Sinn rumzudoktorn.
                                          Normal mountet man den iobroker Ordner,kopiert ihn und spielt den wieder zurück bei Problemen.
                                          Das dauert Sekunden und ist der Vorteil vom Container.

                                          Glasfaser T 2 Replies Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser @haselchen last edited by

                                            @haselchen

                                            Richtig .... Plug and Play 🙂

                                            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

                                            415
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            cannot find module iobroker update
                                            4
                                            114
                                            9281
                                            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