-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Removing this package on install results in file access error #41
Comments
Seen this before, but I don't have a resolution path. We could probably check for packages scheduled for removal, then skip generation if this package is in the list. |
Happening here too. Will resort to just keeping to dev-packages as is for the time being. |
Unsure what you mean with that? Also, I think that the best solution would be for me to move where the |
Only way to skip this error for me is to install it with |
Looks like a composer thing. Consider following sequence of commands (in an empty directory): composer init --no-interaction
composer require --dev ocramius/package-versions
composer install --no-dev # This one raises ErrorException
composer install --no-dev # No error First run of Replacing mentioned check with testing if directory from |
Just ran into this today because PHPStan now depends on PackageVersions indirectly since 0.8.1. |
Also running into this https://travis-ci.com/wmde/fundraising-backend/jobs/88894597 |
How about using |
@Majkl578 how would that work? Just listen to the event, collect the package names, stop execution? |
@Ocramius Listen to the event and look for UninstallOperation where |
SHINY!
It all depends on the amount of sleepless nights that I can bring to @Seldaek |
I would like to propose an other solution: intervening directly on the error cause. That should be done here, checking if the package folder exists; if it does not, we could skip it, maybe outputting a nice explanation message. Do you like it? I will probably write a brief PR with this approach... |
Handled in #46 |
Steps to reproduce:
The text was updated successfully, but these errors were encountered: