Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Zigbee update ERROR: code 25

    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

    Zigbee update ERROR: code 25

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

      @Asgothian
      Ich habe das in dem Verzeichnis ausgeführt und folgenden Fehler erhalten:

      
      npm ERR! code EACCES
      npm ERR! syscall mkdir
      npm ERR! path /home/tmistert/.npm
      npm ERR! errno -13
      npm ERR! 
      npm ERR! Your cache folder contains root-owned files, due to a bug in
      npm ERR! previous versions of npm which has since been addressed.
      npm ERR! 
      npm ERR! To permanently fix this problem, please run:
      npm ERR!   sudo chown -R 1000:1000 "/home/tmistert/.npm"
      npm ERR! code EACCES
      npm ERR! syscall mkdir
      npm ERR! path /home/tmistert/.npm
      npm ERR! errno -13
      npm ERR! 
      npm ERR! Your cache folder contains root-owned files, due to a bug in
      npm ERR! previous versions of npm which has since been addressed.
      npm ERR! 
      npm ERR! To permanently fix this problem, please run:
      npm ERR!   sudo chown -R 1000:1000 "/home/tmistert/.npm"
      
      Asgothian 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @tmistert last edited by

        @tmistert sagte in Zigbee update ERROR: code 25:

        Allerdings meine ich, dass alles korrekt installiert ist.
        Woran könnte es sonst liegen?

        /usr/bin/nodejs
        /usr/local/bin/node
        /usr/local/bin/npm
        

        immer noch schief .

        Zitat:

        Wichtig und richtig ist:
        
        nodejs liegt in /usr/bin
        node liegt in /usr/bin
        npm liegt in /usr/bin
        
        und nicht in /usr/local/bin
        
        tmistert 1 Reply Last reply Reply Quote 1
        • tmistert
          tmistert @Glasfaser last edited by

          @Glasfaser
          Ah, Danke. manchmal sind es die kleinen Dinge. Ich probiere das geradezubiegen.

          tmistert 1 Reply Last reply Reply Quote 0
          • tmistert
            tmistert @tmistert last edited by tmistert

            @tmistert
            Ok, ich habe jetzt node und npm gelöscht. (nodejs war ja richtig?)
            Aber nach der Anleitung bekomme ich das jetzt nicht mehr installiert?
            Welche Befehle muss ich denn ausführen?

            EDIT: Habe es hinbekommen

            J 1 Reply Last reply Reply Quote 0
            • Asgothian
              Asgothian Developer @tmistert last edited by

              @tmistert sagte in Zigbee update ERROR: code 25:

              @Asgothian
              Ich habe das in dem Verzeichnis ausgeführt und folgenden Fehler erhalten:

              npm ERR! To permanently fix this problem, please run:
              npm ERR!   sudo chown -R 1000:1000 "/home/tmistert/.npm"
              

              Wer lesen kann...

              Was du tun musst um den Fehler zu beheben steht da doch.

              tmistert 1 Reply Last reply Reply Quote 1
              • tmistert
                tmistert @Asgothian last edited by tmistert

                @asgothian
                Danke. Das habe ich gemacht. Aber wie lange soll das laufen?
                Ich habe nach 10 Minuten abgebrochen. Dauert das so lange?

                Edit:
                Jetzt habe ich das mit node und npm gefixt.
                Wenn ich nun

                sudo chown -R 1000:1000 "/home/tmistert/.npm"
                

                eingebe, kommt folgendes:

                chown: Zugriff auf '/home/tmistert/.npm' nicht möglich: Datei oder Verzeichnis nicht gefunden
                

                und nun?

                Asgothian 1 Reply Last reply Reply Quote 0
                • Asgothian
                  Asgothian Developer @tmistert last edited by

                  @tmistert sagte in Zigbee update ERROR: code 25:

                  @asgothian

                  Ich habe nach 10 Minuten abgebrochen. Dauert das so lange?

                  Ja.

                  und nun?
                  Wenn du npm entfernst wird auch der npm cache entfernt. Wenn du npm neu installiert hast sollte der versuch die Bibliothek zu installieren jetzt gehen.

                  A.

                  1 Reply Last reply Reply Quote 1
                  • J
                    Jan1 @tmistert last edited by

                    @tmistert sagte in Zigbee update ERROR: code 25:

                    Ok, ich habe jetzt node und npm gelöscht. (nodejs war ja richtig?)

                    nein war es nicht und solange das nicht stimmt, brauchst auch nicht weiter fummeln, da es sonst nur schlimmer wird.
                    Was bringt:

                    nodejs -v && node -v && npm -v && which nodejs && which node && which npm
                    

                    Erst wenn das einer abnickt, dann kannst Dich mal um den Rest kümmern 😉

                    tmistert 1 Reply Last reply Reply Quote 1
                    • tmistert
                      tmistert @Jan1 last edited by

                      @jan1 said in Zigbee update ERROR: code 25:

                      nodejs -v && node -v && npm -v && which nodejs && which node && which npm

                      v14.17.2
                      v14.17.2
                      6.14.13
                      /usr/bin/nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      

                      Ich danke euch für eure Hilfe!!!

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jan1 @tmistert last edited by

                        @tmistert sagte in Zigbee update ERROR: code 25:

                        nodejs -v && node -v && npm -v && which nodejs && which node && which npm

                        Das passt, somit ist Nodes richtig und wegen demherdsman-converter solltest Dich an das halten was Asgothian schreibt, nicht manuell, sondern über den Zigbee Adpter.

                        tmistert 1 Reply Last reply Reply Quote 1
                        • tmistert
                          tmistert @Jan1 last edited by

                          @Jan1
                          Ok, dann die hoffentlich letzte doofe Frage:
                          Wie mache ich das über den Zigbee Adapter?

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Jan1 @tmistert last edited by

                            @tmistert
                            normal nur installieren, da der den Rest automatisch mit bringt, heißt wenn Du den nicht brauchst, kannst den ausschalten 😉
                            Zumindest lese ich das oben so raus.

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            883
                            Online

                            31.8k
                            Users

                            80.0k
                            Topics

                            1.3m
                            Posts

                            5
                            22
                            914
                            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