Issue
Running into an issue with composer where I am trying to run a standard install of laravel:
composer create-project --prefer-dist laravel/laravel blog
but it keeps trying to install:
Installing laravel/laravel (v5.5.28)
I have tried the following:
composer clear-cache
composer self-update
rm -rf vendor
,clear-cache
,composer install
nothing seems to be working... any ideas why composer is stuck in this old state?
Solution
You can try that...
composer create-project --prefer-dist laravel/laravel=5.3.* blog
Then
composer update
Also Try running composer global update
to update the Laravel installer in Composer.
If this both options also not working then check PHP Version.
You'll have to install a newer php version.
Answered By - Madhuri Patel
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.