错误符号安装”该档案可能包含具有不同资本化的相同文件名。
我正在尝试创建一个新的Symfony项目。 当我启动安装程序时:Symfony New SitePro -version = 6.0。* - Webapp
安装开始,但有2个错误:
[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
我正在Windows 10,PHP 8.1.6上工作。 我尝试了Coposer ClearCache
,卸载并安装了7个ZIP,并且我拥有此文件夹的所有权限,所以我真的不明白为什么我有这个错误。 感谢您的帮助!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
问题是Windows的桌面文件夹。它具有特殊权利。我尝试在另一个文件夹上,它可以很好地工作!
The problem was the Desktop folder of Windows. It has special rights. I tried on an other folder and it work perfectly!
是的,这是文件夹上的权限问题。基本上,由于以下原因之一,您无法将其写入该文件夹:
Yes, it is a permissions issue on the folder. Basically, you can't write to that folder due to one of the following reasons: