After composer update
I got an error:
In Filesystem.php line 146:
rename(/var/www/bootstrap/cache/packages.phpE7r5E4,/var/www/bootstrap/cache /packages.php): No such file or directory
Artisan commands don’t work anymore. Already tried:
composer du composer install composer update
Advertisement
Answer
I found the problem, my windows docker (version 2.1.0.3) sometimes fails to execute. I don’t know how it looks like the packages.php
file just got locked. So here is the recipe to fix:
- I restarted windows,
- deleted all the files inside
bootstrapcache
- started the containers
- run
artisan optimize
- run
composer du
Everything went back to work like a magic. 🙂