Skip to content

composer create-project command fails with "Could not find package sylius/plugin-skeleton with stability stable..." #297

@olimination

Description

@olimination

If I execute the following command:

composer create-project sylius/plugin-skeleton IronManSyliusProductOnDemandPlugin

as described here:

I receive this error:

[InvalidArgumentException] 
Could not find package sylius/plugin-skeleton with stability stable in a version installable using your PHP version, PHP extensions and Composer version.

I can execute the command successfully if I use for example the -s dev option or if I set a specific branch or version like this:

composer create-project -s dev sylius/plugin-skeleton IronManSyliusProductOnDemandPlugin

or

composer create-project sylius/plugin-skeleton:SOME_VERSION IronManSyliusProductOnDemandPlugin

Is this the intended way to go? If yes, we should update the docs probably stating that the composer stability option should be set to dev or a specific version/branch should be set.

Or maybe we just need to create a new "non-dev" tag in the repository, because the latest tag currently is an "ALPHA" release tag v1.10.0-ALPHA.1 .

Same issue has already been reported once here: Sylius/Sylius#7925

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions