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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Diskussionsthread Probleme mit externer Bibliothek

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                                        • NWH
                                          NWH @apollon77 last edited by

                                          @apollon77 Ich war betroffen habe die fix Anleitung wie oben beschrieben gemacht. Hat auch geklappt, jetzt kommt ein
                                          NPM Err beim Zigbee Adapter, was heißt das? -->Zeile 35
                                          Muss hier noch was gemacht werden?

                                          iobroker.inst@2.0.3 /opt/iobroker                                                                                            
                                          ├── colors@1.4.0                                                                                                             
                                          ├─┬ iobroker@2.0.3                                                                                                           
                                          │ └── colors@1.4.0  deduped                                                                                                  
                                          ├─┬ iobroker.javascript@5.2.13                                                                                               
                                          │ └─┬ virtual-tsc@0.6.1                                                                                                      
                                          │   └── colors@1.4.0  deduped                                                                                                
                                          ├─┬ iobroker.js-controller@3.3.22                                                                                            
                                          │ ├─┬ prompt@1.2.1                                                                                                           
                                          │ │ ├── colors@1.4.0  deduped                                                                                                
                                          │ │ └─┬ winston@2.4.5                                                                                                        
                                          │ │   └── colors@1.0.3                                                                                                       
                                          │ └─┬ winston@3.4.0                                                                                                          
                                          │   └─┬ logform@2.3.2                                                                                                        
                                          │     └── colors@1.4.0  deduped                                                                                              
                                          ├─┬ iobroker.node-red@2.4.1                                                                                                  
                                          │ └─┬ node-red@1.3.7                                                                                                         
                                          │   └─┬ node-red-admin@0.2.7                                                                                                 
                                          │     └─┬ cli-table@0.3.11                                                                                                   
                                          │       └── colors@1.0.3                                                                                                     
                                          ├─┬ iobroker.sourceanalytix@0.4.9 (github:DrozmotiX/ioBroker.sourceanalytix#babd1df46807559b5ffd392925189c0167               
                                          88e1e4)                                                                                                                      
                                          │ └─┬ npm@7.15.0                                                                                                             
                                          │   └─┬ cli-table3@0.6.0                                                                                                     
                                          │     └── colors@1.4.0                                                                                                       
                                          ├─┬ iobroker.vis-icontwo@0.84.0                                                                                              
                                          │ └─┬ npm@8.3.0                                                                                                              
                                          │   └─┬ cli-table3@0.6.0                                                                                                     
                                          │     └── colors@1.4.0                                                                                                       
                                          └─┬ iobroker.zigbee@1.6.6                                                                                                    
                                            └─┬ zigbee-herdsman-converters@14.0.316                                                                                    
                                              └─┬ zigbee-herdsman@0.13.166                                                                                             
                                                └── colors@1.4.0  extraneous                                                                                           
                                                                                                                                                                       
                                          npm ERR! extraneous: colors@1.4.0 /opt/iobroker/node_modules/zigbee-herdsman-converters/node_modules/zigbee-he               
                                          rdsman/node_modules/colors                                                                                                   
                                          root@iobroker:/opt/iobroker#                                                 ```
                                          apollon77 1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @NWH last edited by

                                            @nwh "extranous" heisst das npm denkt das da noch ein Paket da ist was eigentlich nicht das sein müsste/sollte ... keine Ahnung wo es herkam ... lass einfach so 🙂

                                            NWH 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

                                            881
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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