Skip to content

Directory name is invalid on clear chace #58480

@DIOHz0r

Description

@DIOHz0r

Symfony version(s) affected

7.1.1

Description

I'm getting this message after running a composer command.

...
Run composer recipes at any time to see the status of your Symfony recipes.

Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 1
!! The directory name is invalid.
!!
Script @auto-scripts was called via post-update-cmd

How to reproduce

  1. Start a new project

symfony new test-app --api

  1. Install package symfony/test-pack

composer require test

Possible Solution

No response

Additional Context

PHP 8.3.8 (cli) (built: Jun 4 2024 18:52:26) (NTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.3.8, Copyright (c) Zend Technologies
with Xdebug v3.3.2, Copyright (c) 2002-2024, by Derick Rethans

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions