2
I recently installed Ubuntu on my machine and am preparing the environment to work with Laravel. Everything is working except that I can’t create the Laravel project when I run command
composer create-project laravel/laravel projeto
It keeps running endlessly, and nothing happens. No error message is displayed, and nothing is installed. I tried to download the Composer again and now it keeps making eternal donwload. As soon as I installed Ubuntu, I was able to do the Poser dowload, after that I made an update that Ubuntu was asking for and so I can’t use Composer anymore, I can’t say that the update is responsible for that. I appreciate all your help.
When you download the first time it creates a copy in the Composer folder, you may have installed it in an inaccessible folder. Tell me you came to try the Artisan command or enable it?
– Guilherme Nascimento
sudo composer create-project laravel/laravel projeto
– Diego Souza
sudo does not resolve Zoom I tried before.
– Ziru Zanrgeiff
@I did not try because nothing was installed. And I tried to install other packages with Composer and it happens the same, I tried a self-update and it happens the same, keeps running and never ends.
– Ziru Zanrgeiff
I got to clear the Composer cache too and did not solve, I downloaded a manual version of Composer.phar and tried to run it to download the packages and it did not work.
– Ziru Zanrgeiff
Wait, but are you trying to install something without installing the "initial" yet? Do the following just to be sure, use this command
composer create-project --prefer-dist laravel/laravel projeto
– Guilherme Nascimento
@Guilhermenascimento the problem persists. The code I used above, had already worked other times, I picked it up on Laravel’s own website, and in an laracast video.
– Ziru Zanrgeiff
Already tried to install in another directory ?
– Diego Souza