Bref serverless get memory error

I’m using an ubuntu 16.04 local server in a vagrant box. I use Laravel 8 as my framework. When I use to deploy my code to serverless it pops below error

Cannot read file vendor/aws/aws-sdk-php/src/ClientSideMonitoring/Exception/Configurat
ionException.php due to: ENOMEM: not enough memory, open ‘/web/

what should I do about this error?