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

ENOENT: no such file or directory (on Docker) #3104

Closed
FezVrasta opened this issue Apr 11, 2017 · 3 comments
Closed

ENOENT: no such file or directory (on Docker) #3104

FezVrasta opened this issue Apr 11, 2017 · 3 comments

Comments

@FezVrasta
Copy link

FezVrasta commented Apr 11, 2017

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Yarn fails to install a package dependencies raising:

Error: https://registry.yarnpkg.com/babel-cli/-/babel-cli-6.24.0.tgz: ENOENT: no such file or directory, open '/root/.cache/yarn/v1/npm-babel-cli-6.24.0-a05ffd210dca0c288a26d5319c5ac8669a265ad0/.yarn-tarball.tgz'

If the current behavior is a bug, please provide the steps to reproduce.
https://github.com/FezVrasta/docker-yarn-lerna-bug

What is the expected behavior?
The command should work just fine.

Please mention your node.js, yarn and operating system version.
node 7.5.0
Yarn 0.20.3 (and 0.24@fb40251c5b10bf3b43eed2daaaab53a1aab86f31)

@bestander
Copy link
Member

Is it a docker only problem?
Can this be reproduced with lerna only?

@FezVrasta
Copy link
Author

On lerna side, they fixed it with this approach, but I think Yarn should find a way to allow simultaneous instances to run.

@BYK
Copy link
Member

BYK commented Oct 30, 2017

Yarn now supports a --mutex option to prevent this from happening so closing.

@BYK BYK closed this as completed Oct 30, 2017
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

3 participants