Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Diskussionsthread Probleme mit externer Bibliothek

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Diskussionsthread Probleme mit externer Bibliothek

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

      Ich habe leider nur ein Bild tut mir leid. Habe gestern den JS Controller von 3.3.21 (glaube ich) auf JS 3.3.22 aktualisiert.
      Ich glaube ich bin verschon geblieben 🙂

      8f2f14e2-ca18-4aaa-bd6a-2888314ad0c2-grafik.png

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

        @fefi Hi, magst du mal mit mir versuchen zu fixen? :-)) (Und ja bist versuchkanienchen, also mach ein iob backup vorher, wobei ich denke das das Risiko nicht sooo gross ist.

        • Beende mal iobroker
        • cd /opt/iobroker
        • npm i iobroker@js-controller@3.3.22
        • npm i iobroker.javascript@5.2.13

        Die Befehle installieren einfach die Pakete nochmal neu die du schon hast ... wenn meine Annahmen richtig sind sollte sich dadurch das Problem beheben.

        Und dann mal ein neues npm ls colors

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

          @basti97 sagte in Diskussionsthread Probleme mit externer Bibliothek:

          Ich glaube ich bin verschon geblieben

          ja! Die beschädigte Version ist größer/höher als 1.4.0, die du hast

          Basti97 1 Reply Last reply Reply Quote 0
          • Basti97
            Basti97 Most Active @Homoran last edited by

            @homoran super nochmal Glück gehabt. Wollte heute mein letzten Slave aktualisieren. Aber nun lasse ich es erst mal.

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

              @apollon77

              iobroker@iobroker:/opt/iobroker $ npm i iobroker@js-controller@3.3.22
              npm ERR! code EINVALIDTAGNAME
              npm ERR! Invalid tag name "js-controller@3.3.22": Tags may not have any characters that encodeURIComponent encodes.
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2022-01-10T12_40_27_199Z-debug.log
              

              Liegt das Problem bei mir?

              Glasfaser apollon77 2 Replies Last reply Reply Quote 1
              • Glasfaser
                Glasfaser @Fefi last edited by

                @fefi sagte in Diskussionsthread Probleme mit externer Bibliothek:

                Liegt das Problem bei mir?

                Nein , Handy Tippfehler . gegen @

                npm i iobroker.js-controller@3.3.22
                
                1 Reply Last reply Reply Quote 1
                • F
                  Fefi last edited by

                  iobroker@iobroker:/opt/iobroker $ npm ls colors                  iobroker.inst@3.0.0 /opt/iobroker
                  └─┬ iobroker.js-controller@3.3.22
                    ├─┬ prompt@1.2.1
                    │ ├── colors@1.4.0
                    │ └─┬ winston@2.4.5
                    │   └── colors@1.0.3
                    └─┬ winston@3.3.4
                      └─┬ logform@2.3.2
                        └── colors@1.4.0
                  

                  Ich würde sagen Es geht.

                  apollon77 1 Reply Last reply Reply Quote 1
                  • apollon77
                    apollon77 @Fefi last edited by

                    @fefi Coool, dann bist du "errettet" :-)) ich füge es oben hinzu

                    1 Reply Last reply Reply Quote 2
                    • apollon77
                      apollon77 @Fefi last edited by

                      @fefi Fixed oben. Danke!

                      1 Reply Last reply Reply Quote 0
                      • crunchip
                        crunchip Forum Testing Most Active @apollon77 last edited by

                        @apollon77 sagte in Diskussionsthread Probleme mit externer Bibliothek:

                        Offtopic, aber:

                        hier dann auch? https://github.com/nisiode/ioBroker.iogo/blob/master/package.json

                        apollon77 1 Reply Last reply Reply Quote 0
                        • S
                          Siggi0904 last edited by

                          Ich habe die Version 1.3.3 von colors.

                          Ich hatte es auf Golem gelesen, dass durch den Entwickler die Pakete Faker und Colors zerstört wurden. Scheinbar wollte er nur auf ein Problem hinweisen.
                          Link: https://www.golem.de/news/open-source-entwickler-sabotiert-eigene-vielfach-genutzte-npm-pakete-2201-162299.html

                          Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Siggi0904 last edited by

                            @siggi0904 sagte in Diskussionsthread Probleme mit externer Bibliothek:

                            Ich habe die Version 1.3.3 von colors.

                            Nur einmal im System? Das Modul wird eigentlich von ganz vielen Adaptern verwendet.

                            S apollon77 2 Replies Last reply Reply Quote 0
                            • S
                              Siggi0904 @Thomas Braun last edited by

                              @thomas-braun Ja, ist mehrfach da.
                              Wäre die Frage, ob man auch npm-Pakete manuell updaten muss/kann.

                              iobroker@iobroker:~$ cd /opt/iobroker
                              iobroker@iobroker:/opt/iobroker$ npm ls colors
                              iobroker.inst@2.0.3 /opt/iobroker
                              ├── colors@1.3.3
                              ├─┬ iobroker@2.0.3
                              │ └── colors@1.3.3  deduped
                              ├─┬ iobroker.javascript@5.2.13
                              │ └─┬ virtual-tsc@0.6.1
                              │   └── colors@1.3.3  deduped
                              └─┬ iobroker.js-controller@3.3.22
                                ├─┬ prompt@1.2.0
                                │ ├── colors@1.3.3  deduped
                                │ └─┬ winston@2.4.5
                                │   └── colors@1.0.3
                                └─┬ winston@3.3.3
                                  └─┬ logform@2.3.0
                                    └── colors@1.3.3  deduped
                              
                              
                              Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Siggi0904 last edited by

                                @siggi0904 sagte in Diskussionsthread Probleme mit externer Bibliothek:

                                Wäre die Frage, ob man auch npm-Pakete manuell updaten muss/kann.

                                Kann man, würde ich aber die Finger von lassen. Das ist Schwarze Magie. 😄

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

                                  @thomas-braun Okay. Dann bleibts so. 👍

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

                                    @crunchip Denke ja, der ENtwicklewr wird wissen ob und welchen Grund das hat

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

                                      @thomas-braun sagte in Diskussionsthread Probleme mit externer Bibliothek:

                                      Nur einmal im System? Das Modul wird eigentlich von ganz vielen Adaptern verwendet.

                                      Nein, es ist im controller drin und in javascript Adapter (und bei älteren Installationen noch im iobroker Meta Paket) ... mehr nicht bei uns ... Also es sollte nur selten da sein ... Bei zwei weiteren Adaptern war es drin, aber nur in den "Development Depenendcies" fie für produktive Systeme keinen Einfluss haben

                                      1 Reply Last reply Reply Quote 1
                                      • apollon77
                                        apollon77 @Siggi0904 last edited by

                                        @siggi0904 Es ist am Ende nicht ganz so einfach denke ich weil da viel mehr Dinge passiert sind als "nur auf einen Missstand hinweisen". Und selbst wenn kann man seine Art dies zu tun nur "zerstörerisch für die ganze Open Source Landschaft" bezeichnen, aber ich würde diese Diskussion gern hier aus dem Thread raushalten. Danke

                                        1 Reply Last reply Reply Quote 2
                                        • apollon77
                                          apollon77 @Siggi0904 last edited by

                                          @siggi0904 sagte in Diskussionsthread Probleme mit externer Bibliothek:

                                          Wäre die Frage, ob man auch npm-Pakete manuell updaten muss/kann.

                                          NEIN! Lass es bitte!! Du bist nicht betroffen, alles gut. Das für uns relevante ist inzwischen so angepasst das es die betroffenen Problemversionen nicht ziehen sollte, also, alles ok

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

                                            @apollon77

                                            pi@chet:/opt/iobroker $ npm ls colors
                                            iobroker.inst@3.0.0 /opt/iobroker
                                            ├─┬ iobroker.javascript@5.2.18
                                            │ └─┬ virtual-tsc@0.6.1
                                            │   └── colors@1.4.0
                                            └─┬ iobroker.js-controller@3.3.22
                                              ├─┬ prompt@1.2.0
                                              │ ├── colors@1.4.0 deduped
                                              │ └─┬ winston@2.4.5
                                              │   └── colors@1.0.3
                                              └─┬ winston@3.3.3
                                                └─┬ logform@2.3.0
                                                  └── colors@1.4.0 deduped
                                            
                                            pi@chet:/opt/iobroker $
                                            

                                            Mit S passt es dann auch.

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

                                            Support us

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

                                            849
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            12
                                            43
                                            2621
                                            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