我使用了'composer update',它更新了一些软件包.在更新过程中,网站仍然有效.但是,在显示"已编译的服务文件已被删除"之后,该网站未加载,而是说:
Exception in ProviderRepository.php line 190:
The bootstrap/cache directory must be present and writable.
Run Code Online (Sandbox Code Playgroud)
最奇怪的是,当我再次运行'composer update'时,网站再次开始工作,直到删除编译的服务文件,此时它再次抛出相同的错误.我已经尝试了当出现此错误时应该执行的常规操作(chown -R all to right user/group and chmod all files and files 664和775).
我不知道该怎么做,因为错误似乎不正确.