I am new to serverless framework and trying to deploy the project via severless deploy (https://serverless-stack.com/chapters/deploy-the-apis.html)
However, when I run serverless deploy, I get this error
functionConfig.events.map is not a function.
Appreciate any suggestion on fixing this.
U found the solution for these error?
It is hard to say without additional information, however, as indicated by the message check the events in your .yml. That is of course, assuming you have already coded your api. The link you sent is only deployment after the api has been coded. Regarding the .yml file; I would check to ensure there is a space between your hyphen ‘-’ and ‘http:’, without the space you will surely get that error.