Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. npm Fehlermeldung

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    npm Fehlermeldung

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

      @thomas-braun Sorry jetzt aber...

      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @MyMeyer last edited by

        @mymeyer sagte in npm Fehlermeldung:

        @thomas-braun Sorry jetzt aber...

        ???

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

          @mymeyer

          Die ganzen

          invalid: "https://github.com/

          Einträge deuten auf eine verschobene npm-Struktur hin.
          Installier mal einen der dort genannten Adapter ordentlich, d.h. nicht als GitHub-Installation.

          M 1 Reply Last reply Reply Quote 0
          • M
            MyMeyer last edited by Homoran

            @thomas-braun ich habe jetzt mal alle mit Fehler neuinstalliert "nicht über Git". Nun sagt Diag das:

             2024-11-09 20:41:31.387  - error: host.iobroker instance system.adapter.blink4home.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
            2024-11-09 20:41:31.387  - info: host.iobroker Restart adapter system.adapter.blink4home.0 because enabled
            2024-11-09 20:42:01.669  - info: host.iobroker instance system.adapter.blink4home.0 in version "0.1.1" started with pid 3864381
            2024-11-09 20:42:02.189  - error: host.iobroker Caught by controller[0]: /opt/iobroker/node_modules/iobroker.blink4home/main.js:24
            2024-11-09 20:42:02.190  - error: host.iobroker Caught by controller[0]: 		this.log.debug('begin setup adapter');
            2024-11-09 20:42:02.190  - error: host.iobroker Caught by controller[0]: 		         ^
            2024-11-09 20:42:02.190  - error: host.iobroker Caught by controller[0]: TypeError: Cannot read properties of undefined (reading 'debug')
            2024-11-09 20:42:02.190  - error: host.iobroker Caught by controller[0]:     at new Blink4home (/opt/iobroker/node_modules/iobroker.blink4home/main.js:24:12)
            2024-11-09 20:42:02.190  - error: host.iobroker Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.blink4home/main.js:235:2)
            2024-11-09 20:42:02.190  - error: host.iobroker Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/loader:1469:14)
            2024-11-09 20:42:02.190  - error: host.iobroker Caught by controller[0]:     at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
            2024-11-09 20:42:02.190  - error: host.iobroker Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1288:32)
            2024-11-09 20:42:02.190  - error: host.iobroker Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:1104:12)
            2024-11-09 20:42:02.190  - error: host.iobroker Caught by controller[0]:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
            2024-11-09 20:42:02.190  - error: host.iobroker Caught by controller[0]:     at node:internal/main/run_main_module:28:49
            2024-11-09 20:42:02.190  - error: host.iobroker Caught by controller[0]: Node.js v20.18.0
            2024-11-09 20:42:02.190  - error: host.iobroker instance system.adapter.blink4home.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
            2024-11-09 20:42:02.190  - info: host.iobroker Restart adapter system.adapter.blink4home.0 because enabled
            2024-11-09 20:42:04.007  - info: host.iobroker instance system.adapter.labcom.0 in version "0.1.4" started with pid 3864665
            2024-11-09 20:42:05.124  - info: labcom.0 (3864665) starting. Version 0.1.4 in /opt/iobroker/node_modules/iobroker.labcom, node: v20.18.0, js-controller: 6.0.11
            2024-11-09 20:42:05.132  - info: labcom.0 (3864665) LabCom adapter - started
            2024-11-09 20:42:05.354  - info: labcom.0 (3864665) LabCom adapter - fetching data completed
            2024-11-09 20:42:05.355  - info: labcom.0 (3864665) cleaned everything up...
            2024-11-09 20:42:05.359  - info: labcom.0 (3864665) Terminated (NO_ERROR): Without reason
            2024-11-09 20:42:05.870  - info: host.iobroker instance system.adapter.labcom.0 having pid 3864665 terminated with code 0 (NO_ERROR)
            

            MOD-EDIT: Code in code-tags gesetzt!

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

              @thomas-braun sagte in npm Fehlermeldung:

              @mymeyer

              Die ganzen

              invalid: "https://github.com/

              Einträge deuten auf eine verschobene npm-Struktur hin.
              Installier mal einen der dort genannten Adapter ordentlich, d.h. nicht als GitHub-Installation.

              Sach wie kann denn sowas passieren das sich die Struktur verschoben hat ? Habe eigentlich nichts grosses in letzter Zeit gemacht außer die Update. Selbst das deinstallieren von den Adapter geht nicht mehr. Auch manuell nicht.
              Was kann man jetzt machen ? Neuinstallation ?

              michael@iobroker:/opt/iobroker$ iob del egigeozone
              Delete adapter "egigeozone"
              host.iobroker object egigeozone deleted
              host.iobroker object egigeozone.admin deleted
              host.iobroker Deleting 1 object(s).
              Error deleting adapter egigeozone from disk: Cannot find module 'iobroker.egigeozone/io-package.json'
              Require stack:
              - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/esm/lib/setup/setupInstall.js
              You might have to delete it yourself!
              michael@iobroker:/opt/iobroker$
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @MyMeyer last edited by

                @mymeyer sagte in npm Fehlermeldung:

                Sach wie kann denn sowas passieren das sich die Struktur verschoben hat ?

                Durch übermäßige Verwendung von GitHub-Installationen...

                Wie schaut denn nun

                cd /opt/iobroker && npm ls
                

                aus?

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

                  @thomas-braun

                  michael@iobroker:/opt/iobroker$ cd /opt/iobroker && npm ls
                  [sudo] Passwort f�r michael: 
                  iobroker.inst@1.1.2 /opt/iobroker
                  +-- @iobroker-javascript.0/country-list-js@npm:country-list-js@3.1.8
                  +-- @iobroker-javascript.0/exec@npm:exec@0.2.1
                  +-- @iobroker-javascript.0/ffmpeg@npm:ffmpeg@0.0.4
                  +-- @iobroker-javascript.0/fs@npm:fs@0.0.1-security
                  +-- @iobroker-javascript.0/node-hue-api@npm:node-hue-api@5.0.0-beta.16
                  +-- @iobroker-javascript.0/require@npm:require@2.4.20
                  +-- @iobroker-javascript.0/simple-ssh@npm:simple-ssh@1.1.1
                  +-- @iobroker-javascript.0/suncalc@npm:suncalc@1.9.0
                  +-- iobroker.adguard@0.0.8
                  +-- iobroker.admin@7.1.5
                  +-- iobroker.alarm@3.6.2
                  +-- iobroker.alexa2@3.26.5
                  +-- iobroker.alias-manager@1.2.6
                  +-- iobroker.apsystems-ecu@0.2.1 invalid: "github:npeter/ioBroker.apsystems-ecu#9d583384f1d72f0147fde2abcd67d4e9281b7347" from the root project
                  +-- iobroker.backitup@3.0.25
                  +-- iobroker.binance@1.1.3 invalid: "github:Kartax/ioBroker.binance#54f362ef6e0775d7cd696a3dff701e2dd6de2404" from the root project
                  +-- iobroker.blink4home@0.1.1 invalid: "https://github.com/Flashy-GER/ioBroker.blink4home/tarball/37aaf54baf0ac76931d00a71459bcb4e47d96b43" from the root project
                  +-- iobroker.bosch-ebike@0.1.7 invalid: "github:TA2k/ioBroker.bosch-ebike" from the root project
                  +-- iobroker.broadlink@0.1.5 invalid: "https://github.com/hieblmedia/ioBroker.broadlink/tarball/master" from the root project
                  +-- iobroker.broadlink2@2.3.0
                  +-- iobroker.cloud@5.0.1
                  +-- iobroker.daswetter@3.1.16
                  +-- iobroker.egigeozone2@1.0.6
                  +-- iobroker.energiefluss@3.6.1
                  +-- iobroker.feiertage@1.2.0
                  +-- iobroker.flot@1.12.0
                  +-- iobroker.fritzbox@0.6.0
                  +-- iobroker.fully-tablet-control@0.3.3-beta.0 invalid: "https://github.com/xXBJXx/ioBroker.fully-tablet-control/tarball/e8c40673053e31ce4621d33e3ad38bcaae6b452d" from the root project
                  +-- iobroker.fullybrowser@3.0.12
                  +-- iobroker.heatingcontrol@2.12.10
                  +-- iobroker.hm-rega@5.1.0
                  +-- iobroker.hm-rpc@2.0.2
                  +-- iobroker.hue@3.12.0
                  +-- iobroker.ical@1.15.0
                  +-- iobroker.icons-addictive-flavour-png@0.1.0
                  +-- iobroker.icons-fatcow-hosting@0.1.0
                  +-- iobroker.icons-icons8@0.0.1
                  +-- iobroker.icons-material-png@0.1.0
                  +-- iobroker.icons-material-svg@0.1.0
                  +-- iobroker.icons-mfd-png@1.2.1
                  +-- iobroker.icons-mfd-svg@1.2.0
                  +-- iobroker.icons-open-icon-library-png@0.1.2
                  +-- iobroker.icons-ultimate-png@1.0.1
                  +-- iobroker.influxdb@4.0.2
                  +-- iobroker.iot@3.3.0
                  +-- iobroker.javascript@8.8.3
                  +-- iobroker.js-controller@6.0.11
                  +-- iobroker.labcom@0.1.4 invalid: "github:100prznt/ioBroker.labcom#2cbc14b6c33d01fcc29003e3648fcb0c4d917f75" from the root project
                  +-- iobroker.landroid@1.0.3
                  +-- iobroker.lgtv11@1.0.5
                  +-- iobroker.life360@0.2.22 invalid: "github:MiGoller/ioBroker.life360#23166aab1b2e36d917a9b7b480d9faa7f73ca2d1" from the root project
                  +-- iobroker.linkeddevices@1.5.5
                  +-- iobroker.linux-control@1.1.5
                  +-- iobroker.logparser@2.2.2
                  +-- iobroker.mihome-vacuum@4.2.0
                  +-- iobroker.mihome@1.4.0
                  +-- iobroker.modbus@6.3.2
                  +-- iobroker.mqtt@6.1.2
                  +-- iobroker.nina@0.0.25
                  +-- iobroker.nuki-extended@2.7.0
                  +-- iobroker.nuki@2.0.0
                  +-- iobroker.nut@1.6.0
                  +-- iobroker.octoprint@5.1.0
                  +-- iobroker.opendtu@2.0.0
                  +-- iobroker.ph803w@1.2.0
                  +-- iobroker.primelab@1.0.2 invalid: "github:Apollon77/iobroker.primelab#95f1af76d05d464b08b8ee3cb40ceb2b20d778d3" from the root project
                  +-- iobroker.pvforecast@3.0.0
                  +-- iobroker.repetierserver@0.0.3 invalid: "https://github.com/Baumert7269/ioBroker.repetierserver/tarball/256b927316a6394475c990026b7ce27c5d32abe8" from the root project
                  +-- iobroker.ring@5.1.0
                  +-- iobroker.scenes@3.2.3
                  +-- iobroker.shelly@8.2.1
                  +-- iobroker.shuttercontrol@1.8.3
                  +-- iobroker.simple-api@2.8.0
                  +-- iobroker.smartcontrol@2.0.1
                  +-- iobroker.socketio@6.7.1
                  +-- iobroker.sonoff@3.1.2
                  +-- iobroker.sourceanalytix@0.4.15-alpha.1 invalid: "github:DrozmotiX/ioBroker.sourceanalytix#fd3b7f9f362a348741cbe18d70a130d2bfee6727" from the root project
                  +-- iobroker.synology@3.1.0
                  +-- iobroker.telegram@3.9.0
                  +-- iobroker.terminal@1.0.0
                  +-- iobroker.tr-064@4.3.0
                  +-- iobroker.tuya@3.16.0
                  +-- iobroker.unifi@0.7.0
                  +-- iobroker.vis-bars@0.1.4
                  +-- iobroker.vis-colorpicker@2.0.3
                  +-- iobroker.vis-fancyswitch@1.1.0
                  +-- iobroker.vis-google-fonts@1.0.4
                  +-- iobroker.vis-hqwidgets@1.5.1
                  +-- iobroker.vis-jqui-mfd@1.1.1
                  +-- iobroker.vis-justgage@2.1.0
                  +-- iobroker.vis-map@1.1.2
                  +-- iobroker.vis-material@0.1.3
                  +-- iobroker.vis-materialdesign@0.5.94 invalid: "github:Scrounger/ioBroker.vis-materialdesign#8b7529d493f223dfc4f1d1f632553fcb35bbcc92" from the root project
                  +-- iobroker.vis-metro@1.2.0
                  +-- iobroker.vis-players@0.1.6
                  +-- iobroker.vis-plumb@1.0.2
                  +-- iobroker.vis-rgraph@0.0.2
                  +-- iobroker.vis-timeandweather@1.2.2
                  +-- iobroker.vis@1.5.6
                  +-- iobroker.wallpanel@0.3.11
                  +-- iobroker.weatherunderground@3.7.0
                  +-- iobroker.web@6.2.5
                  +-- iobroker.wireguard@1.7.0
                  +-- iobroker.wled@0.7.2
                  +-- iobroker.worx@3.1.0 invalid: "github:iobroker-community-adapters/ioBroker.worx" from the root project
                  +-- iobroker.ws@2.6.2
                  +-- iobroker.zigbee@1.10.10 invalid: "github:ioBroker/ioBroker.zigbee#fedc314a875044c84ff790a19dfd42d7373bb61e" from the root project
                  `-- zigbee2mqtt@1.27.0 invalid: "github:Koenkk/zigbee2mqtt#a9b8808237554316c5c97e9d9c990048733779e8" from the root project
                  
                  npm error code ELSPROBLEMS
                  npm error invalid: iobroker.apsystems-ecu@0.2.1 /opt/iobroker/node_modules/iobroker.apsystems-ecu
                  npm error invalid: iobroker.binance@1.1.3 /opt/iobroker/node_modules/iobroker.binance
                  npm error invalid: iobroker.blink4home@0.1.1 /opt/iobroker/node_modules/iobroker.blink4home
                  npm error invalid: iobroker.bosch-ebike@0.1.7 /opt/iobroker/node_modules/iobroker.bosch-ebike
                  npm error invalid: iobroker.broadlink@0.1.5 /opt/iobroker/node_modules/iobroker.broadlink
                  npm error invalid: iobroker.fully-tablet-control@0.3.3-beta.0 /opt/iobroker/node_modules/iobroker.fully-tablet-control
                  npm error invalid: iobroker.labcom@0.1.4 /opt/iobroker/node_modules/iobroker.labcom
                  npm error invalid: iobroker.life360@0.2.22 /opt/iobroker/node_modules/iobroker.life360
                  npm error invalid: iobroker.primelab@1.0.2 /opt/iobroker/node_modules/iobroker.primelab
                  npm error invalid: iobroker.repetierserver@0.0.3 /opt/iobroker/node_modules/iobroker.repetierserver
                  npm error invalid: iobroker.sourceanalytix@0.4.15-alpha.1 /opt/iobroker/node_modules/iobroker.sourceanalytix
                  npm error invalid: iobroker.vis-materialdesign@0.5.94 /opt/iobroker/node_modules/iobroker.vis-materialdesign
                  npm error invalid: iobroker.worx@3.1.0 /opt/iobroker/node_modules/iobroker.worx
                  npm error invalid: iobroker.zigbee@1.10.10 /opt/iobroker/node_modules/iobroker.zigbee
                  npm error invalid: zigbee2mqtt@1.27.0 /opt/iobroker/node_modules/zigbee2mqtt
                  npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-11-09T20_47_47_845Z-debug-0.log
                  michael@iobroker:/opt/iobroker$ 
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @MyMeyer last edited by

                    @mymeyer

                    Joh...
                    Siehste selber, oder?
                    Installier alle Adapter bei denen das möglich ist eine Version aus einem Repo, NICHT aus GitHub.
                    Warum haste da eigentlich so viel Alpha-Versions-Zeuch drin? Hast du das alles vom Maintainer zum testen gegeben bekommen? Wenn nein, fahr da stabile Versionen.

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

                      @thomas-braun
                      Kann ich dir gar nicht sagen. Habe vor 3 -4 Jahren angefangen mit iob. Da versucht man schon einiges 🙂 Ich werde mir mal die Tage gedanken machen wie ich die Sache angehe.

                      Vielleicht einfach mal bei NULL anfangen und das rüber holen was so geht.

                      Danke Dir erstmal und schönen Abend noch...

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

                        @mymeyer

                        Sauber muss das so aussehen:

                        echad@chet:~ $ cd /opt/iobroker/ && npm ls
                        (node:50931) ExperimentalWarning: CommonJS module /usr/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /usr/lib/node_modules/npm/node_modules/supports-color/index.js using require().
                        Support for loading ES Module in require() is an experimental feature and might change at any time
                        (Use `node --trace-warnings ...` to show where the warning was created)
                        iobroker.inst@3.0.0 /opt/iobroker
                        ├── iobroker.admin@7.2.6
                        ├── iobroker.alexa2@3.26.7
                        ├── iobroker.alias-manager@2.0.0
                        ├── iobroker.awtrix-light@1.3.0
                        ├── iobroker.backitup@3.0.26
                        ├── iobroker.cloud@5.0.1
                        ├── iobroker.devices@1.1.5
                        ├── iobroker.drops-weather@0.3.1 (git+ssh://git@github.com/inbux/ioBroker.drops-weather.git#608ed1fcbbde3f59b6a09f2f188b92823481ae90)
                        ├── iobroker.echarts@1.9.2
                        ├── iobroker.firetv@2.1.0
                        ├── iobroker.followthesun@0.5.1
                        ├── iobroker.govee-app@0.0.6 (git+ssh://git@github.com/TA2k/ioBroker.govee-app.git#6a0f84cfb34eb3a0ca647c7a519b9d5a48ccfb85)
                        ├── iobroker.govee-local@0.2.7
                        ├── iobroker.history@3.0.1
                        ├── iobroker.ical@1.16.1
                        ├── iobroker.iceroad@1.2.1
                        ├── iobroker.iot@3.4.3
                        ├── iobroker.javascript@8.8.3
                        ├── iobroker.js-controller@7.0.2
                        ├── iobroker.kisshome-research@1.1.1
                        ├── iobroker.midea@0.1.0 (git+ssh://git@github.com/TA2k/ioBroker.midea.git#0d037c0c9a025b193546f881f747c8f998bfc724)
                        ├── iobroker.mihome-cloud@0.1.1
                        ├── iobroker.mihome-vacuum@4.2.0
                        ├── iobroker.mihome@1.4.0
                        ├── iobroker.mqtt@6.1.2
                        ├── iobroker.nina@0.0.26
                        ├── iobroker.notification-manager@1.3.0
                        ├── iobroker.nuki-extended@2.7.0
                        ├── iobroker.nuki@2.0.0
                        ├── iobroker.nut@1.6.0
                        ├── iobroker.opendtu@3.0.1
                        ├── iobroker.openweathermap@1.1.2
                        ├── iobroker.parcel@0.2.8
                        ├── iobroker.sainlogic@0.11.4
                        ├── iobroker.samsung_tizen@1.1.0
                        ├── iobroker.samsung@0.6.1 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.samsung.git#43d8a6ef3b5af0d6dfe276870f560353d52d0838)
                        ├── iobroker.simple-api@2.8.0
                        ├── iobroker.switchbot-hub@0.1.2 (git+ssh://git@github.com/DrozmotiX/ioBroker.switchbot-hub.git#7a05fa59dfc5e3ce8d73018badc4e420996452f8)
                        ├── iobroker.tado@0.6.1
                        ├── iobroker.tankerkoenig@3.4.0
                        ├── iobroker.tr-064@4.3.0
                        ├── iobroker.tradfri@3.1.3
                        ├── iobroker.trashschedule@3.4.0
                        ├── iobroker.tuya@3.16.0
                        ├── iobroker.weather-warnings@0.6.7
                        ├── iobroker.web@6.3.1
                        ├── iobroker.whatsapp-cmb@0.3.0
                        └── iobroker.zigbee@1.10.12
                        
                        echad@chet:/opt/iobroker $
                        

                        Adapter aus dem GitHub sind nicht invalid und es gibt lediglich Einträge in der Form iobroker.adaptername@1.2.3

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

                        Support us

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

                        935
                        Online

                        31.6k
                        Users

                        79.5k
                        Topics

                        1.3m
                        Posts

                        install install adapter update npm err
                        3
                        17
                        463
                        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