2
I’m strictly following the indicated in the Laravel documentation to make your installation:
composer global require "laravel/installer=~1.1"
However, after a long delay comes the following return:
Changed current directory to (...)/AppData/Roaming/Composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package lavarel/installer could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
What I might be doing wrong?
I managed to download the package here. It was not a punctual problem?
– Rodrigo Rigotti
Punctual problem two days ago. I imagine it might be some network restriction then. Have some Composer command that tracks or shows the installation log?
– Gê Bender
Use the argument
--verbose
to view the progress log– Rodrigo Rigotti
Make sure everything is all right with the command:
composer diagnose
– Lucio Rubens
composer diagnose
said that everything is ok. Already with the--verbose
remained exactly the same return... :(– Gê Bender
I tried it here and it worked fine! Try to install it the other way (that’s how I usually do it):
composer create-project laravel/laravel --prefer-dist
– Ricardo Cruz
@Ricardocruz, it was precisely what I did and solved the question, now what causes the error in the first option remains a mystery.
– Gê Bender