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
Command create-project fails on plugins #10935
Comments
Moved to #10928 (comment) |
Thanks - that was actually a great find thanks to the plugin security feature, as plugins from the CWD had no business being loaded here when running create-project. |
We are also experiencing the exact same issues in the exact same scenario for |
Keeping open until I had time to investigate further what @secretsayan reported. In the meantime feel free to try with |
@secretsayan can you describe some more what you are seeing with composer-normalize also works with the CWD's composer.json AFAIK, so not sure what you were referring to. Anyway I'll close this again.. If you have a clear repro case for either of these issues please open a new issue with details. |
@secretsayan sorry I spoke too fast - I dug into ergebnis/composer-normalize#865 and realized the problem could be dealt with internally much better. 0e59fbb should resolve your issues with validate command as well as normalize. |
Thanks @Seldaek, this will solve a lot of issues we are currently facing :) |
@Seldaek I have checked with Composer 2.3.10 and I found that But issue still remains with |
Hello,
create-project
fails if it foundcomposer.json
with plugin in current working directory.It creates this
composer.json
:Now if I run
create-project
in same directory (I used it on Github Actions) it fails:With option
--no-plugins
it works fine:The text was updated successfully, but these errors were encountered: