Have the same issue.
Apr 25, 2015
6
Level 2
php artisan not working after composer update
Hi, i got same problem like this
https://laracasts.com/discuss/channels/general-discussion/runtimeexception-on-fresh-install/?page=1
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 :
vendor/compiled.php
storage/framework/compiled.php
or
bootstrap/compiled.php
Level 50
See if any of these solutions work for you..
Solution 1
Removed the bootstrap/cache/config.php file.
composer dumpautoload
composer update.
Solution 2
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"
]
Solution 3
php artisan optimize --force
Please or to participate in this conversation.