Horizon: The Mix manifest does not exist. (View: /var/www/vendor/laravel/horizon/resources/views/app.blade.php)

Created on 1 Sep 2017  路  8Comments  路  Source: laravel/horizon

When running Horizon on a non-dev environment

Most helpful comment

In case anyone is still struggling with this, I resolved the issue by adjusting my base .gitignore file to have

/vendor/

instead of

vendor/

The first version was causing my public/vendor folder to be ignored and not deployed.

All 8 comments

@dzanfardino you'll want to publish the assets again (looking for a manifest.js file) and hard refresh the page.

php artisan vendor:publish --provider="Laravel\Horizon\HorizonServiceProvider"

Yes re-publish the files and make sure the mix-manifest is correctly pushed to your server.

why is this closed? is this step documented somehwere I didn't find @themsaid ? should we at least put something elsewhere so installing horizon doesn't involve googling and finding this issue?

@acidjazz

It is in fact documented at https://laravel.com/docs/5.5/horizon#installation

thanks @wells i wonder if this could be run w/in composer.json or as a suggested command?

do people commit their public/vendor directory to Github? currently I have it ignored, and I usually include something in my front end build script to copy stuff in there.

In case anyone is still struggling with this, I resolved the issue by adjusting my base .gitignore file to have

/vendor/

instead of

vendor/

The first version was causing my public/vendor folder to be ignored and not deployed.

Yes this should be noted on the vendor ignore path somewhere...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tillkruss picture tillkruss  路  6Comments

sojeda picture sojeda  路  5Comments

RicardoRamirezR picture RicardoRamirezR  路  3Comments

slavarazum picture slavarazum  路  3Comments

crash13override picture crash13override  路  5Comments