yarnpkg/yarn

Login not supported with —non-interactive

Open

#3,450 opened on 2017年5月18日

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

説明

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

コントリビューターガイド