Problem with Composer. I can not find solution on the Stack.
Im new with Symfony, so i have tried to make a new project with this command:composer create-project symfony/skeleton my_project_directory.
I get this result: Failed to download symfony/skeleton from dist: /opt/lampp/htdocs/vendor/composer does not exist and could not be created. Now trying to download from source
In Filesystem.php line 314:
Could not delete /opt/lampp/htdocs/my_project_directory. Can anyone help?
If "/opt/lampp/htdocs/" is general folder of your projects, u need to set access rights to:
chmod g+s /opt/lampp/htdocs/
Now, u need to delete already created "my_project_directory" folder:
sudo rm -rf /opt/lampp/htdocs/my_project_directory
Then create new one with composer command:
composer create-project symfony/skeleton:"6.2.*" my_project_directory
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.