Symfony installation error "Archives may contain the same filename with different case"
P粉337385922
P粉337385922 2023-11-09 16:47:54
0
1
640

I'm trying to create a new Symfony project. When I start the installer:symfony new sitepro --version=6.0.* --webappInstallation starts with 2 errors:

[RuntimeException] The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems): ZipArchive::extractTo(C:User sShiyoDesktopProProjetssitepro/vendor/composer/b67ec329/php-fig-cache-aa5030c/LICENSE.txt): Failed to open stream: Permission denied [ErrorException] ZipArchive::extractTo(C:UsersShiyoDesktopProProjetssitepro/vendor/composer/b67ec329/php-fig-cache-aa5030c/LICENSE.txt): Failed to open stream: Pe rmission denied unable to run C:composercomposer.phar create-project symfony/skeleton C:UsersShiyoDesktopProProjetssitepro 6.0.* --no-interaction

I'm using Windows 10, php 8.1.6. I tried usingcomposerclearcacheto uninstall and install 7-Zip, and I have all permissions to this folder, so I don't really understand why I'm getting this error. thanks for your help!

P粉337385922
P粉337385922

reply all (1)
P粉066224086

The problem is with the Windows desktop folder. It has special rights. I tried another folder and it worked fine!

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!