Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test ioBroker unter Windows installieren - 2023 Edition

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

Test ioBroker unter Windows installieren - 2023 Edition

Geplant Angeheftet Gesperrt Verschoben Tester
installation iobrokerwindowswindows installation
405 Beiträge 25 Kommentatoren 88.4k Aufrufe 22 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • GaspodeG Gaspode

    @klassisch said in Test ioBroker unter Windows installieren - 2023 Edition:

    Manuelles Komprimieren funktioniert

    Wenigstens etwas. Allerdings bin ich jetzt noch etwas ratloser als vorher 🙂

    Mal ne Nacht drüber schlafen ...
    Evtl. hat ja noch jemand anders eine Idee, warum es so klappt, aber nicht per Installer/Fixer.

    Wenn du noch ganz viel Zeit hast, könntest du noch versuchen, im ioBroker Cmd Fenster den Fixer manuell auszuführen:

    iob stop
    del iobroker.bat
    iob fix
    

    Hat aber keine Eile und ich bin mir auch nicht sicher, was es bedeutet, wenn es klappt bzw. nicht klappt ... 😄

    Ich bin heute wahrscheinlich nicht mehr online.

    K Offline
    K Offline
    klassisch
    Most Active
    schrieb am zuletzt editiert von
    #181

    @gaspode
    iobroker.bat war nicht da

    Fixer läuft nicht durch

    
    C:\ioBroker>dir iobroker.bat
     Volume in Laufwerk C: hat keine Bezeichnung.
     Volumeseriennummer: B41E-9983
    
     Verzeichnis von C:\ioBroker
    
    Datei nicht gefunden
    
    C:\ioBroker>iob fix
    Need to install the following packages:
    @iobroker/fix@5.0.0
    Ok to proceed? (y) y
    Windows installation starting... (fixing = true)
    NPM version: 10.2.3
    
    Usage: npm <command>
    
    where <command> is one of:
        access, adduser, audit, bin, bugs, c, cache, ci, cit,
        clean-install, clean-install-test, completion, config,
        create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
        edit, explore, fund, get, help, help-search, hook, i, init,
        install, install-ci-test, install-test, it, link, list, ln,
        login, logout, ls, org, outdated, owner, pack, ping, prefix,
        profile, prune, publish, rb, rebuild, repo, restart, root,
        run, run-script, s, se, search, set, shrinkwrap, star,
        stars, start, stop, t, team, test, token, tst, un,
        uninstall, unpublish, unstar, up, update, v, version, view,
        whoami
    
    npm <command> -h  quick help on <command>
    npm -l            display full usage info
    npm help <term>   search for help on <term>
    npm help npm      involved overview
    
    Specify configs in the ini-formatted file:
        C:\Users\JS\.npmrc
    or on the command line via: npm <command> --key value
    Config info can be viewed via: npm help config
    
    npm@6.14.17 C:\ioBroker\node_modules\npm
    
    node:child_process:965
        throw err;
        ^
    
    Error: Command failed: npm x --yes @iobroker/jsonltool@latest
        at checkExecSyncError (node:child_process:890:11)
        at execSync (node:child_process:962:15)
        at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\19d197aa1f8fa98c\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
        at Module._compile (node:internal/modules/cjs/loader:1356:14)
        at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
        at Module.load (node:internal/modules/cjs/loader:1197:32)
        at Module._load (node:internal/modules/cjs/loader:1013:12)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      status: 1,
      signal: null,
      output: [ null, null, null ],
      pid: 10736,
      stdout: null,
      stderr: null
    }
    
    Node.js v18.19.0
    
    C:\ioBroker>
    

    Irgendwie sehe ich da zwei verschiedene npm Versionen

    HomoranH GaspodeG 2 Antworten Letzte Antwort
    0
    • K klassisch

      @gaspode
      iobroker.bat war nicht da

      Fixer läuft nicht durch

      
      C:\ioBroker>dir iobroker.bat
       Volume in Laufwerk C: hat keine Bezeichnung.
       Volumeseriennummer: B41E-9983
      
       Verzeichnis von C:\ioBroker
      
      Datei nicht gefunden
      
      C:\ioBroker>iob fix
      Need to install the following packages:
      @iobroker/fix@5.0.0
      Ok to proceed? (y) y
      Windows installation starting... (fixing = true)
      NPM version: 10.2.3
      
      Usage: npm <command>
      
      where <command> is one of:
          access, adduser, audit, bin, bugs, c, cache, ci, cit,
          clean-install, clean-install-test, completion, config,
          create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
          edit, explore, fund, get, help, help-search, hook, i, init,
          install, install-ci-test, install-test, it, link, list, ln,
          login, logout, ls, org, outdated, owner, pack, ping, prefix,
          profile, prune, publish, rb, rebuild, repo, restart, root,
          run, run-script, s, se, search, set, shrinkwrap, star,
          stars, start, stop, t, team, test, token, tst, un,
          uninstall, unpublish, unstar, up, update, v, version, view,
          whoami
      
      npm <command> -h  quick help on <command>
      npm -l            display full usage info
      npm help <term>   search for help on <term>
      npm help npm      involved overview
      
      Specify configs in the ini-formatted file:
          C:\Users\JS\.npmrc
      or on the command line via: npm <command> --key value
      Config info can be viewed via: npm help config
      
      npm@6.14.17 C:\ioBroker\node_modules\npm
      
      node:child_process:965
          throw err;
          ^
      
      Error: Command failed: npm x --yes @iobroker/jsonltool@latest
          at checkExecSyncError (node:child_process:890:11)
          at execSync (node:child_process:962:15)
          at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\19d197aa1f8fa98c\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
          at Module._compile (node:internal/modules/cjs/loader:1356:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
          at Module.load (node:internal/modules/cjs/loader:1197:32)
          at Module._load (node:internal/modules/cjs/loader:1013:12)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        status: 1,
        signal: null,
        output: [ null, null, null ],
        pid: 10736,
        stdout: null,
        stderr: null
      }
      
      Node.js v18.19.0
      
      C:\ioBroker>
      

      Irgendwie sehe ich da zwei verschiedene npm Versionen

      HomoranH Nicht stören
      HomoranH Nicht stören
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von
      #182

      @klassisch ähm, könnte das hier

      https://forum.iobroker.net/topic/71478/plötzliche-probleme-durch-nodejs-dfsg-version-npm-fehlt

      zutreffen?

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      K Thomas BraunT 2 Antworten Letzte Antwort
      0
      • K klassisch

        @gaspode
        iobroker.bat war nicht da

        Fixer läuft nicht durch

        
        C:\ioBroker>dir iobroker.bat
         Volume in Laufwerk C: hat keine Bezeichnung.
         Volumeseriennummer: B41E-9983
        
         Verzeichnis von C:\ioBroker
        
        Datei nicht gefunden
        
        C:\ioBroker>iob fix
        Need to install the following packages:
        @iobroker/fix@5.0.0
        Ok to proceed? (y) y
        Windows installation starting... (fixing = true)
        NPM version: 10.2.3
        
        Usage: npm <command>
        
        where <command> is one of:
            access, adduser, audit, bin, bugs, c, cache, ci, cit,
            clean-install, clean-install-test, completion, config,
            create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
            edit, explore, fund, get, help, help-search, hook, i, init,
            install, install-ci-test, install-test, it, link, list, ln,
            login, logout, ls, org, outdated, owner, pack, ping, prefix,
            profile, prune, publish, rb, rebuild, repo, restart, root,
            run, run-script, s, se, search, set, shrinkwrap, star,
            stars, start, stop, t, team, test, token, tst, un,
            uninstall, unpublish, unstar, up, update, v, version, view,
            whoami
        
        npm <command> -h  quick help on <command>
        npm -l            display full usage info
        npm help <term>   search for help on <term>
        npm help npm      involved overview
        
        Specify configs in the ini-formatted file:
            C:\Users\JS\.npmrc
        or on the command line via: npm <command> --key value
        Config info can be viewed via: npm help config
        
        npm@6.14.17 C:\ioBroker\node_modules\npm
        
        node:child_process:965
            throw err;
            ^
        
        Error: Command failed: npm x --yes @iobroker/jsonltool@latest
            at checkExecSyncError (node:child_process:890:11)
            at execSync (node:child_process:962:15)
            at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\19d197aa1f8fa98c\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
            at Module._compile (node:internal/modules/cjs/loader:1356:14)
            at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
            at Module.load (node:internal/modules/cjs/loader:1197:32)
            at Module._load (node:internal/modules/cjs/loader:1013:12)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          status: 1,
          signal: null,
          output: [ null, null, null ],
          pid: 10736,
          stdout: null,
          stderr: null
        }
        
        Node.js v18.19.0
        
        C:\ioBroker>
        

        Irgendwie sehe ich da zwei verschiedene npm Versionen

        GaspodeG Offline
        GaspodeG Offline
        Gaspode
        schrieb am zuletzt editiert von
        #183

        Ui, das ging ja fix.

        @klassisch said in Test ioBroker unter Windows installieren - 2023 Edition:

        Irgendwie sehe ich da zwei verschiedene npm Versionen

        Ja, so was hab ich vermutet, allerdings hätte ich erwartet, dass man das mit

        npm -g ls
        

        sieht, dass da noch was krumm ist.

        Was sagt eigentlich

        npm -v
        

        und

        node -v
        

        @homoran said in Test ioBroker unter Windows installieren - 2023 Edition:

        @klassisch ähm, könnte das hier

        https://forum.iobroker.net/topic/71478/plötzliche-probleme-durch-nodejs-dfsg-version-npm-fehlt

        zutreffen?

        Nee, eher nicht. Auf Windows funktioniert die npm/node Installation ja anders.

        1 Antwort Letzte Antwort
        0
        • HomoranH Homoran

          @klassisch ähm, könnte das hier

          https://forum.iobroker.net/topic/71478/plötzliche-probleme-durch-nodejs-dfsg-version-npm-fehlt

          zutreffen?

          K Offline
          K Offline
          klassisch
          Most Active
          schrieb am zuletzt editiert von
          #184

          @homoran Vielen Dank!

          Aber eigentlich habe ich keine Probleme mit ioBroker an sich. Lediglich der Fixer, welcher durch den Installer/Updater automatisch ausgeführt wid, läuft auf ein Problem. Ist für mich eher ein Luxusproblem solange alles läuft .....

          Ansonsten:

          
          C:\ioBroker>iob diag
          iobroker [command]
          
          Commands:
            iobroker setup                                               Setup ioBroker
            iobroker start [all|<adapter>.<instance>|<adapter>]          Starts the js-controller or a specified adapter instance or all instances of an adapter
            iobroker stop [<adapter>.<instance>|<adapter>]               stops the js-controller or a specified adapter instance or all instances of an adapter
            iobroker restart [<adapter>.<instance>|<adapter>]            Restarts js-controller or a specified adapter instance or all instances of an adapter  [aliases: r]
            iobroker debug <adapter>[.<instance>]                        Starts a Node.js debugging session for the adapter instance
            iobroker info                                                Shows the host info
            iobroker logs [<adapter>]                                    Monitor log
            iobroker add <adapter> [desiredNumber]                       Add instance of adapter  [aliases: a]
            iobroker install <adapter>                                   Installs a specified adapter  [aliases: i]
            iobroker rebuild [<module>]                                  Rebuild all native modules or path
            iobroker url <url> [<name>]                                  Install adapter from specified url, e.g. GitHub
            iobroker del <adapter>                                       Remove adapter and all instances from this host  [aliases: delete]
            iobroker del <adapter>.<instance>                            Remove adapter instance  [aliases: delete]
            iobroker update [<repositoryUrl>]                            Update repository and list adapters
            iobroker upgrade                                             Upgrade management
            iobroker upload [all|<adapter>]                              Upload management  [aliases: u]
            iobroker object                                              Object management  [aliases: o]
            iobroker state                                               State management  [aliases: s]
            iobroker message <adapter>[.instance] <command> [<message>]  Send message to adapter instance/s
            iobroker list <type> [<filter>]                              List all entries, like objects
            iobroker chmod <mode> <file>                                 Change file rights
            iobroker chown <user> <group> <file>                         Change file ownership
            iobroker touch <file>                                        Touch file
            iobroker rm <file>                                           Remove file
            iobroker file                                                File management
            iobroker user                                                User commands
            iobroker group                                               group management
            iobroker host <hostname>                                     Set host to given hostname
            iobroker set <adapter>.<instance>                            Change settings of adapter config
            iobroker license <license.file or license.text>              Update license by given file
            iobroker cert                                                Certificate management
            iobroker clean <yes>                                         Clears all objects and states
            iobroker backup                                              Create backup
            iobroker restore <backup name or path>                       Restore a specified backup
            iobroker validate <backup name or path>                      Validate a specified backup
            iobroker status [all|<adapter>.<instance>]                   Status of ioBroker or adapter instance  [aliases: isrun]
            iobroker repo [<name>]                                       Show repo information
            iobroker uuid                                                Show uuid of the installation  [aliases: id]
            iobroker unsetup                                             Reset license, installation secret and language
            iobroker fix                                                 Execute the installation fixer script, this updates your ioBroker installation
            iobroker nodejs-update [<major-version>]                     Upgrade the Node.JS installation to the current LTS
            iobroker multihost                                           Multihost management
            iobroker compact                                             compact group management
            iobroker plugin                                              Plugin management
            iobroker vendor <passphrase> [<vendor.json>]                 Update the vendor information using given passphrase
            iobroker version [<adapter>]                                 Show version of js-controller or specified adapter  [aliases: v]
          
          Options:
            --help  Show help  [boolean]
          
          C:\ioBroker>npm -v
          10.2.3
          
          C:\ioBroker>node -v
          v18.19.0
          
          C:\ioBroker>
          

          npm ist da und die node-Version sieht auch gut aus. Kein +dfsg-6~deb12u1 sichtbar. Kam ja mit dem Installer mit. Und ich bin ja zurückhaltend und update nicht gleich auf jede neu aufblitzende Version 🙂

          Info sagt das auch:

          System-Betriebszeit
          02:40:09
          Node.js
          v18.19.0
          time
          1704219201213
          timeOffset
          -60
          NPM
          10.2.3
          

          Die Adapter, die ich brauche laufen - Ausser RFLink. Das könnte aber andere Gründe haben.

          HomoranH GaspodeG 2 Antworten Letzte Antwort
          0
          • K klassisch

            @homoran Vielen Dank!

            Aber eigentlich habe ich keine Probleme mit ioBroker an sich. Lediglich der Fixer, welcher durch den Installer/Updater automatisch ausgeführt wid, läuft auf ein Problem. Ist für mich eher ein Luxusproblem solange alles läuft .....

            Ansonsten:

            
            C:\ioBroker>iob diag
            iobroker [command]
            
            Commands:
              iobroker setup                                               Setup ioBroker
              iobroker start [all|<adapter>.<instance>|<adapter>]          Starts the js-controller or a specified adapter instance or all instances of an adapter
              iobroker stop [<adapter>.<instance>|<adapter>]               stops the js-controller or a specified adapter instance or all instances of an adapter
              iobroker restart [<adapter>.<instance>|<adapter>]            Restarts js-controller or a specified adapter instance or all instances of an adapter  [aliases: r]
              iobroker debug <adapter>[.<instance>]                        Starts a Node.js debugging session for the adapter instance
              iobroker info                                                Shows the host info
              iobroker logs [<adapter>]                                    Monitor log
              iobroker add <adapter> [desiredNumber]                       Add instance of adapter  [aliases: a]
              iobroker install <adapter>                                   Installs a specified adapter  [aliases: i]
              iobroker rebuild [<module>]                                  Rebuild all native modules or path
              iobroker url <url> [<name>]                                  Install adapter from specified url, e.g. GitHub
              iobroker del <adapter>                                       Remove adapter and all instances from this host  [aliases: delete]
              iobroker del <adapter>.<instance>                            Remove adapter instance  [aliases: delete]
              iobroker update [<repositoryUrl>]                            Update repository and list adapters
              iobroker upgrade                                             Upgrade management
              iobroker upload [all|<adapter>]                              Upload management  [aliases: u]
              iobroker object                                              Object management  [aliases: o]
              iobroker state                                               State management  [aliases: s]
              iobroker message <adapter>[.instance] <command> [<message>]  Send message to adapter instance/s
              iobroker list <type> [<filter>]                              List all entries, like objects
              iobroker chmod <mode> <file>                                 Change file rights
              iobroker chown <user> <group> <file>                         Change file ownership
              iobroker touch <file>                                        Touch file
              iobroker rm <file>                                           Remove file
              iobroker file                                                File management
              iobroker user                                                User commands
              iobroker group                                               group management
              iobroker host <hostname>                                     Set host to given hostname
              iobroker set <adapter>.<instance>                            Change settings of adapter config
              iobroker license <license.file or license.text>              Update license by given file
              iobroker cert                                                Certificate management
              iobroker clean <yes>                                         Clears all objects and states
              iobroker backup                                              Create backup
              iobroker restore <backup name or path>                       Restore a specified backup
              iobroker validate <backup name or path>                      Validate a specified backup
              iobroker status [all|<adapter>.<instance>]                   Status of ioBroker or adapter instance  [aliases: isrun]
              iobroker repo [<name>]                                       Show repo information
              iobroker uuid                                                Show uuid of the installation  [aliases: id]
              iobroker unsetup                                             Reset license, installation secret and language
              iobroker fix                                                 Execute the installation fixer script, this updates your ioBroker installation
              iobroker nodejs-update [<major-version>]                     Upgrade the Node.JS installation to the current LTS
              iobroker multihost                                           Multihost management
              iobroker compact                                             compact group management
              iobroker plugin                                              Plugin management
              iobroker vendor <passphrase> [<vendor.json>]                 Update the vendor information using given passphrase
              iobroker version [<adapter>]                                 Show version of js-controller or specified adapter  [aliases: v]
            
            Options:
              --help  Show help  [boolean]
            
            C:\ioBroker>npm -v
            10.2.3
            
            C:\ioBroker>node -v
            v18.19.0
            
            C:\ioBroker>
            

            npm ist da und die node-Version sieht auch gut aus. Kein +dfsg-6~deb12u1 sichtbar. Kam ja mit dem Installer mit. Und ich bin ja zurückhaltend und update nicht gleich auf jede neu aufblitzende Version 🙂

            Info sagt das auch:

            System-Betriebszeit
            02:40:09
            Node.js
            v18.19.0
            time
            1704219201213
            timeOffset
            -60
            NPM
            10.2.3
            

            Die Adapter, die ich brauche laufen - Ausser RFLink. Das könnte aber andere Gründe haben.

            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von Homoran
            #185

            @klassisch sagte in Test ioBroker unter Windows installieren - 2023 Edition:

            :\ioBroker>iob diag

            gibbet nicht für Windows.

            @klassisch sagte in Test ioBroker unter Windows installieren - 2023 Edition:

            npm ist da und die node-Version sieht auch gut aus. Kein +dfsg-6~deb12u1 sichtbar

            dann ist gut!
            Ich war nur durch diese npm Meldungen verunsichert!

            ist RF Link überhaupt WIN fähig?

            PS natürlich noch ein gutes neues Jahr!

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            K 1 Antwort Letzte Antwort
            0
            • K klassisch

              @homoran Vielen Dank!

              Aber eigentlich habe ich keine Probleme mit ioBroker an sich. Lediglich der Fixer, welcher durch den Installer/Updater automatisch ausgeführt wid, läuft auf ein Problem. Ist für mich eher ein Luxusproblem solange alles läuft .....

              Ansonsten:

              
              C:\ioBroker>iob diag
              iobroker [command]
              
              Commands:
                iobroker setup                                               Setup ioBroker
                iobroker start [all|<adapter>.<instance>|<adapter>]          Starts the js-controller or a specified adapter instance or all instances of an adapter
                iobroker stop [<adapter>.<instance>|<adapter>]               stops the js-controller or a specified adapter instance or all instances of an adapter
                iobroker restart [<adapter>.<instance>|<adapter>]            Restarts js-controller or a specified adapter instance or all instances of an adapter  [aliases: r]
                iobroker debug <adapter>[.<instance>]                        Starts a Node.js debugging session for the adapter instance
                iobroker info                                                Shows the host info
                iobroker logs [<adapter>]                                    Monitor log
                iobroker add <adapter> [desiredNumber]                       Add instance of adapter  [aliases: a]
                iobroker install <adapter>                                   Installs a specified adapter  [aliases: i]
                iobroker rebuild [<module>]                                  Rebuild all native modules or path
                iobroker url <url> [<name>]                                  Install adapter from specified url, e.g. GitHub
                iobroker del <adapter>                                       Remove adapter and all instances from this host  [aliases: delete]
                iobroker del <adapter>.<instance>                            Remove adapter instance  [aliases: delete]
                iobroker update [<repositoryUrl>]                            Update repository and list adapters
                iobroker upgrade                                             Upgrade management
                iobroker upload [all|<adapter>]                              Upload management  [aliases: u]
                iobroker object                                              Object management  [aliases: o]
                iobroker state                                               State management  [aliases: s]
                iobroker message <adapter>[.instance] <command> [<message>]  Send message to adapter instance/s
                iobroker list <type> [<filter>]                              List all entries, like objects
                iobroker chmod <mode> <file>                                 Change file rights
                iobroker chown <user> <group> <file>                         Change file ownership
                iobroker touch <file>                                        Touch file
                iobroker rm <file>                                           Remove file
                iobroker file                                                File management
                iobroker user                                                User commands
                iobroker group                                               group management
                iobroker host <hostname>                                     Set host to given hostname
                iobroker set <adapter>.<instance>                            Change settings of adapter config
                iobroker license <license.file or license.text>              Update license by given file
                iobroker cert                                                Certificate management
                iobroker clean <yes>                                         Clears all objects and states
                iobroker backup                                              Create backup
                iobroker restore <backup name or path>                       Restore a specified backup
                iobroker validate <backup name or path>                      Validate a specified backup
                iobroker status [all|<adapter>.<instance>]                   Status of ioBroker or adapter instance  [aliases: isrun]
                iobroker repo [<name>]                                       Show repo information
                iobroker uuid                                                Show uuid of the installation  [aliases: id]
                iobroker unsetup                                             Reset license, installation secret and language
                iobroker fix                                                 Execute the installation fixer script, this updates your ioBroker installation
                iobroker nodejs-update [<major-version>]                     Upgrade the Node.JS installation to the current LTS
                iobroker multihost                                           Multihost management
                iobroker compact                                             compact group management
                iobroker plugin                                              Plugin management
                iobroker vendor <passphrase> [<vendor.json>]                 Update the vendor information using given passphrase
                iobroker version [<adapter>]                                 Show version of js-controller or specified adapter  [aliases: v]
              
              Options:
                --help  Show help  [boolean]
              
              C:\ioBroker>npm -v
              10.2.3
              
              C:\ioBroker>node -v
              v18.19.0
              
              C:\ioBroker>
              

              npm ist da und die node-Version sieht auch gut aus. Kein +dfsg-6~deb12u1 sichtbar. Kam ja mit dem Installer mit. Und ich bin ja zurückhaltend und update nicht gleich auf jede neu aufblitzende Version 🙂

              Info sagt das auch:

              System-Betriebszeit
              02:40:09
              Node.js
              v18.19.0
              time
              1704219201213
              timeOffset
              -60
              NPM
              10.2.3
              

              Die Adapter, die ich brauche laufen - Ausser RFLink. Das könnte aber andere Gründe haben.

              GaspodeG Offline
              GaspodeG Offline
              Gaspode
              schrieb am zuletzt editiert von
              #186

              @klassisch

              iob diag
              

              Gibt es unter Windows leider nicht.

              Irgendwo wird unter bestimmten Umständen ein npm Aufruf zu einer alten Version verbogen, was zu dem Fehler führt. Die Kunst ist jetzt, raus zu bekommen, wo das krumm ist.

              1 Antwort Letzte Antwort
              0
              • HomoranH Homoran

                @klassisch ähm, könnte das hier

                https://forum.iobroker.net/topic/71478/plötzliche-probleme-durch-nodejs-dfsg-version-npm-fehlt

                zutreffen?

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #187

                @homoran

                Das Thema 'dfsg-Version' ist exklusive für Debian 12 'Bookworm'. Und auch dort nur bei einem Teil der Installationen.

                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 Antwort Letzte Antwort
                3
                • HomoranH Homoran

                  @klassisch sagte in Test ioBroker unter Windows installieren - 2023 Edition:

                  :\ioBroker>iob diag

                  gibbet nicht für Windows.

                  @klassisch sagte in Test ioBroker unter Windows installieren - 2023 Edition:

                  npm ist da und die node-Version sieht auch gut aus. Kein +dfsg-6~deb12u1 sichtbar

                  dann ist gut!
                  Ich war nur durch diese npm Meldungen verunsichert!

                  ist RF Link überhaupt WIN fähig?

                  PS natürlich noch ein gutes neues Jahr!

                  K Offline
                  K Offline
                  klassisch
                  Most Active
                  schrieb am zuletzt editiert von
                  #188

                  [OT]
                  @homoran sagte in Test ioBroker unter Windows installieren - 2023 Edition:

                  natürlich noch ein gutes neues Jahr!

                  Danke, und selbstverständlich die besten Wünsche zurück!

                  ist RF Link überhaupt WIN fähig?

                  Das lief jahrelang bis zu einem Umzug von ioBroker mit nodejs update, python update etc..
                  Da gab es wohl Problem mit einem seriellen Schnittstellen-Modul und der Adapter wurde nicht maschinell zusammengebaut. Ich habe mich dann durch die Fehlermeldungen gefressen und solange rumgemacht, bis es wieder lief. Das ist dort dokumentiert https://forum.iobroker.net/topic/60173/rflink-auf-win-rechner-cannot-find-adapter-rflink-2-1-6

                  Ich habe einen ordentlichen Zoo von 433MHz Sensoren, eine schöne Groundplane Antenne dafür und komme durch das ganze Haus. RFLink ist für mich wichtig.
                  Habe nach den vielen Updates, Stops, Starts etc. heute jetzt mal alles wieder frisch gebootet und der Schluckauf scheint weg zu sein.

                  Habe auch noch eine Sonderkonfiguration über eine Virtuelle COM weil ich das RFLink umgebastelt habe. Der RFLink Arduino wird ja normalerweise über USB angeschlossen. Mag ich aber nicht und habe einen USRIOT serial <-> LAN Konverter dazwischen geschaltet. Da der RFLink Adapter - anders als z.B. Smartmeter oder Zigbee - kein Ethernet einbinden kann, brauche ich auch noch eine virtuelle COM.

                  1 Antwort Letzte Antwort
                  0
                  • GaspodeG Offline
                    GaspodeG Offline
                    Gaspode
                    schrieb am zuletzt editiert von Gaspode
                    #189

                    @klassisch
                    Wie gesagt, du scheinst noch irgendwo (aus alten Zeiten?) eine alte Version von npm auf deinem Rechner zu haben, evtl. auch in irgendeinem npm cache. Ich würde dem gerne auf den Grund gehen, evtl. kann man einen entsprechenden Check in den Installer einbauen, wenn man das Problem versteht.

                    Kannst du bei Gelegenheit bitte mal im ioBroker Cmd Window die folgenden Befehle absetzen und den Output posten:

                    npm -v
                    node -v
                    where npm
                    

                    Und könntest du dann noch das kleine Script aus dem Anhang in dein ioBroker root Verzeichnis legen (also wahrscheinlich bei dir c:\ioBroker) und es dann ausführen mit

                    node test.js
                    

                    Was wird da ausgegeben?

                    Schon mal vielen Dank.

                    test.js

                    K 2 Antworten Letzte Antwort
                    0
                    • GaspodeG Gaspode

                      @klassisch
                      Wie gesagt, du scheinst noch irgendwo (aus alten Zeiten?) eine alte Version von npm auf deinem Rechner zu haben, evtl. auch in irgendeinem npm cache. Ich würde dem gerne auf den Grund gehen, evtl. kann man einen entsprechenden Check in den Installer einbauen, wenn man das Problem versteht.

                      Kannst du bei Gelegenheit bitte mal im ioBroker Cmd Window die folgenden Befehle absetzen und den Output posten:

                      npm -v
                      node -v
                      where npm
                      

                      Und könntest du dann noch das kleine Script aus dem Anhang in dein ioBroker root Verzeichnis legen (also wahrscheinlich bei dir c:\ioBroker) und es dann ausführen mit

                      node test.js
                      

                      Was wird da ausgegeben?

                      Schon mal vielen Dank.

                      test.js

                      K Offline
                      K Offline
                      klassisch
                      Most Active
                      schrieb am zuletzt editiert von klassisch
                      #190

                      @gaspode

                      Vielen Dank! sieht bei mir so aus:

                      
                      C:\ioBroker>npm -v
                      10.2.3
                      
                      C:\ioBroker>
                      C:\ioBroker>node -v
                      v18.19.0
                      
                      C:\ioBroker>
                      C:\ioBroker>where npm
                      C:\Program Files\nodejs\npm
                      C:\Program Files\nodejs\npm.cmd
                      
                      C:\ioBroker>node testnpm.js
                      10.2.3
                      
                      C:\ioBroker>
                      

                      Was ich nicht verstehe ist das:

                      C:\ioBroker>where npm
                      C:\Program Files\nodejs\npm
                      C:\Program Files\nodejs\npm.cmd
                      
                      

                      EDIT: Ich finde npm files noch unter Visual Studio.
                      Ich kann man die Platte scannen. Nach welchen Dateien soll ich suchen?

                      GaspodeG 1 Antwort Letzte Antwort
                      0
                      • GaspodeG Gaspode

                        @klassisch
                        Wie gesagt, du scheinst noch irgendwo (aus alten Zeiten?) eine alte Version von npm auf deinem Rechner zu haben, evtl. auch in irgendeinem npm cache. Ich würde dem gerne auf den Grund gehen, evtl. kann man einen entsprechenden Check in den Installer einbauen, wenn man das Problem versteht.

                        Kannst du bei Gelegenheit bitte mal im ioBroker Cmd Window die folgenden Befehle absetzen und den Output posten:

                        npm -v
                        node -v
                        where npm
                        

                        Und könntest du dann noch das kleine Script aus dem Anhang in dein ioBroker root Verzeichnis legen (also wahrscheinlich bei dir c:\ioBroker) und es dann ausführen mit

                        node test.js
                        

                        Was wird da ausgegeben?

                        Schon mal vielen Dank.

                        test.js

                        K Offline
                        K Offline
                        klassisch
                        Most Active
                        schrieb am zuletzt editiert von
                        #191

                        @gaspode
                        Habe jetzt mal nach node.cmd gesucht:

                        c:\ioBroker\node_modules\.bin\npm.cmd
                        c:\Program Files\nodejs\node_modules\corepack\shims\nodewin\npm.cmd
                        c:\Program Files\nodejs\node_modules\corepack\shims\npm.cmd
                        c:\Program Files\nodejs\node_modules\npm\bin\npm.cmd
                        c:\Program Files\nodejs\npm.cmd
                        c:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\NodeJs\npm.cmd
                        c:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\NodeJs\node_modules\npm\bin\npm.cmd
                        c:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\NodeJs\node_modules\.bin\npm.cmd
                        c:\ioBroker\node_modules\npm\bin\npm.cmd
                        c:\Users\JS\AppData\Local\npm-cache\_npx\df100e174afb6ecd\node_modules\npx\node_modules\.bin\npm.cmd
                        c:\Users\JS\AppData\Local\npm-cache\_npx\df100e174afb6ecd\node_modules\npx\node_modules\npm\bin\npm.cmd
                        
                        1 Antwort Letzte Antwort
                        0
                        • K klassisch

                          @gaspode

                          Vielen Dank! sieht bei mir so aus:

                          
                          C:\ioBroker>npm -v
                          10.2.3
                          
                          C:\ioBroker>
                          C:\ioBroker>node -v
                          v18.19.0
                          
                          C:\ioBroker>
                          C:\ioBroker>where npm
                          C:\Program Files\nodejs\npm
                          C:\Program Files\nodejs\npm.cmd
                          
                          C:\ioBroker>node testnpm.js
                          10.2.3
                          
                          C:\ioBroker>
                          

                          Was ich nicht verstehe ist das:

                          C:\ioBroker>where npm
                          C:\Program Files\nodejs\npm
                          C:\Program Files\nodejs\npm.cmd
                          
                          

                          EDIT: Ich finde npm files noch unter Visual Studio.
                          Ich kann man die Platte scannen. Nach welchen Dateien soll ich suchen?

                          GaspodeG Offline
                          GaspodeG Offline
                          Gaspode
                          schrieb am zuletzt editiert von
                          #192

                          @klassisch said in Test ioBroker unter Windows installieren - 2023 Edition:

                          Was ich nicht verstehe ist das:

                          Das sieht unter Windows immer so aus, ist also OK.

                          Das muss wieder mal irgend was mit dem npx Aufruf zu tun haben. Irgendwo wird da was verbogen. Der legt da an den unmöglichsten Stellen gecachte Daten ab. Du kannst mal versuchen, den Cache aufzuräumen:

                          npm cache verify
                          

                          Oder die Hardcore Variante

                          npm cache clean --force
                          

                          Ich befürchte nur, das wird auch nix nützen. Ich muss heute Abend mal Google anwerfen. 😉

                          K 1 Antwort Letzte Antwort
                          2
                          • GaspodeG Gaspode

                            @klassisch said in Test ioBroker unter Windows installieren - 2023 Edition:

                            Was ich nicht verstehe ist das:

                            Das sieht unter Windows immer so aus, ist also OK.

                            Das muss wieder mal irgend was mit dem npx Aufruf zu tun haben. Irgendwo wird da was verbogen. Der legt da an den unmöglichsten Stellen gecachte Daten ab. Du kannst mal versuchen, den Cache aufzuräumen:

                            npm cache verify
                            

                            Oder die Hardcore Variante

                            npm cache clean --force
                            

                            Ich befürchte nur, das wird auch nix nützen. Ich muss heute Abend mal Google anwerfen. 😉

                            K Offline
                            K Offline
                            klassisch
                            Most Active
                            schrieb am zuletzt editiert von klassisch
                            #193

                            @gaspode sagte in Test ioBroker unter Windows installieren - 2023 Edition:

                            npm cache verify

                            Vielen Dank, sieht so aus:

                            C:\ioBroker>npm cache verify
                            Cache verified and compressed (~\AppData\Local\npm-cache\_cacache)
                            Content verified: 1625 (120608749 bytes)
                            Content garbage-collected: 251 (33744871 bytes)
                            Index entries: 1625
                            Finished in 15.391s
                            
                            
                            GaspodeG 1 Antwort Letzte Antwort
                            0
                            • K klassisch

                              @gaspode sagte in Test ioBroker unter Windows installieren - 2023 Edition:

                              npm cache verify

                              Vielen Dank, sieht so aus:

                              C:\ioBroker>npm cache verify
                              Cache verified and compressed (~\AppData\Local\npm-cache\_cacache)
                              Content verified: 1625 (120608749 bytes)
                              Content garbage-collected: 251 (33744871 bytes)
                              Index entries: 1625
                              Finished in 15.391s
                              
                              
                              GaspodeG Offline
                              GaspodeG Offline
                              Gaspode
                              schrieb am zuletzt editiert von
                              #194

                              @klassisch said in Test ioBroker unter Windows installieren - 2023 Edition:

                              Vielen Dank, sieht so aus:

                              Das Problem ist, man sieht dem Ergebnis nicht wirklich an, welche Auswirkungen das hat.
                              Du kannst ja nochmal ein Fix probieren.

                              K 1 Antwort Letzte Antwort
                              0
                              • GaspodeG Gaspode

                                @klassisch said in Test ioBroker unter Windows installieren - 2023 Edition:

                                Vielen Dank, sieht so aus:

                                Das Problem ist, man sieht dem Ergebnis nicht wirklich an, welche Auswirkungen das hat.
                                Du kannst ja nochmal ein Fix probieren.

                                K Offline
                                K Offline
                                klassisch
                                Most Active
                                schrieb am zuletzt editiert von
                                #195

                                @gaspode

                                
                                C:\ioBroker>iob fix
                                Windows installation starting... (fixing = true)
                                NPM version: 10.2.3
                                
                                Usage: npm <command>
                                
                                where <command> is one of:
                                    access, adduser, audit, bin, bugs, c, cache, ci, cit,
                                    clean-install, clean-install-test, completion, config,
                                    create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                                    edit, explore, fund, get, help, help-search, hook, i, init,
                                    install, install-ci-test, install-test, it, link, list, ln,
                                    login, logout, ls, org, outdated, owner, pack, ping, prefix,
                                    profile, prune, publish, rb, rebuild, repo, restart, root,
                                    run, run-script, s, se, search, set, shrinkwrap, star,
                                    stars, start, stop, t, team, test, token, tst, un,
                                    uninstall, unpublish, unstar, up, update, v, version, view,
                                    whoami
                                
                                npm <command> -h  quick help on <command>
                                npm -l            display full usage info
                                npm help <term>   search for help on <term>
                                npm help npm      involved overview
                                
                                Specify configs in the ini-formatted file:
                                    C:\Users\JS\.npmrc
                                or on the command line via: npm <command> --key value
                                Config info can be viewed via: npm help config
                                
                                npm@6.14.17 C:\ioBroker\node_modules\npm
                                
                                node:child_process:965
                                    throw err;
                                    ^
                                
                                Error: Command failed: npm x --yes @iobroker/jsonltool@latest
                                    at checkExecSyncError (node:child_process:890:11)
                                    at execSync (node:child_process:962:15)
                                    at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\19d197aa1f8fa98c\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
                                    at Module._compile (node:internal/modules/cjs/loader:1356:14)
                                    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                                    at Module.load (node:internal/modules/cjs/loader:1197:32)
                                    at Module._load (node:internal/modules/cjs/loader:1013:12)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  status: 1,
                                  signal: null,
                                  output: [ null, null, null ],
                                  pid: 11992,
                                  stdout: null,
                                  stderr: null
                                }
                                
                                Node.js v18.19.0
                                
                                

                                Auch nach dem Bereinigen des Chaches:

                                C:\ioBroker>npm cache clean --force
                                npm WARN using --force Recommended protections disabled.
                                
                                C:\ioBroker>iob fix
                                Windows installation starting... (fixing = true)
                                NPM version: 10.2.3
                                
                                Usage: npm <command>
                                
                                where <command> is one of:
                                    access, adduser, audit, bin, bugs, c, cache, ci, cit,
                                    clean-install, clean-install-test, completion, config,
                                    create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                                    edit, explore, fund, get, help, help-search, hook, i, init,
                                    install, install-ci-test, install-test, it, link, list, ln,
                                    login, logout, ls, org, outdated, owner, pack, ping, prefix,
                                    profile, prune, publish, rb, rebuild, repo, restart, root,
                                    run, run-script, s, se, search, set, shrinkwrap, star,
                                    stars, start, stop, t, team, test, token, tst, un,
                                    uninstall, unpublish, unstar, up, update, v, version, view,
                                    whoami
                                
                                npm <command> -h  quick help on <command>
                                npm -l            display full usage info
                                npm help <term>   search for help on <term>
                                npm help npm      involved overview
                                
                                Specify configs in the ini-formatted file:
                                    C:\Users\JS\.npmrc
                                or on the command line via: npm <command> --key value
                                Config info can be viewed via: npm help config
                                
                                npm@6.14.17 C:\ioBroker\node_modules\npm
                                
                                node:child_process:965
                                    throw err;
                                    ^
                                
                                Error: Command failed: npm x --yes @iobroker/jsonltool@latest
                                    at checkExecSyncError (node:child_process:890:11)
                                    at execSync (node:child_process:962:15)
                                    at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\19d197aa1f8fa98c\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
                                    at Module._compile (node:internal/modules/cjs/loader:1356:14)
                                    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                                    at Module.load (node:internal/modules/cjs/loader:1197:32)
                                    at Module._load (node:internal/modules/cjs/loader:1013:12)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  status: 1,
                                  signal: null,
                                  output: [ null, null, null ],
                                  pid: 1972,
                                  stdout: null,
                                  stderr: null
                                }
                                
                                Node.js v18.19.0
                                
                                C:\ioBroker>
                                
                                
                                GaspodeG 1 Antwort Letzte Antwort
                                0
                                • K klassisch

                                  @gaspode

                                  
                                  C:\ioBroker>iob fix
                                  Windows installation starting... (fixing = true)
                                  NPM version: 10.2.3
                                  
                                  Usage: npm <command>
                                  
                                  where <command> is one of:
                                      access, adduser, audit, bin, bugs, c, cache, ci, cit,
                                      clean-install, clean-install-test, completion, config,
                                      create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                                      edit, explore, fund, get, help, help-search, hook, i, init,
                                      install, install-ci-test, install-test, it, link, list, ln,
                                      login, logout, ls, org, outdated, owner, pack, ping, prefix,
                                      profile, prune, publish, rb, rebuild, repo, restart, root,
                                      run, run-script, s, se, search, set, shrinkwrap, star,
                                      stars, start, stop, t, team, test, token, tst, un,
                                      uninstall, unpublish, unstar, up, update, v, version, view,
                                      whoami
                                  
                                  npm <command> -h  quick help on <command>
                                  npm -l            display full usage info
                                  npm help <term>   search for help on <term>
                                  npm help npm      involved overview
                                  
                                  Specify configs in the ini-formatted file:
                                      C:\Users\JS\.npmrc
                                  or on the command line via: npm <command> --key value
                                  Config info can be viewed via: npm help config
                                  
                                  npm@6.14.17 C:\ioBroker\node_modules\npm
                                  
                                  node:child_process:965
                                      throw err;
                                      ^
                                  
                                  Error: Command failed: npm x --yes @iobroker/jsonltool@latest
                                      at checkExecSyncError (node:child_process:890:11)
                                      at execSync (node:child_process:962:15)
                                      at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\19d197aa1f8fa98c\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
                                      at Module._compile (node:internal/modules/cjs/loader:1356:14)
                                      at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                                      at Module.load (node:internal/modules/cjs/loader:1197:32)
                                      at Module._load (node:internal/modules/cjs/loader:1013:12)
                                      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                      at node:internal/main/run_main_module:28:49 {
                                    status: 1,
                                    signal: null,
                                    output: [ null, null, null ],
                                    pid: 11992,
                                    stdout: null,
                                    stderr: null
                                  }
                                  
                                  Node.js v18.19.0
                                  
                                  

                                  Auch nach dem Bereinigen des Chaches:

                                  C:\ioBroker>npm cache clean --force
                                  npm WARN using --force Recommended protections disabled.
                                  
                                  C:\ioBroker>iob fix
                                  Windows installation starting... (fixing = true)
                                  NPM version: 10.2.3
                                  
                                  Usage: npm <command>
                                  
                                  where <command> is one of:
                                      access, adduser, audit, bin, bugs, c, cache, ci, cit,
                                      clean-install, clean-install-test, completion, config,
                                      create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                                      edit, explore, fund, get, help, help-search, hook, i, init,
                                      install, install-ci-test, install-test, it, link, list, ln,
                                      login, logout, ls, org, outdated, owner, pack, ping, prefix,
                                      profile, prune, publish, rb, rebuild, repo, restart, root,
                                      run, run-script, s, se, search, set, shrinkwrap, star,
                                      stars, start, stop, t, team, test, token, tst, un,
                                      uninstall, unpublish, unstar, up, update, v, version, view,
                                      whoami
                                  
                                  npm <command> -h  quick help on <command>
                                  npm -l            display full usage info
                                  npm help <term>   search for help on <term>
                                  npm help npm      involved overview
                                  
                                  Specify configs in the ini-formatted file:
                                      C:\Users\JS\.npmrc
                                  or on the command line via: npm <command> --key value
                                  Config info can be viewed via: npm help config
                                  
                                  npm@6.14.17 C:\ioBroker\node_modules\npm
                                  
                                  node:child_process:965
                                      throw err;
                                      ^
                                  
                                  Error: Command failed: npm x --yes @iobroker/jsonltool@latest
                                      at checkExecSyncError (node:child_process:890:11)
                                      at execSync (node:child_process:962:15)
                                      at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\19d197aa1f8fa98c\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
                                      at Module._compile (node:internal/modules/cjs/loader:1356:14)
                                      at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                                      at Module.load (node:internal/modules/cjs/loader:1197:32)
                                      at Module._load (node:internal/modules/cjs/loader:1013:12)
                                      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                      at node:internal/main/run_main_module:28:49 {
                                    status: 1,
                                    signal: null,
                                    output: [ null, null, null ],
                                    pid: 1972,
                                    stdout: null,
                                    stderr: null
                                  }
                                  
                                  Node.js v18.19.0
                                  
                                  C:\ioBroker>
                                  
                                  
                                  GaspodeG Offline
                                  GaspodeG Offline
                                  Gaspode
                                  schrieb am zuletzt editiert von
                                  #196

                                  @klassisch
                                  Hatte ich befürchtet. Wie gesagt, ich muss heute Abend mal Tante Googel bemühen, wenn vorher niemand anders einen Tipp hat.

                                  K 1 Antwort Letzte Antwort
                                  0
                                  • GaspodeG Gaspode

                                    @klassisch
                                    Hatte ich befürchtet. Wie gesagt, ich muss heute Abend mal Tante Googel bemühen, wenn vorher niemand anders einen Tipp hat.

                                    K Offline
                                    K Offline
                                    klassisch
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #197

                                    @gaspode
                                    Habe mal alle npm.cmd gesucht und auf Version getestet.
                                    Versprengte 8er und 5er gefunden. Leider nicht die 6er, die manchmal aufblitzt

                                    C:\ioBroker>"\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\NodeJs\npm" -v
                                    8.3.1
                                    C:\ioBroker>"\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\NodeJs\node_modules\.bin\npm" -v
                                    8.3.1
                                    
                                    C:\ioBroker>"\Users\JS\AppData\Local\npm-cache\_npx\df100e174afb6ecd\node_modules\npx\node_modules\.bin\npm" -v
                                    5.1.0
                                    
                                    
                                    GaspodeG 1 Antwort Letzte Antwort
                                    0
                                    • K klassisch

                                      @gaspode
                                      Habe mal alle npm.cmd gesucht und auf Version getestet.
                                      Versprengte 8er und 5er gefunden. Leider nicht die 6er, die manchmal aufblitzt

                                      C:\ioBroker>"\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\NodeJs\npm" -v
                                      8.3.1
                                      C:\ioBroker>"\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\NodeJs\node_modules\.bin\npm" -v
                                      8.3.1
                                      
                                      C:\ioBroker>"\Users\JS\AppData\Local\npm-cache\_npx\df100e174afb6ecd\node_modules\npx\node_modules\.bin\npm" -v
                                      5.1.0
                                      
                                      
                                      GaspodeG Offline
                                      GaspodeG Offline
                                      Gaspode
                                      schrieb am zuletzt editiert von Gaspode
                                      #198

                                      @klassisch
                                      Hmm, npx scheint ja noch einige Leichen im Keller zu haben.

                                      Ich bin jetzt auf folgendes Package gestoßen: https://www.npmjs.com/package/clear-npx-cache
                                      Usage:

                                      npx clear-npx-cache
                                      

                                      Wobei das Package, so wie ich es sehe, nix anderes macht, als alle Einträge im npx Cache Verzeichnis zu löschen. Das Cache Verzeichnis wird mit ...

                                      npm config get cache
                                      

                                      ... ermittelt und darin wird der Inhalt des Verzeichnisses _npx gelöscht.

                                      Die etwas vorsichtigere Variante wäre also, einfach das Verzeichnis _npx dort umzubenennen und zu gucken, ob sich das Verhalten bessert.

                                      K 1 Antwort Letzte Antwort
                                      0
                                      • GaspodeG Gaspode

                                        @klassisch
                                        Hmm, npx scheint ja noch einige Leichen im Keller zu haben.

                                        Ich bin jetzt auf folgendes Package gestoßen: https://www.npmjs.com/package/clear-npx-cache
                                        Usage:

                                        npx clear-npx-cache
                                        

                                        Wobei das Package, so wie ich es sehe, nix anderes macht, als alle Einträge im npx Cache Verzeichnis zu löschen. Das Cache Verzeichnis wird mit ...

                                        npm config get cache
                                        

                                        ... ermittelt und darin wird der Inhalt des Verzeichnisses _npx gelöscht.

                                        Die etwas vorsichtigere Variante wäre also, einfach das Verzeichnis _npx dort umzubenennen und zu gucken, ob sich das Verhalten bessert.

                                        K Offline
                                        K Offline
                                        klassisch
                                        Most Active
                                        schrieb am zuletzt editiert von klassisch
                                        #199

                                        @gaspode Vielen Dank und Sorry, hatte gestern Abend leider keine Zeit für ioBroker

                                        C:\ioBroker>npm config get cache
                                        C:\Users\JS\AppData\Local\npm-cache
                                        

                                        Habe jetzt mal

                                        c:\Users\JS\AppData\Local\npm-cache\_npx\
                                        

                                        in

                                        c:\Users\JS\AppData\Local\npm-cache\Renamed_npx\
                                        

                                        umbenannt.
                                        Ergebnis

                                        
                                        C:\ioBroker>iob fix
                                        Need to install the following packages:
                                        @iobroker/fix@5.0.0
                                        Ok to proceed? (y) y
                                        Windows installation starting... (fixing = true)
                                        NPM version: 10.2.3
                                        
                                        Usage: npm <command>
                                        
                                        where <command> is one of:
                                            access, adduser, audit, bin, bugs, c, cache, ci, cit,
                                            clean-install, clean-install-test, completion, config,
                                            create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                                            edit, explore, fund, get, help, help-search, hook, i, init,
                                            install, install-ci-test, install-test, it, link, list, ln,
                                            login, logout, ls, org, outdated, owner, pack, ping, prefix,
                                            profile, prune, publish, rb, rebuild, repo, restart, root,
                                            run, run-script, s, se, search, set, shrinkwrap, star,
                                            stars, start, stop, t, team, test, token, tst, un,
                                            uninstall, unpublish, unstar, up, update, v, version, view,
                                            whoami
                                        
                                        npm <command> -h  quick help on <command>
                                        npm -l            display full usage info
                                        npm help <term>   search for help on <term>
                                        npm help npm      involved overview
                                        
                                        Specify configs in the ini-formatted file:
                                            C:\Users\JS\.npmrc
                                        or on the command line via: npm <command> --key value
                                        Config info can be viewed via: npm help config
                                        
                                        npm@6.14.17 C:\ioBroker\node_modules\npm
                                        
                                        node:child_process:965
                                            throw err;
                                            ^
                                        
                                        Error: Command failed: npm x --yes @iobroker/jsonltool@latest
                                            at checkExecSyncError (node:child_process:890:11)
                                            at execSync (node:child_process:962:15)
                                            at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\19d197aa1f8fa98c\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
                                            at Module._compile (node:internal/modules/cjs/loader:1356:14)
                                            at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                                            at Module.load (node:internal/modules/cjs/loader:1197:32)
                                            at Module._load (node:internal/modules/cjs/loader:1013:12)
                                            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                            at node:internal/main/run_main_module:28:49 {
                                          status: 1,
                                          signal: null,
                                          output: [ null, null, null ],
                                          pid: 1132,
                                          stdout: null,
                                          stderr: null
                                        }
                                        
                                        Node.js v18.19.0
                                        
                                        C:\ioBroker>
                                        

                                        Nach Neustart des Rechners wurde das Verzeichnis

                                        c:\Users\JS\AppData\Local\npm-cache\_npx\
                                        

                                        neu angelegt
                                        Fix bricht leider immer noch ab

                                        
                                        C:\ioBroker>iob fix
                                        Windows installation starting... (fixing = true)
                                        NPM version: 10.2.3
                                        
                                        Usage: npm <command>
                                        
                                        where <command> is one of:
                                            access, adduser, audit, bin, bugs, c, cache, ci, cit,
                                            clean-install, clean-install-test, completion, config,
                                            create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                                            edit, explore, fund, get, help, help-search, hook, i, init,
                                            install, install-ci-test, install-test, it, link, list, ln,
                                            login, logout, ls, org, outdated, owner, pack, ping, prefix,
                                            profile, prune, publish, rb, rebuild, repo, restart, root,
                                            run, run-script, s, se, search, set, shrinkwrap, star,
                                            stars, start, stop, t, team, test, token, tst, un,
                                            uninstall, unpublish, unstar, up, update, v, version, view,
                                            whoami
                                        
                                        npm <command> -h  quick help on <command>
                                        npm -l            display full usage info
                                        npm help <term>   search for help on <term>
                                        npm help npm      involved overview
                                        
                                        Specify configs in the ini-formatted file:
                                            C:\Users\JS\.npmrc
                                        or on the command line via: npm <command> --key value
                                        Config info can be viewed via: npm help config
                                        
                                        npm@6.14.17 C:\ioBroker\node_modules\npm
                                        
                                        node:child_process:965
                                            throw err;
                                            ^
                                        
                                        Error: Command failed: npm x --yes @iobroker/jsonltool@latest
                                            at checkExecSyncError (node:child_process:890:11)
                                            at execSync (node:child_process:962:15)
                                            at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\19d197aa1f8fa98c\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
                                            at Module._compile (node:internal/modules/cjs/loader:1356:14)
                                            at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                                            at Module.load (node:internal/modules/cjs/loader:1197:32)
                                            at Module._load (node:internal/modules/cjs/loader:1013:12)
                                            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                            at node:internal/main/run_main_module:28:49 {
                                          status: 1,
                                          signal: null,
                                          output: [ null, null, null ],
                                          pid: 12764,
                                          stdout: null,
                                          stderr: null
                                        }
                                        
                                        Node.js v18.19.0
                                        
                                        C:\ioBroker>
                                        
                                        GaspodeG 1 Antwort Letzte Antwort
                                        0
                                        • K klassisch

                                          @gaspode Vielen Dank und Sorry, hatte gestern Abend leider keine Zeit für ioBroker

                                          C:\ioBroker>npm config get cache
                                          C:\Users\JS\AppData\Local\npm-cache
                                          

                                          Habe jetzt mal

                                          c:\Users\JS\AppData\Local\npm-cache\_npx\
                                          

                                          in

                                          c:\Users\JS\AppData\Local\npm-cache\Renamed_npx\
                                          

                                          umbenannt.
                                          Ergebnis

                                          
                                          C:\ioBroker>iob fix
                                          Need to install the following packages:
                                          @iobroker/fix@5.0.0
                                          Ok to proceed? (y) y
                                          Windows installation starting... (fixing = true)
                                          NPM version: 10.2.3
                                          
                                          Usage: npm <command>
                                          
                                          where <command> is one of:
                                              access, adduser, audit, bin, bugs, c, cache, ci, cit,
                                              clean-install, clean-install-test, completion, config,
                                              create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                                              edit, explore, fund, get, help, help-search, hook, i, init,
                                              install, install-ci-test, install-test, it, link, list, ln,
                                              login, logout, ls, org, outdated, owner, pack, ping, prefix,
                                              profile, prune, publish, rb, rebuild, repo, restart, root,
                                              run, run-script, s, se, search, set, shrinkwrap, star,
                                              stars, start, stop, t, team, test, token, tst, un,
                                              uninstall, unpublish, unstar, up, update, v, version, view,
                                              whoami
                                          
                                          npm <command> -h  quick help on <command>
                                          npm -l            display full usage info
                                          npm help <term>   search for help on <term>
                                          npm help npm      involved overview
                                          
                                          Specify configs in the ini-formatted file:
                                              C:\Users\JS\.npmrc
                                          or on the command line via: npm <command> --key value
                                          Config info can be viewed via: npm help config
                                          
                                          npm@6.14.17 C:\ioBroker\node_modules\npm
                                          
                                          node:child_process:965
                                              throw err;
                                              ^
                                          
                                          Error: Command failed: npm x --yes @iobroker/jsonltool@latest
                                              at checkExecSyncError (node:child_process:890:11)
                                              at execSync (node:child_process:962:15)
                                              at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\19d197aa1f8fa98c\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
                                              at Module._compile (node:internal/modules/cjs/loader:1356:14)
                                              at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                                              at Module.load (node:internal/modules/cjs/loader:1197:32)
                                              at Module._load (node:internal/modules/cjs/loader:1013:12)
                                              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                              at node:internal/main/run_main_module:28:49 {
                                            status: 1,
                                            signal: null,
                                            output: [ null, null, null ],
                                            pid: 1132,
                                            stdout: null,
                                            stderr: null
                                          }
                                          
                                          Node.js v18.19.0
                                          
                                          C:\ioBroker>
                                          

                                          Nach Neustart des Rechners wurde das Verzeichnis

                                          c:\Users\JS\AppData\Local\npm-cache\_npx\
                                          

                                          neu angelegt
                                          Fix bricht leider immer noch ab

                                          
                                          C:\ioBroker>iob fix
                                          Windows installation starting... (fixing = true)
                                          NPM version: 10.2.3
                                          
                                          Usage: npm <command>
                                          
                                          where <command> is one of:
                                              access, adduser, audit, bin, bugs, c, cache, ci, cit,
                                              clean-install, clean-install-test, completion, config,
                                              create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                                              edit, explore, fund, get, help, help-search, hook, i, init,
                                              install, install-ci-test, install-test, it, link, list, ln,
                                              login, logout, ls, org, outdated, owner, pack, ping, prefix,
                                              profile, prune, publish, rb, rebuild, repo, restart, root,
                                              run, run-script, s, se, search, set, shrinkwrap, star,
                                              stars, start, stop, t, team, test, token, tst, un,
                                              uninstall, unpublish, unstar, up, update, v, version, view,
                                              whoami
                                          
                                          npm <command> -h  quick help on <command>
                                          npm -l            display full usage info
                                          npm help <term>   search for help on <term>
                                          npm help npm      involved overview
                                          
                                          Specify configs in the ini-formatted file:
                                              C:\Users\JS\.npmrc
                                          or on the command line via: npm <command> --key value
                                          Config info can be viewed via: npm help config
                                          
                                          npm@6.14.17 C:\ioBroker\node_modules\npm
                                          
                                          node:child_process:965
                                              throw err;
                                              ^
                                          
                                          Error: Command failed: npm x --yes @iobroker/jsonltool@latest
                                              at checkExecSyncError (node:child_process:890:11)
                                              at execSync (node:child_process:962:15)
                                              at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\19d197aa1f8fa98c\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
                                              at Module._compile (node:internal/modules/cjs/loader:1356:14)
                                              at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                                              at Module.load (node:internal/modules/cjs/loader:1197:32)
                                              at Module._load (node:internal/modules/cjs/loader:1013:12)
                                              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                              at node:internal/main/run_main_module:28:49 {
                                            status: 1,
                                            signal: null,
                                            output: [ null, null, null ],
                                            pid: 12764,
                                            stdout: null,
                                            stderr: null
                                          }
                                          
                                          Node.js v18.19.0
                                          
                                          C:\ioBroker>
                                          
                                          GaspodeG Offline
                                          GaspodeG Offline
                                          Gaspode
                                          schrieb am zuletzt editiert von Gaspode
                                          #200

                                          @klassisch said in Test ioBroker unter Windows installieren - 2023 Edition:

                                          Sorry, hatte gestern Abend leider keine Zeit für ioBroker

                                          Kein Problem. Ich danke dir, dass du so geduldig mit hilfst. Wie gesagt, ich würde das Problem gerne verstehen, um es in Zukunft entweder im Installer zu berücksichtigen oder es zumindest in die Doku aufzunehmen.

                                          @klassisch said in Test ioBroker unter Windows installieren - 2023 Edition:

                                          Fix bricht leider immer noch ab

                                          So langsam gehen mir die Ideen aus. 😉

                                          Die Meldung "Usage: npm < command>" etc. kommt daher, dass bei dir aus mir bisher unerklärlichen Gründen npm in der Version 6.14.17 verwendet wird. Das Kommando "npm x ...", das im Fixer zum Einsatz kommt, kennt npm in der Version 6.14.17 noch nicht. Und jetzt wird es interessant bzw. seltsam: In Zeile 31 deines letzten Logs wird ausgegeben, wo die verwendete npm Version liegt:

                                          npm@6.14.17 C:\ioBroker\node_modules\npm
                                          

                                          Demnach ist das ein lokales Package(!?) in deinem ioBroker Verzeichnis. Allerdings hat ...

                                          npm ls
                                          

                                          ... das nicht bei dir als installiertes Package angezeigt (so wie es auch sein soll). Guck bitte zunächst mal, ob das Verzeichnis da ist und was drin ist. Im nächsten Schritt könntest du - wenn es da ist - mal versuchen, es umzubenennen oder evtl. besser mit ...

                                          npm uninstall npm
                                          

                                          los zu werden. Das dürfte nix kaputt machen, aber eine Garantie gibt es bei so was halt nie.

                                          K 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          366

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe