Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect when yarn is hanging, waiting for input #21

Open
sandorfr opened this issue Aug 2, 2017 · 3 comments
Open

Detect when yarn is hanging, waiting for input #21

sandorfr opened this issue Aug 2, 2017 · 3 comments
Milestone

Comments

@sandorfr
Copy link
Member

sandorfr commented Aug 2, 2017

When there is no lockfile, yarn might be hanging waiting for user input. While this is not strictly a but, we need to find a way to detect that and report an error accordingly.

@sandorfr sandorfr added this to the Backlog milestone Aug 2, 2017
@sandorfr
Copy link
Member Author

sandorfr commented Aug 2, 2017

Interessant insights about this can be found here:
yarnpkg/yarn#1658

And there is a solution to explorer here:
https://gist.github.com/ds300/158250f230d1825af8a3edd6e7af9cc0

@sandorfr
Copy link
Member Author

The solution appears to be much simple, there is an undocumented feature : yarnpkg/yarn#3521 (comment)

@sandorfr
Copy link
Member Author

sandorfr commented Dec 16, 2017

Waiting for yarnpkg/yarn#5002 and yarnpkg/yarn#3450 resolution and will include this flag by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant