try to enable the debug in your .env (set to true) file it will give you more details about the error and check if you generate a key via php artisan key:generate
500 Internal Error when Deploying
Hi guys I am trying to deploy my first ever site, I thought it would be as easy as link the repository and all would be fine since it works locally however I guess that's never the case!
I'm using Laravel Forge with AWS Servers, the layout of the website is there I just get an internal server error with the data. I followed the Gaming Aggregator series and it all works locally. - https://github.com/JordHemsworth/GameAPI -
However when putting it to the server I get these errors in the console browser - Failed to load resource: the server responded with a status of 500 (Internal Server Error) /livewire/message/recently-reviewed:1
Failed to load resource: the server responded with a status of 500 (Internal Server Error) /livewire/message/popular-games:1
Failed to load resource: the server responded with a status of 500 (Internal Server Error) /livewire/message/most-anticipated:1
Failed to load resource: the server responded with a status of 500 (Internal Server Error) /livewire/message/coming-soon:1
DevTools failed to load source map: Could not load content for http://35.173.49.241/js/shifty.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
In the laravel log this is the most recent error - 2022-01-20 12:41:44] local.ERROR: View [app] not found. {"exception":"[object] (InvalidArgumentException(code: 0): View [app] not found. at C:\Users\Jord\Coding\GameAPI\vendor\laravel\framework\src\Illuminate\View\FileViewFinder.php:137) [stacktrace]
- But I'm not really sure what it is saying when it all works locally.
Any ideas?
Please or to participate in this conversation.