yarnpkg/yarn

Login not supported with —non-interactive

Open

#3.450 geöffnet am 18. Mai 2017

Auf GitHub ansehen
 (11 Kommentare) (8 Reaktionen) (0 zugewiesene Personen)JavaScript (41.514 Stars) (2.731 Forks)batch import
cat-featuregood first issuehelp wantedtriaged

Beschreibung

Even with the existence of —non-interactive from #2770, it seems that login still requires a TTY.

If you try to programmatically login where a TTY doesn't exist you get:

error An unexpected error occurred: "Can't answer a question unless a user TTY".

yarn - 0.24.4 os - macos, linux

Contributor Guide