Skip to content

Unable to install new dependencies when using Sail  #570

@tuannpa

Description

@tuannpa
  • Laravel Version: 10.5.1
  • PHP Version: 8.2.4
  • Database Driver & Version: mysql 8.0
  • OS: Ubuntu 20.04, 22.04

Description:

I installed Laravel with Sail using WSL2 and whenever I tried to install new packages, it gave the following error from ZipDownloader.php:

The archive may contain identical file names with different capitalization (which fails on case insensitive filesys tems): ZipArchive::extractTo(/var/www/html/vendor/composer/e0174f41/symfony-psr-http-message-bridge-a125b93/Argumen tValueResolver/PsrServerRequestResolver.php): Operation failed: Operation not permitted

ZipArchive::extractTo(/var/www/html/vendor/composer/e0174f41/symfony-psr-http-message-bridge-a125b93/ArgumentValueR esolver/PsrServerRequestResolver.php): Operation failed: Operation not permitted

image

Steps To Reproduce:

  1. Download Ubuntu (any version, I used 20.04, 22.04) from Microsoft Store.
  2. Open Ubuntu and start a fresh installation of Laravel Sail.
  3. Execute up command with: sail up.
  4. Install specific package like laravel/passport: sail composer require laravel/passport.
  5. Observe the error as per screenshot.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions