Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

laravel [InvalidArgumentException] Script "post-install-cmd" is not defined in this package

Laravel 5.5 was released yesterday and I am trying to install, but i have a problem after installing the update. The output:

[InvalidArgumentException] Script "post-install-cmd" is not defined in this package"

How can I fix this error?

like image 287
tejoprabowo Avatar asked Aug 31 '17 00:08

tejoprabowo


1 Answers

Do composer global update before laravel new <project-name> and you'll be alright. It will update your laravel installer to its latest version to support Laravel 5.5 LTS.

see comment in Fixed composer's invalid argument exception

like image 63
Gayan Avatar answered Oct 18 '22 11:10

Gayan