I've just built and deployed my app (via git), I get the following error with debug set to true.
I've replaced the actual domain with DOMAIN for privacy.
file_get_contents(/var/www/vhosts/DOMAIN/httpdocs/vendor/livewire/livewire/src/Mechanisms/FrontendAssets/../../../dist/manifest.json): Failed to open stream: No such file or directory (View: /var/www/vhosts/DOMAIN/httpdocs/resources/views/layouts/app.blade.php) (View: /var/www/vhosts/DOMAIN/httpdocs/resources/views/layouts/app.blade.php)
I'm using Livewire 3 with wire navigate, no other livewire added yet.
The problem you encounter is that you have put the Laravel application folder in the public directory of your webhosting and it's very unsecure because you expose a lot of sensitive datas as credentials for the database, ...
Ok ... here is summarized what you can do.
clone the repo in a custom folder on your webhosting
go into this folder and install composer
execute composer install
point the domain to the public folder of the Laravel application
Hi,
Has anyone been able to solve this problem? I am currently facing the same problem and do not know how to proceed. I would be very grateful for any advice.
Am I missing something here? Everybody is talking about build/prod commands and manifest.json files. However, the error provided by OP says that the resources/views/layouts/app.blade.php file doesn't exist.
Has OP edited the original question with a new one? 🤔
@graememullins Given the issue is related to Livewire 3 internals, all I can recommend is updating to the latest v3 version, if the issue persists open a new bug report in Livewire's discussion panel and see what Caleb and the core team says.