-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Interferes with other projects when installed globally #38
Comments
Maybe we could check the root composer json requires, and if it doesn't contain |
Is the directory missing? That's indeed a weird scenario (package-versions being removed). The correct solution would probably be to check whether the |
This needs a proper e2e test too, by the way... Not sure how to write it yet. |
The directory is missing, because the local project doesn't specifically require |
@AydinHassan thanks if you can figure out the e2e stuff! Tricky one... |
I found this issue when installing a tool globally which depended on
ocramius/package-versions
.It will then try to write package versions for any other composer project when an update is performed, it will subsequently fail because the folder structure it expects to exist, doesn't.
To reproduce:
The output will be something along the lines of:
Note that for my use-case I do not actually install the tool globally, but another tool which depends on
package-versions
. I just directly installed here to ease the test case.I'm not sure what we could do about this, any ideas?
The text was updated successfully, but these errors were encountered: