-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Yarn breaks in docker, but not outside #3327
Comments
I see the same thing on WSL (Ubuntu 16.04, node v7.10.0, yarn v0.23,4, lerna v2.0.0-rc.4) Setting the concurrency to 1 helped for now. No problems when I run it straight in windows, nor when the lerna bootstrap is scoped to a single package. |
To be complete, I think this is probably an issue with the latest lerna-update, rather than with yarn itself: lerna/lerna#789 I'll try reverting to rc.3 lerna next |
Ah just found this before seeing! |
I wonder what the |
I tried with lower network ports (<10000) and it gave me the same result. I'll look into providing that log when I have the time. |
That
I've created a test-repo with which I can replicate the behavior: If you have a windows-machine lying around (I know, right?) with WSL installed on it, maybe try running it with
The repo simply tries to install lodash & babel-core in the first and only babel-core in the second. No hoisting. That should be a pretty basic setup, right? It fails with:
Seems an awful lot like it simply ignores the network mutex. Absolutely possible that this is a bug in WSL tho. :) |
Just in case anyone else comes across this thread with similar errors - I had an older version of yarn installed. Uninstalling & reinstalling (or just upgrading the version) of yarn seemed to do the trick. |
Updating the node version in the dockerfile fixed that for me! The newest the version of node, the newest the version of yarn also. https://github.com/nodejs/docker-node/blob/001cfa3930ef8fb02865daaecbe35a3822bec15c/8.9/Dockerfile |
What is the current behavior?
In simple docker container with new install of yarn, running lerna bootstrap with yarn is suddenly no longer working.
If the current behavior is a bug, please provide the steps to reproduce.
Hard to create steps due to complexity here, but error may be helpful.
What is the expected behavior?
It was working fine and installing earlier.
Please mention your node.js, yarn and operating system version.
node 7, yarn 0.23.2, xhyve linux
The text was updated successfully, but these errors were encountered: