Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Fehler bei Versuch, mongodb aus npm zu löschen

    NEWS

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    [gelöst] Fehler bei Versuch, mongodb aus npm zu löschen

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

      @latzi
      Nimm mal xml2js aus dem Spiel.

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

        @thomas-braun
        leider geht das auch nicht, gleicher Fehler beim Versuch npm uninstall xml2js:

        pi@Pi4-Server:/opt/iobroker $ npm uninstall xml2js
        npm ERR! code ELOOP
        npm ERR! syscall open
        npm ERR! path /opt/iobroker/node_modules/xml2js/package.json
        npm ERR! errno -40
        npm ERR! ELOOP: too many symbolic links encountered, open '/opt/iobroker/node_modules/xml2js/package.json'
        
        

        Hier das node_modules-Verzeichnis bezüglich xml2js:

        pi@Pi4-Server:/opt/iobroker/node_modules $ ls -la|grep xml2js
        lrwxrwxrwx     1 iobroker iobroker     6 Apr 16  2021 xml2js -> xml2js
        drwxrwxr-x+    2 iobroker iobroker  4096 Mai 12  2020 xml2json-light
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Latzi last edited by

          @latzi sagte in Fehler bei Versuch, mongodb aus npm zu löschen:

          xml2js

          Lösch den Link mal. Das ist der Loop.

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

            @thomas-braun
            Der Loop ist weg, doch das Löschen funktioniert nicht, jetzt fehlt xml2js:

            pi@Pi4-Server:/opt/iobroker $ npm uninstall mongodb
            npm ERR! code ENOLOCAL
            npm ERR! Could not install from "node_modules/xml2js" as it does not contain a package.json file.
            
            

            Soll ich xml2js installieren und nochmal versuchen?

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

              @latzi
              Ja, versuch mal.

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

                @thomas-braun
                läuft leider nicht, keine Ahnung warum!

                pi@Pi4-Server:/opt/iobroker $ npm install xml2js
                npm ERR! code ENOLOCAL
                npm ERR! Could not install from "node_modules/xml2js" as it does not contain a package.json file.
                
                
                1 Reply Last reply Reply Quote 0
                • Latzi
                  Latzi last edited by

                  Jetzt hab ich mal ganz frech versucht, mongodb zu installieren, da bekomme ich folgendes:

                  pi@Pi4-Server:/opt/iobroker $ npm install mongodb
                  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_modules/osx-temperature-sensor):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                  npm WARN http-cookie-agent@1.0.4 requires a peer of tough-cookie@^4.0.0 but none is installed. You must install peer dependencies yourself.
                  npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
                  
                  + mongodb@4.4.0
                  added 12 packages from 13 contributors, removed 2 packages and updated 2 packages in 58.654s
                  
                  149 packages are looking for funding
                    run `npm fund` for details
                  
                  

                  Löschen funktioniert trotzdem nicht 😞

                  pi@Pi4-Server:/opt/iobroker $ npm uninstall mongodb
                  npm ERR! code ENOLOCAL
                  npm ERR! Could not install from "node_modules/xml2js" as it does not contain a package.json file.
                  
                  
                  apollon77 1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 @Latzi last edited by

                    @latzi Köasch mal das xml2js verzeichnis .. Wie schon im anderen Thread gesagt, ggf falls Adapter danach nicht tun die neu installieren

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

                      @apollon77
                      hab ich schon, hilft leider nicht 😞

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

                        @latzi Wie ändern sich dann meldugen? Weill Wenns nicht mehr da ist kann er nicht meckern

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

                          @apollon77
                          Der Loop ist weg (nach dem Löschen von xml2js-Verzeichnis), doch das Löschen von mongodb funktioniert nicht, jetzt fehlt xml2js:

                          pi@Pi4-Server:/opt/iobroker $ npm uninstall mongodb
                          npm ERR! code ENOLOCAL
                          npm ERR! Could not install from "node_modules/xml2js" as it does not contain a package.json file.
                          
                          apollon77 1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 @Latzi last edited by

                            @latzi er meckert das Verzeichnis an trotz das du es gelöscht hast ?

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

                              @apollon77
                              Ja, seltsam oder?

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

                                @latzi dann fällt mir nur noch eins ein. Lösche das mongodb Verzeichnis manuell und danach ggf „npm prune“ ausführen. Der sollte aufräumen 😉

                                Falls alles blöd ist dann Node_modules komplett löschen. Den js-Controller manuell installieren und dan man starten. Dann wird alles neu frisch installiert

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

                                  @apollon77
                                  👏 👏 👏
                                  Das war´s , schaut gut aus!
                                  Vielen Dank Ingo!!!

                                  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

                                  966
                                  Online

                                  32.2k
                                  Users

                                  80.9k
                                  Topics

                                  1.3m
                                  Posts

                                  npm npm fehler
                                  3
                                  16
                                  666
                                  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