-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Requiring new package runs into a timeout #11190
Comments
Could you try again with
|
I executed the following:
and I had another package that was already present in the composer.json that also created a timeout, the error for the second one looks like this:
The output for the first one (
At the time of writing, the exception still hasn't occured, I guess I'll update this comment with the rest, as soon as the command is done. EDIT: here's the rest
|
@Seldaek I think I figured it out. So clearly, this is not a problem of composer itself but on the host machine. But maybe, just maybe, a quick "enough space available on destination device" could be added sometime in the future. You can close this issue, unless you'd like to pursue the idea of an available diskspace check later on. Best Regards |
We do have some warning if you have less than 1MB free https://github.com/composer/composer/blob/main/src/Composer/Console/Application.php#L439-L452 - but you didn't see those, maybe we shuold increase the limit a bit? |
I think it depends on the systems, but 1MB does indeed seem a bit low. In my case, a standard project can have a |
Bumped the warning to appear if things fail and disk space is <100MB, we'll see how this goes. I don't think it's worth the effort to make this configurable tho |
My
composer.json
:Output of
composer diagnose
:When I run this command:
I get the following output:
And I expected this to happen:
Installation of required package.
Important additional information: as discussed with Nils Adermann through the packagist.com Customer chat,
composer --no-cache req cabag/ext-cabag-import dev-typo3-v11
worked, opposed to first clearing the cache.I also assume that this might be a problem with mac OS Ventura or git 2.38.1, but no matter the case, running with
--no-cache
solved the problem for me.The text was updated successfully, but these errors were encountered: