Published 2 years ago by wowrudy
Hi, i got same problem like this
i cannot run php artisan command, it show nothing
and if i do composer update i got this error
Script php artisan clear-compiled handling the post-update-cmd event returned with an error
i dont have any file on my project :
See if any of these solutions work for you..
Removed the bootstrap/cache/config.php file.
composer dumpautoload composer update.
Move php artisan clear-compiled from "pre-update-cmd" to the "post-update-cmd" in your composer.json file
"post-update-cmd": [ "php artisan clear-compiled", "php artisan optimize" ]
php artisan optimize --force