Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Probleme bei npx Installation unter OSX

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Probleme bei npx Installation unter OSX

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

      @apollon77 ich habe das gerade auf einem neuen OSX System versucht, und bekomme eine Liste von Optionen (ohne Anleitung was was bedeutet) angezeigt, und es wird nichts installiert.

      Ich habe Node 14 und NPM 6 installiert. Die Meldungen die ich bekomme sind:

      ae@Grayskin ioBroker % npx @iobroker/install
      usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                     [-o owner] file1 file2
             install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                     [-o owner] file1 ... fileN directory
             install -d [-v] [-g group] [-m mode] [-o owner] directory ...
      
      
      apollon77 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @Asgothian last edited by

        @asgothian Interessant ... Diese Liste der Optionen kommt nicht vom installer ...

        Kannst Du mal das @iobroker/install in Anführungszeichen setzen? Bzw hast Du das kommando kopiert oder getippt? Nicht das das "/" irgendwie kein echtes ist?

        Ich habe auch macOS und da fragt mich das Kommando (ohne anführungszeichen) nach kurzer wartezeit

        Need to install the following packages:
          @iobroker/install
        Ok to proceed? (y)
        
        Asgothian 1 Reply Last reply Reply Quote 0
        • Asgothian
          Asgothian Developer @apollon77 last edited by

          @apollon77 auch wenn ich den Befehl kopiere und/oder das @iobroker/install in "" setze kommt die gleiche Meldung.

          Ich hab OSX 12.4.

          A.

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

            @asgothian sagte in Neue (zusätzliche) einheitliche Installer/Fix-Kommandos:

            Ich hab OSX 12.4.

            Ich auch ...

            Bildschirmfoto 2022-05-27 um 22.26.17.png

            Also Deine Ausgaben kommen auf jeden Fall vom normalen Befehl "Install" ... aber der soollte hier gar nicht aufgerufen werden.

            Was sagt npx --version bei dir?

            Bei mit 8.1.2

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

              @apollon77

              ae@Grayskin ioBroker % install
              usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                             [-o owner] file1 file2
                     install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                             [-o owner] file1 ... fileN directory
                     install -d [-v] [-g group] [-m mode] [-o owner] directory ...
              ae@Grayskin ioBroker % npx @iobroker/install
              usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                             [-o owner] file1 file2
                     install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                             [-o owner] file1 ... fileN directory
                     install -d [-v] [-g group] [-m mode] [-o owner] directory ...
              ae@Grayskin ioBroker % node -v
              v14.19.3
              ae@Grayskin ioBroker % npm -v
              6.14.17
              
              apollon77 1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 @Asgothian last edited by

                @asgothian Und was sagt "npx --version"??

                Asgothian Homoran 2 Replies Last reply Reply Quote 0
                • Asgothian
                  Asgothian Developer @apollon77 last edited by

                  @apollon77 6.4.17

                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @apollon77 last edited by

                    @apollon77 sagte in Neue (zusätzliche) einheitliche Installer/Fix-Kommandos:

                    npx --version"?

                    @asgothian sagte in Neue (zusätzliche) einheitliche Installer/Fix-Kommandos:

                    npm -v

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

                      @homoran beides gibt das gleiche:

                      ae@Grayskin ioBroker % node -v
                      v14.19.3
                      ae@Grayskin ioBroker % npm -v
                      6.14.17
                      ae@Grayskin ioBroker % npx --version
                      6.14.17
                      ae@Grayskin ioBroker % 
                      
                      1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 last edited by

                        Interessant ... das Sieht fast so aus als ob es nur mit npm 8 funktioniert 😞

                        Asgothian Thomas Braun 2 Replies Last reply Reply Quote 0
                        • Asgothian
                          Asgothian Developer @apollon77 last edited by

                          @apollon77 probier ich morgen aus. Heute ist mir das zu spät.

                          A.

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

                            @apollon77

                            Dann muss wohl nodejs@16 zur 'empfohlenen Version' deklariert werden. Das kommt ja mit npm@8 daher. 😄

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

                              @thomas-braun Ich frage mich dasnn wie das unter windows mit der Nodejs 14 funktioniert die Bluefox installiert ... finden wir raus

                              1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 last edited by

                                Also interessanterweise stellt sich wohl heraus das an der CLI der npx Befehl erst ab npm 8 tut ... aber unter Windows ausgeführt vom EXE installer tut es wie es soll .... Das verstehe wer will 😉

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

                                  @apollon77 so..ich bin einen Schritt weiter - aber nur einen.

                                  Nach Update auf node 16 und nem 8 ist die Installationdurchgelaufen - der ioBroker läuft aber nicht. Als Meldung kommt

                                  ae@Grayskin log % iobroker start
                                  Load failed: 5: Input/output error
                                  Try running `launchctl bootstrap` as root for richer errors.
                                  
                                  

                                  in launchctl list taucht der ioBroker auch nicht auf.

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

                                    @asgothian Haste die Install ausgabe? Weil am Ende ruft das npx nur das curl kommando auf 🙂

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

                                      @apollon77 leider nein. Soweit ich erinnere kam erst eine Meldung über ein fehlendes "homebrew". welches nicht installiert war - danach gingen die Meldungen normal durch. Gibt es eine Log Datei wo ich die nachlesen kann ?

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

                                        @asgothian sagte in Neue (zusätzliche) einheitliche Installer/Fix-Kommandos:

                                        Gibt es eine Log Datei wo ich die nachlesen kann ?

                                        Nope, aber für mich klingt das gerade eher nach eineim eigenen GitHub issue weil scheinbar macos "curl script install" nciht mehr tut ... also hier wäre es das beste mal mit dem curl zu versuchen ... wenn das tut und nur npx nicht dann ists was anderes. ;üssen rausfinden wo der Schuh drückt

                                        Asgothian 2 Replies Last reply Reply Quote 0
                                        • Asgothian
                                          Asgothian Developer @apollon77 last edited by Asgothian

                                          @apollon77 ich schau mal was das curl Skript macht. Gibt es debug flags für mehr Meldungen die ich setzen kann ?

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

                                            @apollon77

                                            ae@Grayskin ioBroker % curl -sLf https://iobroker.net/install.sh | bash -
                                            library: loaded
                                            Library version=2022-02-10
                                            
                                            ==========================================================================
                                            
                                                Welcome to the ioBroker installer!
                                                Installer version: 2022-02-13
                                                
                                                You might need to enter your password a couple of times.
                                            
                                            ==========================================================================
                                            
                                            
                                            ==========================================================================
                                                Installing prerequisites (1/4)
                                            ==========================================================================
                                            
                                            Password:
                                            sudo: brew: command not found
                                            Changing npm registry to https://registry.npmjs.org
                                            Since brew is not installed, frequently-used dependencies could not be installed.
                                            Before installing some adapters, you might have to install some packages yourself.
                                            Please check the adapter manuals before installing them.
                                            
                                            ==========================================================================
                                                Creating ioBroker user and directory (2/4)
                                            ==========================================================================
                                            
                                            Directory /usr/local/iobroker created
                                            
                                            ==========================================================================
                                                Installing ioBroker (3/4)
                                            ==========================================================================
                                            
                                            
                                            ==========================================================================
                                                Finalizing installation (4/4)
                                            ==========================================================================
                                            
                                            Enabling autostart...
                                            bash: line 1271: /Users/ae/Library/LaunchAgents/org.ioBroker.LaunchAtLogin.plist: No such file or directory
                                            Load failed: 5: Input/output error
                                            Try running `launchctl bootstrap` as root for richer errors.
                                            Autostart enabled!
                                            mkdir: /root: Read-only file system
                                            touch: /root/.bashrc: No such file or directory
                                            
                                            ==========================================================================
                                            
                                                ioBroker was installed successfully
                                                Open http://192.168.101.101:8081 in a browser and start configuring!
                                            
                                            ==========================================================================
                                            
                                            
                                            You need to re-login before doing anything else on the console!
                                            
                                            ae@Grayskin ioBroker % 
                                            
                                            

                                            Anscheinend fehlt ein Verzeichnis bei einem neu installierten macOS 12.5

                                            A.

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

                                            Support us

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

                                            713
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            22
                                            1304
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo