yarnpkg/yarn

Login not supported with —non-interactive

Open

#3.450 aberto em 18 de mai. de 2017

Ver no GitHub
 (11 comments) (8 reactions) (0 assignees)JavaScript (2.731 forks)batch import
cat-featuregood first issuehelp wantedtriaged

Métricas do repositório

Stars
 (41.514 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador