yarnpkg/yarn

Login not supported with —non-interactive

Open

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

在 GitHub 查看
 (11 留言) (8 反應) (0 負責人)JavaScript (41,514 star) (2,731 fork)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

貢獻者指南

Login not supported with —non-interactive · yarnpkg/yarn#3450 | Good First Issue