Same issue here, did you ever end up having any luck with this?
Dec 19, 2019
10
Level 3
Vapor: Error when deploying application
Hi guys,
I'm deploying laravel application via Vapor and getting 502 bad gateway error.
Error inside log file:
Caching Laravel configuration{"message":"include(/var/task/vendor/composer/../laravel/nova/src/NovaCoreServiceProvider.php): failed to open stream: No such file or directory","context":{"exception":{"class":"ErrorException","message":"include(/var/task/vendor/composer/../laravel/nova/src/NovaCoreServiceProvider.php): failed to open stream: No such file or directory","code":0,"file":"/var/task/vendor/composer/ClassLoader.php:444"},"aws_request_id":null},"level":400,"level_name":"ERROR","channel":"development","datetime":"2019-12-19T13:16:21.867261+00:00","extra":{}}
Vapor.yml file:
development:
memory: 1024
cli-memory: 512
build:
- 'composer install'
- 'php artisan event:cache'
- 'npm ci && npm run prod && rm -rf node_modules'
Even tried to print something in public/index.php file and then exit() it, so there should not be any need to require vendor files, but still getting the exact same error.
Any ideas ?
Please or to participate in this conversation.