NEWS
Probleme bei npx Installation unter OSX
-
@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 ...
-
@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)
-
@apollon77 auch wenn ich den Befehl kopiere und/oder das @iobroker/install in "" setze kommt die gleiche Meldung.
Ich hab OSX 12.4.
A.
-
@asgothian sagte in Neue (zusätzliche) einheitliche Installer/Fix-Kommandos:
Ich hab OSX 12.4.
Ich auch ...
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
-
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
-
@asgothian Und was sagt "npx --version"??
-
@apollon77 6.4.17
-
@apollon77 sagte in Neue (zusätzliche) einheitliche Installer/Fix-Kommandos:
npx --version"?
@asgothian sagte in Neue (zusätzliche) einheitliche Installer/Fix-Kommandos:
npm -v
-
@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 %
-
Interessant ... das Sieht fast so aus als ob es nur mit npm 8 funktioniert
-
@apollon77 probier ich morgen aus. Heute ist mir das zu spät.
A.
-
Dann muss wohl nodejs@16 zur 'empfohlenen Version' deklariert werden. Das kommt ja mit npm@8 daher.
-
@thomas-braun Ich frage mich dasnn wie das unter windows mit der Nodejs 14 funktioniert die Bluefox installiert ... finden wir raus
-
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
-
@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. -
@asgothian Haste die Install ausgabe? Weil am Ende ruft das npx nur das curl kommando auf
-
@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 ?
-
@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
-
@apollon77 ich schau mal was das curl Skript macht. Gibt es debug flags für mehr Meldungen die ich setzen kann ?
-
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.