Composer create-project fails with laravel/laravel — Solution

Composer create-project fails with laravel/laravel — Solution

4 minutes ago

Looks like laravel use the post-install-cmd to run things, but as there is no composer.lock laravel does not treat it as an install. Instead laravel should be binding their actions to post-create-project-cmd.

https://github.com/composer/composer/issues/5067

https://github.com/composer/composer/issues/5066

https://github.com/laravel/framework/issues/12742

Guess we will have to wait for one or the other to resolve it.

Solution:

Luckily the fix is easy and only requires a moving the php artisan clear-compiled to the post-update-command:

You can see the complete changelog here.

Full access post’s link:

http://www.laravelfeed.com/blog/composer-create-project-fails-with-laravellaravel-solution

Originally published at www.laravelfeed.com.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.