Errors while creating a new project with WSL2, Docker and Laravel
Hello, i am having these errors when trying to create a new project with Docker using the command:
curl -s h ttps://laravel.build/project | bash (i separate the h because it is taken as a link)
It seems like everything is going well until the end when it throws these errors:
-
Installing spatie/ignition (1.4.5): Extracting archive
-
Installing spatie/laravel-ignition (2.0.0): Extracting archive
Install of fakerphp/faker failed
Install of nesbot/carbon failed
Install of monolog/monolog failed
Install of league/commonmark failed
Install of laravel/serializable-closure failed
Install of laravel/framework failed
Install of laravel/sail failed
Install of laravel/sanctum failed
In Filesystem.php line 314: Could not delete /opt/try/vendor/composer/3f779ba1/briannesbitt-Carbon-4967 128/src/Carbon/Lang:
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [ [ []]]
bash: line 19: ./vendor/bin/sail: No such file or directory
bash: line 20: ./vendor/bin/sail: No such file or directory
sudo apt-get update to see if it get fixed, but no.
Please or to participate in this conversation.