Laravel throws 'The bootstrap/cache directory must be present and writable' error after update

后端 未结 12 759
礼貌的吻别
礼貌的吻别 2020-12-14 14:03

I used \'composer update\', which updated a few packages. During the updating process the website still functions. However, after it says \'The compiled services file has be

12条回答
  •  盖世英雄少女心
    2020-12-14 14:30

    Try executing the following commands in your project root directory

    composer update
    

    then do

    composer dumpautoload
    

    this will avoid the necessity of messing with cache files which may lead to whole new sort of issues

提交回复
热议问题