7

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

Raymond Ativie
  • 1,747
  • 2
  • 26
  • 50

3 Answers3

17

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

Connor Leech
  • 18,052
  • 30
  • 105
  • 150
1

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

FAEWZX
  • 991
  • 7
  • 10
0

Make sure that you are adding '/vendor' in your .gitignore and not 'vendor'. Adding just 'vendor' will ignore all folders named vendor in your codebase and nova resources are in the vendor folder in public folder.

Ali Shaikh
  • 121
  • 2
  • 13