search

Home  >  Q&A  >  body text

Symfony installation error "Archives may contain the same filename with different case"

I'm trying to create a new Symfony project. When I start the installer: symfony new sitepro --version=6.0.* --webapp Installation 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 using composerclearcache to 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粉337385922P粉337385922467 days ago824

reply all(1)I'll reply

  • P粉066224086

    P粉0662240862023-11-10 00:42:42

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

    reply
    0
  • Cancelreply