Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compiled Services Class Has been removed Composer error laravel 5.4

Dears whenever i want to add any Packeg using composer i face below error

"Compiled Services Class Has been removed"

I search many solution like "composer update" etc but still i face this problem due to this error my working is stop. kindly help me whats the original solution. thats the composer installation problem? or what ?

enter image description here

like image 762
alex Avatar asked Mar 20 '17 18:03

alex


1 Answers

The message The compiled services file has been removed. is a info message from the clear compiled command: php artisan clear-compiled.

It is called from php artisan optimize that runs on every composer update or install.

The message is only a info reporting that the file bootstrap/cache/services.php has been removed.

The services.php file will be reconstructed at the next request.

So at the end its a normal info message.

like image 167
dparoli Avatar answered Nov 18 '22 20:11

dparoli