Source: blog.tomhatzer.com

Fix Livewire Bref cache error on AWS

Category: Laravel

You have possibly seen this error message here: The /var/task/bootstrap/cache directory must be present and writable. There's an easy fix for this. You just have to set the manifest_path in your config/livewire.php file to /tmp/storage/livewire-components.php and the error will be gone. You already have additional information in the livewire config files docblock above the manifest_path setting: /* |-------------------------------------------------------------------------- | Manifest File Path |-------------------------------------------------------------------------- | | This value sets the path to the Livewire manifest file.

If you are using DynamoDB to store your caches, the Laravel Vapor path might not exist and throw another error.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners