I'm transitioning an application from SAM to serverless with serverless-offline. My configuration was lacking a runtime definition, so when I attempted to start the simulated backend via serverless start the command failed with Cannot read property 'startsWith' of undefined.
I had to enable debug logging and use the stack trace to look at the source to determine the cause and solution, which I feel hurts usability.
Thanks fro the PR, I'll lint it if you won't.
same issue. How to fix it? I am using google cloud
Serverless-offline is only for AWS sorry :)
Serverless-offline is only for AWS sorry :)
Is this confirmed? i was trying to get my gcloud functions running locally just like i did it with another serverless application in AWS lambda. The AWS lambda works like a charm! but i saw a lot of gaps in the serverless framework implementation for gcloud functions like this one.
Hope this can be included and solved in the next serverless releases =)
That's sad to hear that it only works with AWS. It's kind of the whole point of the serverless framework to be provider-independent