I was follow this instruction above and had a problem. Due to the topic, it says that we just need to config the serverless.yaml and run deploy. But the problem is with the configs in the topic, serverless will package the node_modules also, but anyways the server need this to run.
This will lead to an error when we try to deploy:
And we need to add this to avoid the error:
I have found this site say that we need to use serverless webpack:
I personally trying to use the web pack, anyone who knows a solution please help me, because even if i use web pack, the server that i going to deploy is gonna be bigger and bigger later, idk if 250MB is enough.
And also the topic needs to be updated in case someone misunderstanding.