Open sandorfr opened 6 years ago
Interessant insights about this can be found here: https://github.com/yarnpkg/yarn/issues/1658
And there is a solution to explorer here: https://gist.github.com/ds300/158250f230d1825af8a3edd6e7af9cc0
The solution appears to be much simple, there is an undocumented feature : https://github.com/yarnpkg/yarn/issues/3521#issuecomment-304814053
Waiting for https://github.com/yarnpkg/yarn/issues/5002 and https://github.com/yarnpkg/yarn/issues/3450 resolution and will include this flag by default.
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.