yarnpkg/yarn

Login not supported with —non-interactive

Open

#3,450 建立於 2017年5月18日

在 GitHub 查看
 (11 留言) (8 反應) (0 負責人)JavaScript (2,731 fork)batch import
cat-featuregood first issuehelp wantedtriaged

倉庫指標

Star
 (41,514 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南