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

Statamic CLI not compatible with Laravel Installer on Windows #92

Open
stuartcusackie opened this issue Nov 12, 2024 · 1 comment
Open
Labels

Comments

@stuartcusackie
Copy link

stuartcusackie commented Nov 12, 2024

This is probably closely related to this issue.

If I remove all of my global composer dependencies then composer global require statamic/cli works fine.

If I first require the laravel installer with composer global require laravel/installer then I get a conflict:

statamic/cli 1.0 requires symfony/console ~2.3|~3.0 -> found symfony/console[v2.3.0, ..., v2.8.52, v3.0.0, ..., v3.4.47] but the package is fixed to v7.1.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - statamic/cli[1.0.1, ..., 1.0.5] require symfony/console ~2.3|~3.0|~4.0 -> found symfony/console[v2.3.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.49] but the package is fixed to v7.1.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - statamic/cli 1.0.6 requires symfony/console ~2.3|~3.0|~4.0|~5.0 -> found symfony/console[v2.3.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.49, v5.0.0, ..., v5.4.46] but the package is fixed to v7.1.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - statamic/cli[2.0.0, ..., 2.1.2] require symfony/console ^4.0|^5.0 -> found symfony/console[v4.0.0, ..., v4.4.49, v5.0.0, ..., v5.4.46] but the package is fixed to v7.1.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - statamic/cli[2.2.0, ..., 2.6.0] require symfony/console ^4.0|^5.0|^6.0 -> found symfony/console[v4.0.0, ..., v4.4.49, v5.0.0, ..., v5.4.46, v6.0.0, ..., v6.4.14] but the package is fixed to v7.1.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - statamic/cli[3.0.0, ..., 3.4.1] require laravel/prompts ^0.1.3 -> found laravel/prompts[v0.1.3, ..., v0.1.25] but the package is fixed to v0.3.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires statamic/cli * -> satisfiable by statamic/cli[1.0, ..., 1.0.6, 2.0.0, ..., 2.6.0, 3.0.0, ..., 3.4.1].

The laravel installer is version 5.9.

@jasonvarga
Copy link
Member

Yep they updated to symfony process+console 7 and we don't have it.

laravel/installer#302

Should be simple enough.

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

No branches or pull requests

3 participants