Jul 30, 2020
0
Level 1
Getting error after deploying to AWS Serverless using vapor
Hi I am new to Laravel and Serverless and Vapor (basically I have been asleep for the last 5 years and someone sent an email about something called vig*ara or something like that which woke me up)
I am trying to deploy someone else's code.
The site works fine if I try to run it on Ubuntu 20 using apache but when I deploy using vapor I get the following in cloudwatch logs.
Caching Laravel configuration[2020-07-30 15:00:46] simplicert-dev.ERROR: Orangehill\Iseed\IseedServiceProvider::boot(): Failed opening required '/var/task/vendor/autoload.php' (include_path='.:/opt/vapor/lib/php') {"exception":"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 64): Orangehill\Iseed\IseedServiceProvider::boot(): Failed opening required '/var/task/vendor/autoload.php' (include_path='.:/opt/vapor/lib/php') at /tmp/vendor/orangehill/iseed/src/Orangehill/Iseed/IseedServiceProvider.php:23)
Not sure how to troubleshoot.
Any pointers?
Or should I just go back to bed?
Please or to participate in this conversation.