8000 Can't generate new site via CLI due to symfony console version · Issue #32 · statamic/cli · GitHub
[go: up one dir, main page]

Skip to content
Can't generate new site via CLI due to symfony console version #32
@fitzage

Description

@fitzage

This really appears to be a laravel issue with Symfony Console 5.3.x, so I'm not sure there's anything you can do. Reporting this issue primarily for others looking for the solution.

When attempting to create a new site using the CLI, I got an error "The no-ansi option does not exist."

Based on this answer on stackoverflow, I downgraded the composer Symfony Console module globally with composer global require symfony/console:5.2.x and then composer global update, although the last step seemed unnecessary.

After this fix, running the statamic new <site-name> command again worked as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0