Closed mogaal closed 4 years ago
Fixed, everything was because I had serverless-http
line in plugins (under serverless.yaml
who knows why ¯_(ツ)_/¯
plugins:
- serverless-http
- serverless-offline
Just removing it fixed everything. Thanks a lot anyway
oh wow, haha I took a peek at your code but I did not see that. interesting bug! glad you got it sorted
Shouldn't you had to have this line in the plugins section of the serverless.yml in order to have it work on AWS?
No, it's not a plugin, it's a library. It doesn't even require that you use the Serverless framework. You could use terraform or SAM
Fixed, everything was because I had
serverless-http
line in plugins (underserverless.yaml
who knows why ¯(ツ)/¯plugins: - serverless-http - serverless-offline
Just removing it fixed everything. Thanks a lot anyway
That's because when you do serverless plugin install --name serverless-http
the serverless framework puts that line in the .yml
file for you, I wonder about this...
Hello, I've been trying to implement a simple hello world with express, serverless-offline and serverless-http but I am just giving up :-(. Basically I'm always getting
Error: Unsupported framework
:All the source code is public here (my learning repo). Mostly I have been following this guide
I've tried with Koa, downgrading express, downgrading serverless-http to
v2.1.0
but not luck. After posting this I am gonna try downgrading node but... ¯_(ツ)_/¯Thanks in advance.
PD: I'm not JS expert so apologies if it is something very obvious. I also realised something else is on the same page
My environment