Skip to content

Statamic CLI not compatible with Laravel Installer on Windows #92

@stuartcusackie

Description

@stuartcusackie

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions