Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Windows Installer 2

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Windows Installer 2

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

      Startet nicht
      Bei der Installation:

      Started process 6656 with command 'cmd.exe /c iobinst.cmd'
      
      Der Befehl "npm" ist entweder falsch geschrieben oder
      konnte nicht gefunden werden.
      
      Process execution finished. ExitCode: 1
      
      Something's happened. An error has occurred. Please read the output carefully.
      You can copy the text for further verification.
      
      Click "X" to continue and close this window.
      
      
      ---------------------------
      Warning
      ---------------------------
      Problem running post-install step. Installation may not complete correctly
       Error running C:\Users\admin\AppData\Local\Temp\iobinst\ConLauncher.exe cmd.exe /c iobinst.cmd: Program ended with an error exit code
      ---------------------------
      OK   
      ---------------------------
      

      Bei Starten von ioBroker

      iobroker start
      Das System kann den angegebenen Pfad nicht finden.
      
      C:\Program Files\iobroker\ioBrMain022>iobroker start
      Das System kann den angegebenen Pfad nicht finden.
      
      C:\Program Files\iobroker\ioBrMain022>iobroker start
      Das System kann den angegebenen Pfad nicht finden.
      
      C:\Program Files\iobroker\ioBrMain022>dir
       Volume in Laufwerk C: hat keine Bezeichnung.
       Volumeseriennummer: AAA2-09C5
      
       Verzeichnis von C:\Program Files\iobroker\ioBrMain022
      
      21.05.2020  18:32    <DIR>          .
      21.05.2020  18:32    <DIR>          ..
      21.05.2020  18:32    <DIR>          backups
      21.05.2020  18:26                18 iob.bat
      21.05.2020  18:26                67 iobinst.cmd
      21.05.2020  18:26             1.005 iobroker.bat
      21.05.2020  18:26    <DIR>          nodejs
      21.05.2020  18:26               242 package.json
      21.05.2020  18:26                18 serviceIoBroker.bat
                     5 Datei(en),          1.350 Bytes
                     4 Verzeichnis(se), 424.243.339.264 Bytes frei
      
      C:\Program Files\iobroker\ioBrMain022>iobroker
      *** Error. Please start the ioBroker commandline with the correct Windows startmenu shortcut. Aborting...
      
      C:\Program Files\iobroker\ioBrMain022>iobroker start
      Das System kann den angegebenen Pfad nicht finden.
      
      C:\Program Files\iobroker\ioBrMain022>
      
      Stabilostick 1 Reply Last reply Reply Quote 0
      • Stabilostick
        Stabilostick @klassisch last edited by Stabilostick

        @klassisch

        Danke für‘s testen. Die zweite Meldung ist ok, hatte ich ja geschrieben.

        Die erste Meldung aber nicht. Welchen Installationspfad hattest Du gewählt? Welche Ordner hat das Setup dort schon angelegt?

        PS: Die Meldung hattest Du so aus dem Setupfenster rauskopiert?

        K 1 Reply Last reply Reply Quote 0
        • Stabilostick
          Stabilostick @klassisch last edited by Stabilostick

          @klassisch

          Ja, die Modify-Wartungsoption im Setup ist noch ohne Funktion.

          1 Reply Last reply Reply Quote 0
          • K
            klassisch Most Active @Stabilostick last edited by

            @Stabilostick Ja, Meldung aus dem Setupfenster kopiert

            Pfad und Dateien siehe Verlauf der zweiten Meldung

            Verzeichnis von C:\Program Files\iobroker\ioBrMain022
            
            21.05.2020  18:32    <DIR>          .
            21.05.2020  18:32    <DIR>          ..
            21.05.2020  18:32    <DIR>          backups
            21.05.2020  18:26                18 iob.bat
            21.05.2020  18:26                67 iobinst.cmd
            21.05.2020  18:26             1.005 iobroker.bat
            21.05.2020  18:26    <DIR>          nodejs
            21.05.2020  18:26               242 package.json
            21.05.2020  18:26                18 serviceIoBroker.bat
                           5 Datei(en),          1.350 Bytes
                           4 Verzeichnis(se), 424.243.339.264 Bytes frei
            
            
            

            backups kommt von mir, habe ich aus der alten Installation rüberkopiert

            Stabilostick 1 Reply Last reply Reply Quote 0
            • Stabilostick
              Stabilostick @klassisch last edited by Stabilostick

              @klassisch

              Was ist bei Dir der Inhalt der iobinst.cmd? Die Frage ist, warum das Setup npm aus dem nodejs-Ordner nicht findet.

              K 1 Reply Last reply Reply Quote 0
              • K
                klassisch Most Active @Stabilostick last edited by klassisch

                @Stabilostick

                @echo off
                set "PATH=%~dp0env\npm;%~dp0;%PATH%"
                npm i --production
                
                Stabilostick 1 Reply Last reply Reply Quote 0
                • Stabilostick
                  Stabilostick @klassisch last edited by

                  @klassisch

                  Rufe bitte, wenn Du mit cmd im Installationsorder bist, direkt die iobinst.cmd auf. Findet er da npm?

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    klassisch Most Active @Stabilostick last edited by klassisch

                    @Stabilostick

                    
                    
                    C:\Program Files\iobroker\ioBrMain022>iobinst.cmd
                    Der Befehl "npm" ist entweder falsch geschrieben oder
                    konnte nicht gefunden werden.
                    
                    C:\Program Files\iobroker\ioBrMain022>
                    
                    Stabilostick 1 Reply Last reply Reply Quote 0
                    • Stabilostick
                      Stabilostick @klassisch last edited by Stabilostick

                      @klassisch

                      Grrr, kann es sein, das ich einen \ vor „env“ im PATH vergessen habe? Kannst Du das mal in die cmd rein machen und probieren?

                      Huch, nein, der env-Ordner fehlt bei Dir komplett....

                      Im %temp% Ordner müsste eine bitrock-Logdatei stehen. Sind da Fehler bzgl. des env-Ordners oder so ähnliches drin?

                      Welche Node-Version hast Du gewählt?

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        klassisch Most Active @Stabilostick last edited by

                        @Stabilostick sagte in Windows Installer 2:

                        @klassisch

                        Grrr, kann es sein, das ich einen \ vor „env“ im PATH vergessen habe? Kannst Du das mal in die cmd rein machen und probieren?

                        @echo off
                        set "PATH=%~dp0\env\npm;%~dp0;%PATH%"
                        npm i --production
                        

                        ändert nichts

                        Huch, nein, der env-Ordner fehlt bei Dir komplett....

                        Doch im subdir nodejs

                        
                         Verzeichnis von C:\Program Files\iobroker\ioBrMain022\nodejs
                        
                        21.05.2020  18:26    <DIR>          .
                        21.05.2020  18:26    <DIR>          ..
                        10.04.2020  19:45            53.752 CHANGELOG.md
                        21.05.2020  18:26    <DIR>          env
                        21.05.2020  18:26             1.248 iobvars.bat
                        10.04.2020  19:45            70.122 LICENSE
                        12.04.2020  14:26        26.142.360 node.exe
                        14.02.2020  21:03               702 nodevars.bat
                        14.02.2020  21:03            10.630 node_etw_provider.man
                        21.05.2020  18:25    <DIR>          node_modules
                        10.04.2020  19:45             4.974 node_perfctr_provider.man
                        14.02.2020  21:03               930 npm
                        14.02.2020  21:03               483 npm.cmd
                        14.02.2020  21:03               922 npx
                        14.02.2020  21:03               539 npx.cmd
                        10.04.2020  19:45            27.355 README.md
                                      12 Datei(en),     26.314.017 Bytes
                                       4 Verzeichnis(se), 424.257.646.592 Bytes frei
                        
                        C:\Program Files\iobroker\ioBrMain022\nodejs>
                        

                        Im %temp% Ordner müsste eine bitrock-Logdatei stehen. Sind da Fehler bzgl. des env-Ordners oder so ähnliches drin?

                        Wo ist der %temp% Ordner oder nach welchen suffix soll ich suchen?

                        Welche Node-Version hast Du gewählt?

                        Gar keine, habe nichte angehakt, Standard also. Ich habe da keine Präferenzen und wähle deshalb auch gar nichts aus.

                        Stabilostick 1 Reply Last reply Reply Quote 1
                        • Stabilostick
                          Stabilostick @klassisch last edited by

                          @klassisch

                          Bitte ändere die Zeile 2 in iobinst.cmd dahingehend ab und versuche es noch mal:

                          @echo off
                          set "PATH=%~dp0nodejs\env\npm;%~dp0\nodejs;%PATH%"
                          npm i --production
                          
                          K 1 Reply Last reply Reply Quote 0
                          • K
                            klassisch Most Active @Stabilostick last edited by

                            @Stabilostick
                            Bei mir sieht es jetzt so aus

                            @echo off
                            set "PATH=%~dp0nodejs\env\npm;%~dp0\nodejs;%PATH%"
                            npm i --production
                            

                            Aber iobroker start läuft noch immer nicht mit der gleichen Begründung, Pfad nicht gefunden

                            Stabilostick 2 Replies Last reply Reply Quote 0
                            • Stabilostick
                              Stabilostick @klassisch last edited by Stabilostick

                              @klassisch

                              Was ergibt eine neue test.cmd-Datei mit dem Befehl

                              @echo %~dp0%

                              als Inhalt bei Dir in der Kommandozeile, wenn Du die aufrufst?

                              K 1 Reply Last reply Reply Quote 0
                              • Stabilostick
                                Stabilostick @klassisch last edited by Stabilostick

                                @klassisch sagte in Windows Installer 2:

                                @Stabilostick
                                Bei mir sieht es jetzt so aus

                                @echo off
                                set "PATH=%~dp0nodejs\env\npm;%~dp0\nodejs;%PATH%"
                                npm i --production
                                

                                Aber iobroker start läuft noch immer nicht mit der gleichen Begründung, Pfad nicht gefunden

                                Mach bitte mal nach dem ~dp0 jeweils ein %-Zeichen in die cmd-Datei.

                                1 Reply Last reply Reply Quote 0
                                • K
                                  klassisch Most Active @Stabilostick last edited by

                                  @Stabilostick
                                  Datei

                                  @echo %~dp0%
                                  @echo off
                                  set "PATH=%~dp0nodejs\env\npm;%~dp0\nodejs;%PATH%"
                                  npm i --production
                                  @echo %~dp0%
                                  

                                  Antwort

                                  C:\Program Files\iobroker\ioBrMain022>iobroker start
                                  Das System kann den angegebenen Pfad nicht finden.
                                  
                                  C:\Program Files\iobroker\ioBrMain022>@echo %~dp0%
                                  %~dp0%
                                  
                                  C:\Program Files\iobroker\ioBrMain022>iobroker start
                                  Das System kann den angegebenen Pfad nicht finden.
                                  
                                  C:\Program Files\iobroker\ioBrMain022>iobroker start
                                  Das System kann den angegebenen Pfad nicht finden.
                                  
                                  C:\Program Files\iobroker\ioBrMain022>
                                  
                                  Stabilostick 1 Reply Last reply Reply Quote 0
                                  • Stabilostick
                                    Stabilostick @klassisch last edited by Stabilostick

                                    @klassisch

                                    Äh, wir sind bei dem Inst-Thema. ;-). Und mach zuvor, wie ich geschrieben hatte, bitte nach dem ~dp0 jeweils ein %-Zeichen in die cmd-Datei.

                                    iobinst.cmd

                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      klassisch Most Active @Stabilostick last edited by

                                      @Stabilostick
                                      Wahrscheinlich bin ich jetzt abgehängt
                                      iobinst.cmd sieht so aus

                                      @echo %~dp0%
                                      @echo off
                                      set "PATH=%~dp0%nodejs\env\npm;%~dp0%\nodejs;%PATH%"
                                      npm i --production
                                      @echo %~dp0%
                                      

                                      ioBroker start geht immer noch nicht

                                      oder sollte ich ein anderes Kommando eingeben?

                                      K Stabilostick 2 Replies Last reply Reply Quote 0
                                      • K
                                        klassisch Most Active @klassisch last edited by

                                        @klassisch
                                        Hilft das weiter?

                                        
                                        C:\Program Files\iobroker\ioBrMain022>path
                                        PATH=C:\Program Files\iobroker\ioBrMain022\env\npm;C:\Program Files\iobroker\ioBrMain022\;C:\Program Files\Python38\Scripts\;C:\Program Files\Python38\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Users\admin\AppData\Local\Microsoft\WindowsApps;
                                        
                                        

                                        Den

                                        PATH=C:\Program Files\iobroker\ioBrMain022\env\
                                        

                                        gibts nicht. Bei mir ist das ja ein Unterordner von nodejs

                                        
                                        C:\Program Files\iobroker\ioBrMain022\nodejs\env>
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Stabilostick
                                          Stabilostick @klassisch last edited by

                                          @klassisch sagte in Windows Installer 2:

                                          oder sollte ich ein anderes Kommando eingeben?

                                          Ja, bitte. iobinst.cmd

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            klassisch Most Active last edited by

                                            C:\Program Files\iobroker\ioBrMain022>iobinst.cmd
                                            C:\Program Files\iobroker\ioBrMain022\
                                            Der Befehl "npm" ist entweder falsch geschrieben oder
                                            konnte nicht gefunden werden.
                                            C:\Program Files\iobroker\ioBrMain022\
                                            
                                            C:\Program Files\iobroker\ioBrMain022>
                                            
                                            
                                            Stabilostick 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            934
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            installer windows windows installer
                                            25
                                            290
                                            41500
                                            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