Skip to content
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

Composer Allow Plugin #1

Open
adrolli opened this issue Dec 21, 2023 · 0 comments
Open

Composer Allow Plugin #1

adrolli opened this issue Dec 21, 2023 · 0 comments

Comments

@adrolli
Copy link
Member

adrolli commented Dec 21, 2023

Composer needs roots/wordpress-core-installer as allowed plugin. If installed on a local machine, composer automatically asks:

roots/wordpress-core-installer contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins

So a simple y solves the problem.

But installing it interactively, like with Forge on Hetzner, installation fails without manually adding

        "allow-plugins": {
            "roots/wordpress-core-installer": true

to composer.json.

Do a short research on this, to:

  1. Find a better solution
  2. Only leave the note in README

Note: when the project is locally composered, the problem is already solved before deploying with Forge. The only constellation to reproduce is to create a new Laravel, require the Press package and try to deploy with Forge without even building it locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant