Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ERROR: process exited with code 25 Javascript

    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

    ERROR: process exited with code 25 Javascript

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

      Ich bekomme beim updaten des Javascript Adapter ständig diese Meldung
      Kennt jemand das Problem.
      Kann mir bitte dabei wer helfen.
      DANKE

      $ ./iobroker upgrade javascript
      Update javascript from @6.0.0 to @6.0.3
      NPM version: 8.15.0
      Installing iobroker.javascript@6.0.3... (System call)
      ERROR: host.iobroker-pi4 Cannot install iobroker.javascript@6.0.3: 217
      ERROR: process exited with code 25

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

        @danzlrobert sagte in ERROR: process exited with code 25 Javascript:

        iobroker upgrade javascript

        Bitte CodeTags verwenden.
        Und Adapter mit

        iobroker upgrade javascript --debug
        

        über die Kommandozeile installieren.
        Dürfte aber das Phänomen sein:

        https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

        1 Reply Last reply Reply Quote 0
        • D
          danzlrobert last edited by

          @thomas-braun said in ERROR: process exited with code 25 Javascript:

          iobroker upgrade javascript --debug

          hab das gerade probiert

          pi@iobroker-pi4:~ $ iobroker upgrade javascript --debug
          
          This upgrade of "javascript" will introduce the following changes:
          ==========================================================================
          -> 6.0.3:
          Downgrade Typescript to prevent errors with global typescript scripts
          
          -> 6.0.2:
          Downgrade Typescript to prevent errors with global typescript scripts
          
          -> 6.0.1:
          Fixed the wizard schedule
          Done small fixes on GUI
          ==========================================================================
          
          Would you like to upgrade javascript from @6.0.0 to @6.0.3 now? [(y)es, (n)o]: y
          Update javascript from @6.0.0 to @6.0.3
          NPM version: 8.15.0
          Installing iobroker.javascript@6.0.3... (System call)
          npm ERR! code ENOTEMPTY
          npm ERR! syscall rename
          npm ERR! path /opt/iobroker/node_modules/argparse
          npm ERR! dest /opt/iobroker/node_modules/.argparse-S5zfMSQi
          npm ERR! errno -39
          npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/argparse' -> '/opt/iobroker/node_modules/.argparse-S5zfMSQi'
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-09-19T14_22_52_357Z-debug-0.log
          host.iobroker-pi4 Cannot install iobroker.javascript@6.0.3: 217
          pi@iobroker-pi4:~ $
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @danzlrobert last edited by

            @danzlrobert

            Siehe meine Vermutung oben.

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

              @thomas-braun habe nun den befehl im Verzeichnis /opt/iobroker/node_modules eingeben:

              for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done 
              

              nun funktioniert das Update.
              VIELEN DANK!
              Laut diesem Post:
              https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

              D 1 Reply Last reply Reply Quote 0
              • D
                danzlrobert @danzlrobert last edited by

                @danzlrobert
                Hallo Thomas-Braun.
                Ich habe dazu noch eine Frage. Hab gerade versucht ein Update von Node-Red zu machen. da kam wieder das Problem mit dem Error Code 25. das selbe nochmal ausgeführt und das Update ging.
                Nun hab ich versucht den esphome-Adapter zu installieren, dieser lässt sich gar nicht installieren, ebenfall Error Code 25.
                Ist das ein generelles Problem mit dem NPM 8.15.0 oder dem Node.js ??

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

                  @danzlrobert sagte in ERROR: process exited with code 25 Javascript:

                  Ist das ein generelles Problem mit dem NPM 8.15.0 oder dem Node.js ??

                  Eigentlich nicht. Fehler 25 sagt auch nur aus, das etwas nicht funktioniert hat, aber nicht wo es genau klemmt.

                  --debug macht dich schlauer.

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

                    @thomas-braun
                    was kann man dagegen tun?
                    Es sind im Moment ja alle Adapter aktuell. Funktioniert auch alles.
                    Nur das ich esphome nicht installieren kann ist blöd. Hatte bisher eigentlich absolut keine Probleme.
                    Heute wurden mir 2 Adapter angezeigt zum aktualisieren, und da ging es los.

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

                      @danzlrobert

                      --debug Option verwenden und schauen wo es klemmt.

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

                        @thomas-braun
                        wie macht man das wenn ich esphome installieren will. geht ja nur über ein externes Link
                        https://github.com/DrozmotiX/ioBroker.esphome.git

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

                          @danzlrobert

                          Nein, ist im Beta-Repository verfügbar. Woher immer diese Fixierung auf den git-Sumpf?

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

                            @thomas-braun
                            hab immer bisher immer die Stable version verwendet, ist die Umstellung auf Beta-Repository OK?

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

                              @danzlrobert

                              iob repo list
                              
                              D 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @danzlrobert last edited by

                                @danzlrobert

                                Besser als eine Alpha-Version aus git zu angeln allemal...
                                Du stellt das auch nach der Installation wieder auf stable zurück.

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

                                  @thomas-braun
                                  wieder dasselbe Problem

                                  $ iobroker add esphome auto --host iobroker-pi4 --debug
                                  
                                  NPM version: 8.15.0
                                  
                                  Installing iobroker.esphome@0.2.4... (System call)
                                  
                                  npm ERR! code 1
                                  
                                  npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-09-19T16_30_34_675Z-debug-0.log
                                  
                                  host.iobroker-pi4 Cannot install iobroker.esphome@0.2.4: 1
                                  
                                  ERROR: Process exited with code 25
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @danzlrobert last edited by

                                    @danzlrobert sagte in ERROR: process exited with code 25 Javascript:

                                    /home/iobroker/.npm/_logs/2022-09-19T16_30_34_675Z-debug-0.log

                                    Und was steht da drin?

                                    less -R /home/iobroker/.npm/_logs/2022-09-19T16_30_34_675Z-debug-0.log
                                    
                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      danzlrobert @Thomas Braun last edited by

                                      @thomas-braun

                                      pi@iobroker-pi4:~ $ less -R /home/iobroker/.npm/_logs/2022-09-19T16_30_34_675Z-debug-0.log
                                      0 verbose cli /usr/local/bin/node /usr/local/bin/npm
                                      1 info using npm@8.15.0
                                      2 info using node@v16.17.0
                                      3 timing npm:load:whichnode Completed in 1ms
                                      4 timing config:load:defaults Completed in 5ms
                                      5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 2ms
                                      6 timing config:load:builtin Completed in 3ms
                                      7 timing config:load:cli Completed in 8ms
                                      8 timing config:load:env Completed in 1ms
                                      9 timing config:load:file:/opt/iobroker/.npmrc Completed in 5ms
                                      10 timing config:load:project Completed in 8ms
                                      11 timing config:load:file:/home/iobroker/.npmrc Completed in 0ms
                                      12 timing config:load:user Completed in 3ms
                                      13 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
                                      14 timing config:load:global Completed in 2ms
                                      15 timing config:load:validate Completed in 1ms
                                      16 timing config:load:credentials Completed in 4ms
                                      17 timing config:load:setEnvs Completed in 4ms
                                      18 timing config:load Completed in 41ms
                                      19 timing npm:load:configload Completed in 41ms
                                      20 timing npm:load:mkdirpcache Completed in 4ms
                                      21 timing npm:load:mkdirplogs Completed in 1ms
                                      22 verbose title npm install iobroker.esphome@0.2.4
                                      23 verbose argv "install" "--save-exact" "iobroker.esphome@0.2.4"
                                      24 timing npm:load:setTitle Completed in 5ms
                                      25 timing config:load:flatten Completed in 8ms
                                      26 timing npm:load:display Completed in 11ms
                                      27 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs
                                      28 verbose logfile /home/iobroker/.npm/_logs/2022-09-19T16_30_34_675Z-debug-0.log
                                      29 timing npm:load:logFile Completed in 14ms
                                      30 timing npm:load:timers Completed in 0ms
                                      31 timing npm:load:configScope Completed in 1ms
                                      32 timing npm:load Completed in 79ms
                                      33 timing arborist:ctor Completed in 2ms
                                      34 silly logfile start cleaning logs, removing 2 files
                                      35 silly logfile done cleaning log files
                                      36 timing idealTree:init Completed in 2694ms
                                      37 timing idealTree:userRequests Completed in 20ms
                                      38 silly idealTree buildDeps
                                      39 silly fetch manifest iobroker.esphome@0.2.4
                                      40 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.js-controller
                                      41 http fetch GET 200 https://registry.npmjs.org/iobroker.esphome 3363ms (cache miss)
                                      42 silly placeDep ROOT iobroker.esphome@0.2.4 OK for: iobroker.inst@3.0.0 want: 0.2.4
                                      43 silly fetch manifest @sentry/node@^5.30.0
                                      44 silly fetch manifest esphome-native-api@^1.0.9
                                      45 silly fetch manifest nopy@^0.2.7
                                      46 silly fetch manifest tree-kill@^1.2.2
                                      47 http fetch GET 200 https://registry.npmjs.org/tree-kill 185ms (cache revalidated)
                                      48 http fetch GET 200 https://registry.npmjs.org/@sentry%2fnode 217ms (cache revalidated)
                                      :
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @danzlrobert last edited by Thomas Braun

                                        @danzlrobert

                                        100% nodeJS nicht richtig installiert.

                                        sudo ln -s /usr/bin/node /usr/bin/nodejs
                                        uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                        

                                        sagt?

                                        Davon abgesehen ist das log von dir nicht vollständig.

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

                                          @thomas-braun

                                          pi@iobroker-pi4:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                                          
                                          uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                          armv7l
                                          /usr/bin/nodejs
                                          /usr/local/bin/node
                                          /usr/local/bin/npm
                                          v16.17.0
                                          v16.17.0
                                          8.15.0
                                          4.0.23
                                          pi
                                          pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                                          /home/pi
                                          OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                          OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                          OK:3 https://deb.nodesource.com/node_16.x bullseye InRelease
                                          Paketlisten werden gelesen… Fertig
                                          Abhängigkeitsbaum wird aufgebaut… Fertig
                                          Statusinformationen werden eingelesen… Fertig
                                          Alle Pakete sind aktuell.
                                          nodejs:
                                            Installiert:           16.17.0-deb-1nodesource1
                                            Installationskandidat: 16.17.0-deb-1nodesource1
                                            Versionstabelle:
                                           *** 16.17.0-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                                                  100 /var/lib/dpkg/status
                                               12.22.12~dfsg-1~deb11u1 500
                                                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                          pi@iobroker-pi4:~ $
                                          
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @danzlrobert last edited by

                                            @danzlrobert sagte in ERROR: process exited with code 25 Javascript:

                                            /usr/local/bin/npm

                                            Sag ich ja.
                                            Rhetorische Frage: Wie hast du nodejs 16.17.0 installiert?

                                            Fix:

                                            iobroker stop
                                            sudo rm /usr/local/bin/n*
                                            sudo reboot
                                            
                                            D 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            622
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            2
                                            43
                                            2503
                                            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