我正在嘗試建立一個新的 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 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
我正在使用 Windows 10、php 8.1.6。
我嘗試使用 composerclearcache
來卸載並安裝 7-Zip,並且我擁有此資料夾的所有權限,所以我真的不明白為什麼會出現此錯誤。
感謝您的幫忙!