Reputation: 61
I'm trying to create a new Symfony project.
When I launch the installer: symfony new sitepro --version=6.0.* --webapp
The installation start but then there is 2 errors:
[RuntimeException]
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems): ZipArchive::extractTo(C:\User
s\Shiyo\Desktop\Pro\Projets\sitepro/vendor/composer/b67ec329/php-fig-cache-aa5030c/LICENSE.txt): Failed to open stream: Permission denied
[ErrorException]
ZipArchive::extractTo(C:\Users\Shiyo\Desktop\Pro\Projets\sitepro/vendor/composer/b67ec329/php-fig-cache-aa5030c/LICENSE.txt): Failed to open stream: Pe
rmission denied
unable to run C:\composer\composer.phar create-project symfony/skeleton C:\Users\Shiyo\Desktop\Pro\Projets\sitepro 6.0.* --no-interaction
I'm working on Windows 10, php 8.1.6.
I tried composer clearcache
, to uninstall and install 7-Zip and I have all the permissions for this folder so I really don't get why I have this error.
Thanks for your help!
Upvotes: 3
Views: 3740
Reputation: 21
Yes, it is a permissions issue on the folder. Basically, you can't write to that folder due to one of the following reasons:
Upvotes: 1
Reputation: 61
The problem was the Desktop folder of Windows. It has special rights. I tried on an other folder and it work perfectly!
Upvotes: 3