serverless-offline Questions
1
I'm building an AWS Lambda function and trying to write some integration tests for it. The Lambda function is running locally using serverless-offline plugin and simply receive a GET request with s...
Creath asked 22/2, 2022 at 19:14
2
I would like to run serverless offline using a Lambda function that points to a Docker image.
When I try to run serverless offline, I am just receiving:
Offline [http for lambda] listening on http:...
Knobby asked 3/2, 2022 at 9:7
0
I am serving local NestJS backend using serverless-offline plugin. Sometimes it serves and runs without any issues but sometimes I receive "× [504] - Lambda timeout" error in terminal aft...
Jett asked 6/6, 2023 at 13:17
9
I am running my nodejs code and also installed serverless(npm i -g serverless) but while running it with the command sls offline start --CacheInvalidations I am getting error as:-
Serverless Error ...
Adalie asked 20/8, 2020 at 14:20
3
I am using VS Code for development of AWS Lambda functions, I started using the serverless framework and the serverless offline library but, I am unable to use VS Code's debug mode to locally debug...
Theodor asked 29/4, 2019 at 4:53
1
Solved
I am unable to hot reload when using serverless offline start.
Here is my serverless.yml file
service: function-with-environment-variables
frameworkVersion: ">=3.0.0 <4.0.0"
provi...
Lepidopterous asked 10/11, 2022 at 13:7
1
Solved
I'm trying to invoke a lambda function within the lambda function using Serverless framework. I'm using this code right now and it works fine when deployed to AWS. But it returns some errors locall...
Tucana asked 14/9, 2022 at 14:37
1
I'm trying to figure out a way to debug AWS python lambdas in VS Code using the serverless framework and serverless offline. I have gotten to the point where I can run the lambdas in VS Code, but I...
Bluegill asked 12/3, 2020 at 15:31
1
I'm working on a small serverless offline assignment and I got error Unsupported Media Type when tried to invoke one lambda function in another.
I found a solution but when I tried to applied to ...
Tindall asked 6/6, 2020 at 13:11
2
I've followed the webpack4 example to setup the config: https://github.com/serverless-heaven/serverless-webpack/tree/master/examples/babel-webpack-4
as I got the error "cannot find module source-ma...
Credendum asked 13/9, 2018 at 22:56
4
Solved
You can easily debug your serverless application with the Serverless Framework and the Serverless Offline Plugin when you only have one, but how do you handle the case when you have multiple API Ga...
Viscount asked 6/6, 2017 at 17:38
3
Solved
I am trying to deploy a serverless REST API with NodeJS, AWS Lambda, API Gateway, RDS and PostgreSQL.
So far I've set up the PostgreSQL RDS successfully and before start writing the functions to ha...
Manufacture asked 9/5, 2021 at 5:31
1
Solved
I want to invoke a lambda from another lambda inside serverless-offline .I want to make a serverless offline web application.But I am getting this error:
{ UnknownError: Unsupported Media Type
...
Monkfish asked 6/11, 2019 at 17:17
1
Solved
I am trying to use the serverless-offline library, using the serverless framework,
I have the serverless.yaml file properly configured, with the -
plugins:
- serverless-offline
added to it.
Fo...
Vertievertiginous asked 15/7, 2019 at 6:37
1
Solved
Hi I am trying to access my lambda using my computer's local IP address but am repeatedly getting a Connection refused error.
However if I use:
http://127.0.0.1:3000/my-path
the endpoint works f...
Endoenzyme asked 2/6, 2019 at 8:32
0
I have declared an HTTP Proxy method on my API Gateway resource using CloudFormation syntax (detailed in this earlier post.)
I am trying to attach a custom authorizer, of type "Request", which use...
Jollify asked 13/3, 2019 at 21:58
1
Solved
I am trying to use serverless-offline to develop / simulate my API Gateway locally. My API gateway makes liberal use of the HTTP proxy integrations. The production Resource looks like this:
I ha...
Ghyll asked 12/3, 2019 at 19:50
1
© 2022 - 2024 — McMap. All rights reserved.