-
Notifications
You must be signed in to change notification settings - Fork 23.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed composer's invalid argument exception #4399
Conversation
Fixing a conflict with composer while installing a new laravel 5.5.0 project. Solving composer's exeption: "[InvalidArgumentException] Script "post-install-cmd" is not defined in this package" And, added a script to show the installed laravel version.
Great idea about version! |
i dont have that error
only the env file is not generated |
You just need to update your Laravel installer, as noted in release notes. |
I just got the same Issue. Thanks @taylorotwell for your comment. I forgot to do a |
@laravelish https://getcomposer.org/doc/articles/scripts.md#executing-php-scripts |
@a-komarev thanks for the info, i had installed composer through apt-get which is using the version 1.1.3 |
I was getting that exception error until I updated Composer with It would be nice if the Laravel installer's message was a bit more specific, especially for us newbies to Laravel and Composer. |
This is happening to me with Laravel 6.*. I did "composer global update" too, but that didn't help :( Edit:
However this command: |
Fixing a conflict with the latest composer while installing a new laravel 5.5.0 project.
Solving composer's exeption:
"[InvalidArgumentException]
Script "post-install-cmd" is not defined in this package"
And, added a script to show the installed laravel version.