-
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
Failing to install big sized module #6221
Comments
This seems to be happening with smaller package too. Simple use-case, in an empty directory - |
@eugene1g I don't think this is the same issue. In your case, it apparently finishes, but it's not correctly installed. In my case, I get stuck at
|
@FredyC I'm encountering the same problem as you when trying to install |
Well, Yarn 1.7.0 seems to be working as well, so it's probably a bug coming from some changes between those versions. |
I have the same problem (with @material-ui/icons too). Here is the error from yarn-error.log :
|
Turns out that 1.7.0 has this issue as well, it just hasn't manifested itself randomly. The workaround mentioned in some other places about using eg. It seems that it's not really network related, but it takes quite a long time to just unpack it. There are many small files (42K files) and without SSD it can be understandable it takes quite a long time. However, in my opinion, this should be separated from actual fetching and don't use a timeout while unpacking. It does not make sense why would you interrupt the process that cannot be really faster. |
I agree with @FredyC, my first suspicion was that unzipping is mistakenly included in the download time measurement. |
We have managed to migrate completely toward |
oh huh, we're having the problem with |
Was having trouble with this and other packages causing network-connection-timeout issues on MacOS Mojave. I then disabled spotlight indexing on my dev directories per #6453. It seemed to fix the issue instantly and fixed very long Occasionally, an anti-virus scan can cause similar issues, but it is usually easy to spot and stop in Activity Monitor` |
Closing as fixed in v2 where the timeout logic is less susceptible to this sort of issue |
open the command prompt as an administrator and write the command yarn set version stable after that restart the terminal and try to reinstall mui icons library |
Do you want to request a feature or report a bug?
Bu
What is the current behavior?
It's really strange. Trying to install
material-design-icons
module fails withThere appears to be trouble with your network connection. Retrying...
every time. I can install anything else and I can even download the module directly from the url it's saying...I first encountered this issue on a freshly installed Windows computer with latest 1.9.2. Trying to install the same module with 1.7.0 seems to be working just fine.
Just a thought, but that module has over 30MB gzipped. Any chance it's too big and it just timeouts before it gets downloaded? Although I am sitting on 300Mbit connectivity, so it doesn't really take more than a couple of seconds.
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
To install that module successfully.
Please mention your node.js, yarn and operating system version.
Yarn 1.9.2, NodeJS 10.8.0, Windows 10 x64
The text was updated successfully, but these errors were encountered: