yarnpkg/yarn

Login not supported with —non-interactive

Open

#3450 opened on May 18, 2017

View on GitHub
 (11 comments) (8 reactions) (0 assignees)JavaScript (41,514 stars) (2,731 forks)batch import
cat-featuregood first issuehelp wantedtriaged

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

Contributor guide