-
Notifications
You must be signed in to change notification settings - Fork 0
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
Probably don't need composer/installers
under composer v2?
#33
Comments
Reproduction:
I think is the root cause of the issue is the line: |
Possible workaround: In your project's own composer.json: "config": {
# **snip**
"allow-plugins": {
"composer/installers": false
}
} |
I should really check Cake 4 compatibility too... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems like this might be the cause of
composer install
creating a/Plugin
root folder and installing every package that has atype: cakephp-plugin
in their owncomposer.json
into that (tracked) folder.It's not clear to me how to detect whether this plugin is being
composer install
ed via composer v1 or v2, but on themaster / 4.x
branch it's probably safe to removecomposer/installers
from thecomposer.json
file in THIS project.The issue is fixed when a different project that runs
composer require loadsys/cakephp-config-read:~4.0
should NOT end up with a rootPlugin/
folder when runningcomposer install
.The text was updated successfully, but these errors were encountered: