是否可以在Windows上使用Cygwin通过Yarn开发Node.js应用?

问题描述 投票:1回答:1

我想开始使用纱线。

我正在Windows上使用cygwin,我启动并键入:

$yarn init

我得到:

$ yarn init
yarn init v1.12.3
error An unexpected error occurred: "Can't answer a question unless a user TTY".
info If you think this is a bug, please open a bug report with the information provided in "C:\\home\\code\\repos\\pwa\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/init for documentation about this command.

这是什么意思:“除非用户TTY,否则无法回答问题?] >>

我是否阻止使用cygwin提供的bash壳和纱线?我找不到任何文件告诉我应该下载和使用哪个终端机/外壳。

我需要使用具有脚本,别名,命令行完成功能的bash shell来提高工作效率,并且可以访问用于脚本编写的全部gnu命令,因此,DOS命令提示符或powershell是不可选择的。

我想开始使用纱线。我在Windows上使用cygwin,启动并键入:$ yarn init,我得到:$ yarn init yarn init v1.12.3错误发生意外错误:“无法...

node.js npm yarnpkg
1个回答
0
投票

strong text

© www.soinside.com 2019 - 2024. All rights reserved.