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

贡献者指南