juanjoDiaz / serverless-middleware

Serverless plugin to allow middleware handlers configured directly in serverless.yaml
MIT License
18 stars 11 forks source link

Update docs for sls offline #7

Closed davidyoung77 closed 4 years ago

davidyoung77 commented 5 years ago

Hi nice work with this, it is awesome.

I spent a good while figuring out why this wasn't working, it came down to the project I am working was being started with sls offline and needed to be started with sls offline start in order for this project to be initiated.

juanjoDiaz commented 5 years ago

Not sure which version of serverles-offline you are using but sls offline works just fine for me using version ^5.12.0

shadrech commented 4 years ago

@davidyoung77 Was probably due to the fact that you're using serverless-webpack and you have to run serverless offline start when using that plugin