Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.0k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    925

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich

Scheduled Pinned Locked Moved Error/Bug
69 Posts 8 Posters 14.3k Views 8 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    wrote on last edited by
    #5

    @besa
    Wie sieht deine nodeJS-Installation jetzt aus?

    which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
    

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    B 1 Reply Last reply
    0
    • Thomas BraunT Thomas Braun

      @besa
      Wie sieht deine nodeJS-Installation jetzt aus?

      which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
      
      B Offline
      B Offline
      besa
      wrote on last edited by
      #6

      @thomas-braun said in npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich:

      which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs

      
      linaro@tinkerboard:/opt/iobroker$ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
      /usr/bin/nodejs
      /usr/local/bin/node
      /usr/local/bin/npm
      v12.22.1
      v14.17.0
      6.14.13
      nodejs:
        Installed: 12.22.1-1nodesource1
        Candidate: 12.22.1-1nodesource1
        Version table:
       *** 12.22.1-1nodesource1 500
              500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
              100 /var/lib/dpkg/status
           4.8.2~dfsg-1 500
              500 http://http.debian.net/debian stretch/main armhf Packages
      
      
      Thomas BraunT B 2 Replies Last reply
      0
      • B besa

        @thomas-braun said in npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich:

        which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs

        
        linaro@tinkerboard:/opt/iobroker$ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
        /usr/bin/nodejs
        /usr/local/bin/node
        /usr/local/bin/npm
        v12.22.1
        v14.17.0
        6.14.13
        nodejs:
          Installed: 12.22.1-1nodesource1
          Candidate: 12.22.1-1nodesource1
          Version table:
         *** 12.22.1-1nodesource1 500
                500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
                100 /var/lib/dpkg/status
             4.8.2~dfsg-1 500
                500 http://http.debian.net/debian stretch/main armhf Packages
        
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        wrote on last edited by
        #7

        @besa

        Falsch installiert. Schau in meiner Signatur wie es richtig gemacht wird.

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        1 Reply Last reply
        0
        • B besa

          @thomas-braun said in npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich:

          which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs

          
          linaro@tinkerboard:/opt/iobroker$ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
          /usr/bin/nodejs
          /usr/local/bin/node
          /usr/local/bin/npm
          v12.22.1
          v14.17.0
          6.14.13
          nodejs:
            Installed: 12.22.1-1nodesource1
            Candidate: 12.22.1-1nodesource1
            Version table:
           *** 12.22.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
                  100 /var/lib/dpkg/status
               4.8.2~dfsg-1 500
                  500 http://http.debian.net/debian stretch/main armhf Packages
          
          
          B Offline
          B Offline
          besa
          wrote on last edited by
          #8

          @besa Gerade node.js noch upgedatet

          Thomas BraunT 1 Reply Last reply
          0
          • B besa

            @besa Gerade node.js noch upgedatet

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by
            #9

            @besa
            Aber nicht richtig.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            B 1 Reply Last reply
            0
            • Thomas BraunT Thomas Braun

              @besa
              Aber nicht richtig.

              B Offline
              B Offline
              besa
              wrote on last edited by
              #10

              @thomas-braun

              
              linaro@tinkerboard:/opt/iobroker$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
              /usr/bin/nodejs
              v12.22.1
              /usr/local/bin/node
              v12.22.1
              /usr/local/bin/npm
              6.14.12
              nodejs:
                Installed: 12.22.1-1nodesource1
                Candidate: 12.22.1-1nodesource1
                Version table:
               *** 12.22.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
                      100 /var/lib/dpkg/status
                   4.8.2~dfsg-1 500
                      500 http://http.debian.net/debian stretch/main armhf Packages
              
              
              Thomas BraunT 1 Reply Last reply
              0
              • B besa

                @thomas-braun

                
                linaro@tinkerboard:/opt/iobroker$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                /usr/bin/nodejs
                v12.22.1
                /usr/local/bin/node
                v12.22.1
                /usr/local/bin/npm
                6.14.12
                nodejs:
                  Installed: 12.22.1-1nodesource1
                  Candidate: 12.22.1-1nodesource1
                  Version table:
                 *** 12.22.1-1nodesource1 500
                        500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
                        100 /var/lib/dpkg/status
                     4.8.2~dfsg-1 500
                        500 http://http.debian.net/debian stretch/main armhf Packages
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #11

                @besa
                Immer noch falsch. Die Pfade stimmen nicht.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                B 1 Reply Last reply
                0
                • Thomas BraunT Thomas Braun

                  @besa
                  Immer noch falsch. Die Pfade stimmen nicht.

                  B Offline
                  B Offline
                  besa
                  wrote on last edited by
                  #12

                  @thomas-braun Ja das mit den Pfaden haut leider nicht hin. Habe gem. Deiner Anleitung alles nodejs und node deinstalliert und die Directories mit rm gelöscht.
                  Dann

                  curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -  (für die 12er Version)
                  sudo apt-get install -y nodejs
                  sudo apt-get update && sudo apt-get install yarn
                  sudo npm cache clean -f
                  sudo npm install -g n
                  sudo n 12.22.1 
                  node -v 
                  iobroker fix
                  iobroker start
                  
                   which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                  /usr/bin/nodejs
                  /usr/local/bin/node
                  /usr/local/bin/npm
                  v12.22.1
                  v12.22.1
                  6.14.12
                  nodejs:
                    Installed: 12.22.1-1nodesource1
                    Candidate: 12.22.1-1nodesource1
                    Version table:
                   *** 12.22.1-1nodesource1 100
                          100 /var/lib/dpkg/status
                       10.24.1-1nodesource1 500
                          500 https://deb.nodesource.com/node_10.x stretch/main armhf Packages
                       4.8.2~dfsg-1 500
                          500 http://http.debian.net/debian stretch/main armhf Packages
                  
                  

                  ... und alles ist wieder im "local" Ordner

                  B 1 Reply Last reply
                  0
                  • B besa

                    @thomas-braun Ja das mit den Pfaden haut leider nicht hin. Habe gem. Deiner Anleitung alles nodejs und node deinstalliert und die Directories mit rm gelöscht.
                    Dann

                    curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -  (für die 12er Version)
                    sudo apt-get install -y nodejs
                    sudo apt-get update && sudo apt-get install yarn
                    sudo npm cache clean -f
                    sudo npm install -g n
                    sudo n 12.22.1 
                    node -v 
                    iobroker fix
                    iobroker start
                    
                     which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                    /usr/bin/nodejs
                    /usr/local/bin/node
                    /usr/local/bin/npm
                    v12.22.1
                    v12.22.1
                    6.14.12
                    nodejs:
                      Installed: 12.22.1-1nodesource1
                      Candidate: 12.22.1-1nodesource1
                      Version table:
                     *** 12.22.1-1nodesource1 100
                            100 /var/lib/dpkg/status
                         10.24.1-1nodesource1 500
                            500 https://deb.nodesource.com/node_10.x stretch/main armhf Packages
                         4.8.2~dfsg-1 500
                            500 http://http.debian.net/debian stretch/main armhf Packages
                    
                    

                    ... und alles ist wieder im "local" Ordner

                    B Offline
                    B Offline
                    besa
                    wrote on last edited by
                    #13

                    @besa Das hatte ich eingegeben:

                    sudo apt remove node*
                    sudo rm /usr/local/bin/node
                    sudo rm /usr/local/bin/npm
                    
                    Thomas BraunT 1 Reply Last reply
                    0
                    • B besa

                      @besa Das hatte ich eingegeben:

                      sudo apt remove node*
                      sudo rm /usr/local/bin/node
                      sudo rm /usr/local/bin/npm
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by
                      #14

                      @besa

                      sudo npm install -g n
                      sudo n 12.22.1 
                      

                      Ist ja auch Quatsch. Steht auch so nicht in meinem How to drin. nodejs wird ausschließlich über apt installiert, nicht mit dem Mist über npm,n.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      B 1 Reply Last reply
                      0
                      • Thomas BraunT Thomas Braun

                        @besa

                        sudo npm install -g n
                        sudo n 12.22.1 
                        

                        Ist ja auch Quatsch. Steht auch so nicht in meinem How to drin. nodejs wird ausschließlich über apt installiert, nicht mit dem Mist über npm,n.

                        B Offline
                        B Offline
                        besa
                        wrote on last edited by
                        #15

                        @thomas-braun Okay, alle wiedee gelöscht mit

                        sudo rm /usr/local/bin/node
                        sudo rm /usr/local/bin/npm
                        
                        curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -  
                        sudo apt-get install -y nodejs
                        sudo apt-get update && sudo apt-get install yarn
                        
                        
                        which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                        /usr/bin/nodejs
                        /usr/bin/node
                        /usr/bin/npm
                        v12.22.1
                        

                        Jetzt fehlte natürlich noch node, oder? Also dann gem. der Anleitung

                        wget https://unofficial-builds.nodejs.org/download/release/v12.22.1/node-v12.22.1-linux-armv6l.tar.xz 
                        tar -xvf node-v12.22.1-linux-armv6l.tar.xz
                        cd node-v12.22.1-linux-armv6l/
                        sudo cp -R * /usr/local/
                        sudo ln -s /usr/local/bin/node /usr/local/bin/nodejs
                        sudo reboot
                        

                        und leider jetzt alles wieder unter local

                        linaro@tinkerboard:~$ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                        /usr/local/bin/nodejs
                        /usr/local/bin/node
                        /usr/local/bin/npm
                        v12.22.1
                        v12.22.1
                        6.14.12
                        nodejs:
                          Installed: 12.22.1-1nodesource1
                          Candidate: 12.22.1-1nodesource1
                          Version table:
                         *** 12.22.1-1nodesource1 500
                                500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
                                100 /var/lib/dpkg/status
                             4.8.2~dfsg-1 500
                                500 http://http.debian.net/debian stretch/main armhf Packages
                        linaro@tinkerboard:~$
                        

                        Mir fehlt irgendwie der Schritt nach der Installation von nodejs node und npm im richtigen Verzeichnis zu installieren. Das habe ich leider nicht gesehen.

                        DANKE

                        Thomas BraunT 1 Reply Last reply
                        0
                        • B besa

                          @thomas-braun Okay, alle wiedee gelöscht mit

                          sudo rm /usr/local/bin/node
                          sudo rm /usr/local/bin/npm
                          
                          curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -  
                          sudo apt-get install -y nodejs
                          sudo apt-get update && sudo apt-get install yarn
                          
                          
                          which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                          /usr/bin/nodejs
                          /usr/bin/node
                          /usr/bin/npm
                          v12.22.1
                          

                          Jetzt fehlte natürlich noch node, oder? Also dann gem. der Anleitung

                          wget https://unofficial-builds.nodejs.org/download/release/v12.22.1/node-v12.22.1-linux-armv6l.tar.xz 
                          tar -xvf node-v12.22.1-linux-armv6l.tar.xz
                          cd node-v12.22.1-linux-armv6l/
                          sudo cp -R * /usr/local/
                          sudo ln -s /usr/local/bin/node /usr/local/bin/nodejs
                          sudo reboot
                          

                          und leider jetzt alles wieder unter local

                          linaro@tinkerboard:~$ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                          /usr/local/bin/nodejs
                          /usr/local/bin/node
                          /usr/local/bin/npm
                          v12.22.1
                          v12.22.1
                          6.14.12
                          nodejs:
                            Installed: 12.22.1-1nodesource1
                            Candidate: 12.22.1-1nodesource1
                            Version table:
                           *** 12.22.1-1nodesource1 500
                                  500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
                                  100 /var/lib/dpkg/status
                               4.8.2~dfsg-1 500
                                  500 http://http.debian.net/debian stretch/main armhf Packages
                          linaro@tinkerboard:~$
                          

                          Mir fehlt irgendwie der Schritt nach der Installation von nodejs node und npm im richtigen Verzeichnis zu installieren. Das habe ich leider nicht gesehen.

                          DANKE

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by
                          #16

                          @besa Arrrrrrrgh!

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          B 1 Reply Last reply
                          0
                          • Thomas BraunT Thomas Braun

                            @besa Arrrrrrrgh!

                            B Offline
                            B Offline
                            besa
                            wrote on last edited by
                            #17

                            @thomas-braun Also ich habe einfach mal den mitteleren Teil "wget https://unofficial-builds.nodejs.org/download/release/v12.22.1/node-v12.22.1-linux-armv6l.tar.xz " weggelassen und neu gebootet und schwups

                            hich nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                            /usr/bin/nodejs
                            /usr/bin/node
                            /usr/bin/npm
                            v12.22.1
                            v12.22.1
                            6.14.12
                            nodejs:
                              Installed: 12.22.1-1nodesource1
                              Candidate: 12.22.1-1nodesource1
                              Version table:
                             *** 12.22.1-1nodesource1 500
                                    500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
                                    100 /var/lib/dpkg/status
                                 4.8.2~dfsg-1 500
                                    500 http://http.debian.net/debian stretch/main armhf Packages
                            
                            
                            B 1 Reply Last reply
                            0
                            • B besa

                              @thomas-braun Also ich habe einfach mal den mitteleren Teil "wget https://unofficial-builds.nodejs.org/download/release/v12.22.1/node-v12.22.1-linux-armv6l.tar.xz " weggelassen und neu gebootet und schwups

                              hich nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                              /usr/bin/nodejs
                              /usr/bin/node
                              /usr/bin/npm
                              v12.22.1
                              v12.22.1
                              6.14.12
                              nodejs:
                                Installed: 12.22.1-1nodesource1
                                Candidate: 12.22.1-1nodesource1
                                Version table:
                               *** 12.22.1-1nodesource1 500
                                      500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
                                      100 /var/lib/dpkg/status
                                   4.8.2~dfsg-1 500
                                      500 http://http.debian.net/debian stretch/main armhf Packages
                              
                              
                              B Offline
                              B Offline
                              besa
                              wrote on last edited by
                              #18

                              @besa Das kam mir gleich Spanisch vor

                              Thomas BraunT 1 Reply Last reply
                              0
                              • B besa

                                @besa Das kam mir gleich Spanisch vor

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                wrote on last edited by
                                #19

                                @besa Du liest es nicht richtig. Der unofficial-Teil ist nur bei superexoten Konstellationen erforderlich.

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                B 1 Reply Last reply
                                0
                                • Thomas BraunT Thomas Braun

                                  @besa Du liest es nicht richtig. Der unofficial-Teil ist nur bei superexoten Konstellationen erforderlich.

                                  B Offline
                                  B Offline
                                  besa
                                  wrote on last edited by
                                  #20

                                  @thomas-braun Danke für die Lesehilfe. Aber ich war verloren, da ich dachte, dass der NODEJS Teil nur nodejs installiert und nicht NODE und NPM auch.

                                  Thomas BraunT 1 Reply Last reply
                                  0
                                  • B besa

                                    @thomas-braun Danke für die Lesehilfe. Aber ich war verloren, da ich dachte, dass der NODEJS Teil nur nodejs installiert und nicht NODE und NPM auch.

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    wrote on last edited by
                                    #21

                                    @besa

                                    Deswegen steht auch recht weit am Anfang:

                                    Es ist übrigens hier nicht erforderlich, ein Paket 'node' separat zu installieren, das ist schon im Paket 'nodejs' enthalten. Das gilt dann natürlich im weiteren auch für Upgrades/Updates von node.

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    B 1 Reply Last reply
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @besa

                                      Deswegen steht auch recht weit am Anfang:

                                      Es ist übrigens hier nicht erforderlich, ein Paket 'node' separat zu installieren, das ist schon im Paket 'nodejs' enthalten. Das gilt dann natürlich im weiteren auch für Upgrades/Updates von node.

                                      B Offline
                                      B Offline
                                      besa
                                      wrote on last edited by
                                      #22

                                      @thomas-braun Viele herzlichen Dank und ein schönes Wochenende im Biergarten

                                      1 Reply Last reply
                                      0
                                      • H Offline
                                        H Offline
                                        Habi
                                        wrote on last edited by
                                        #23

                                        Hallo zusammen,
                                        habe das selbe Problem auf einem Raspberry Pi 4. Kann keine Adapter mehr Installieren oder updaten.

                                        $ iobroker add zigbee --host IoBroker
                                        NPM version: 8.11.0
                                        npm install iobroker.zigbee@1.7.5 --loglevel error --prefix "/opt/iobroker" (System call)
                                        npm ERR! code ENOTEMPTY
                                        npm ERR! syscall rename
                                        npm ERR! path /opt/iobroker/node_modules/iobroker.javascriptnpm ERR! dest /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn
                                        npm ERR! errno -39
                                        npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'
                                        npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-07-02T12_28_16_159Z-debug-0.log
                                        host.IoBroker Cannot install iobroker.zigbee@1.7.5: 217
                                        ERROR: Process exited with code 25
                                        
                                        pi@IoBroker:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                                        /usr/bin/nodejs
                                        /usr/bin/node
                                        /usr/bin/npm
                                        v16.15.1
                                        v16.15.1
                                        8.11.0
                                        nodejs:
                                          Installiert:           16.15.1-deb-1nodesource1
                                          Installationskandidat: 16.15.1-deb-1nodesource1
                                          Versionstabelle:
                                         *** 16.15.1-deb-1nodesource1 500
                                                500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                                                100 /var/lib/dpkg/status
                                             12.22.12~dfsg-1~deb11u1 500
                                                500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                                             12.22.5~dfsg-2~11u1 500
                                                500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                        

                                        Liegt es daran das ich node 16 und npm 8 installiert habe? Erst hatte ich nur node und npm installiert, da ist der selbe Fehler aufgetreten. Hatte dann noch Nodejs installiert aber der Fehler ist geblieben.

                                        Gruß Habi

                                        Thomas BraunT 1 Reply Last reply
                                        0
                                        • H Habi

                                          Hallo zusammen,
                                          habe das selbe Problem auf einem Raspberry Pi 4. Kann keine Adapter mehr Installieren oder updaten.

                                          $ iobroker add zigbee --host IoBroker
                                          NPM version: 8.11.0
                                          npm install iobroker.zigbee@1.7.5 --loglevel error --prefix "/opt/iobroker" (System call)
                                          npm ERR! code ENOTEMPTY
                                          npm ERR! syscall rename
                                          npm ERR! path /opt/iobroker/node_modules/iobroker.javascriptnpm ERR! dest /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn
                                          npm ERR! errno -39
                                          npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'
                                          npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-07-02T12_28_16_159Z-debug-0.log
                                          host.IoBroker Cannot install iobroker.zigbee@1.7.5: 217
                                          ERROR: Process exited with code 25
                                          
                                          pi@IoBroker:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                                          /usr/bin/nodejs
                                          /usr/bin/node
                                          /usr/bin/npm
                                          v16.15.1
                                          v16.15.1
                                          8.11.0
                                          nodejs:
                                            Installiert:           16.15.1-deb-1nodesource1
                                            Installationskandidat: 16.15.1-deb-1nodesource1
                                            Versionstabelle:
                                           *** 16.15.1-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                                                  100 /var/lib/dpkg/status
                                               12.22.12~dfsg-1~deb11u1 500
                                                  500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                                               12.22.5~dfsg-2~11u1 500
                                                  500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                          

                                          Liegt es daran das ich node 16 und npm 8 installiert habe? Erst hatte ich nur node und npm installiert, da ist der selbe Fehler aufgetreten. Hatte dann noch Nodejs installiert aber der Fehler ist geblieben.

                                          Gruß Habi

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          wrote on last edited by
                                          #24

                                          @habi

                                          sudo -u iobroker rm /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn
                                          iobroker update
                                          

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          432

                                          Online

                                          32.6k

                                          Users

                                          82.2k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe