Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel 5.7 Nova - The Mix manifest does not exist (on server)

I set up laravel Nova locally last night, tested it, used it, everything works great on my local machine.

Uploaded it to the server, and everything works great except when i head to /nova which rightfully redirects me to /nova/login but then presents me with this error

The Mix manifest does not exist. (View: /home/loanappboi/nova/resources/views/auth/layout.blade.php)

i'm using shared hosting, and i uploaded the files to the root, and uploaded the public folder content, into public_html (i did the necessary file updates to reflect this change)

What could be the cause of this? i need help

like image 622
Raymond Ativie Avatar asked Feb 11 '19 07:02

Raymond Ativie


2 Answers

I got this same error. Running php artisan nova:publish fixed it for me. You need to have the nova resources generated.

like image 137
Connor Leech Avatar answered Sep 29 '22 12:09

Connor Leech


mix() helper function use /public/manifest-json.js

Set it in config

mix.setPublicPath('public_html/')

OR

use link to public

ln -s ./public ./public_html

For Apache Options FollowSymLinks

like image 40
FAEWZX Avatar answered Sep 29 '22 12:09

FAEWZX