Fix this error
Fix common errors
Paste the error message you got. Each page explains why it happens and the exact steps to fix it, for Laravel, PHP, MySQL, Composer, npm and more.
3 errors tagged #deployment · Show all
Laravel: Vite manifest not found
Vite manifest not found at: /var/www/html/public/build/manifest.json
The page uses @vite(...) but the front-end assets were never built, or the public/build folder was not uploaded to the server. Locally it also happens when npm run dev is not runni...
laravel
vite
deployment
Laravel: No application encryption key has been specified
No application encryption key has been specified.
APP_KEY in .env is empty or missing. Laravel needs it to encrypt cookies and sessions. This usually happens right after cloning a project or copying .env.example, or when an old ca...
laravel
deployment
Laravel: storage/logs/laravel.log could not be opened: Permission denied
The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied
The web server user (often www-data, nginx or apache) cannot write to storage/ or bootstrap/cache/. This happens after uploading files as another user, running artisan as root, or...
laravel
linux
deployment