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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners