Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
135 views

I'm having issues trying to get Serverless Framework (using the Offline plugin) to be able to use the ApiGatewayManagementApiClient to send WebSocket responses offline. It's probably just using the ...
freebie's user avatar
  • 1,677
0 votes
0 answers
51 views

As the title says, I'm encountering this error when running in SLS Offline. I just want to confirm if EventBridge Scheduler really isn't supported by SLS Offline? resources.ts export const resources = ...
EJCris's user avatar
  • 1
-1 votes
1 answer
474 views

I have a problem migrationg my big app in serverless v3 to v4. I'm using typescript and I develop in local using serverless-offline. But after change all configurations introduced by v4 and run sls ...
throrin19's user avatar
  • 18.2k
1 vote
0 answers
97 views

When using serverless offline, logs aren't logged to console instead returned as an HTTP response when triggered as an endpoint serverless.yml service: go-sls # Define your service name provider: ...
Belle_meee's user avatar
1 vote
1 answer
147 views

I have a Nest JS Lambda backend and I am using serverless-offline module to run it locally and connect to my local Postgres database. My serverless.yml file looks like service: wbx-borrower-onboarding-...
codeinprogress's user avatar
0 votes
0 answers
48 views

--- import re def extract_file_content(event): if isinstance(event['body'], str): try: file_content = event['body'].encode('utf-8', errors='ignore') except ...
kirthika S's user avatar
0 votes
1 answer
588 views

I am getting this error trying to run serverless offline: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/mypc/Downloads/textai/src/functions/processExpenseAnalysisJob.js' imported from /home/...
Ger's user avatar
  • 1
0 votes
1 answer
357 views

I have SQS -> triggers a lambda(code that needs to be tested) -> where its workflow -> can trigger other lambdas in multiple API Gateways (already deployed in AWS) Is there a way I can ...
enigmatic's user avatar
-1 votes
1 answer
474 views

Hello Stack Overflow community, I'm facing an issue with the Serverless Framework and the serverless-offline plugin where I'm getting a "route not found" error despite having the correct ...
Haris Ali Mughal's user avatar
2 votes
1 answer
17k views

Hello :) Hope to find you well. I am trying to set test my serverless environment locally via the serverless-offline node package. Here is my serverless.yml file: org: etisreal11 app: leaderboards-api ...
ETisREAL's user avatar
  • 176
1 vote
1 answer
813 views

I have a certain number of APIs which are being migrated to AWS. These APIs are based on Nest.js and for local development, I simply run the application which bootstraps a web server and I can invoke ...
Parthiva's user avatar
  • 310
1 vote
4 answers
390 views

i'm running my serverless with serverless offline library, i'm running using sls offline and i have several. how i detect is my lambda API triggered from localhost or server? thank you i already try ...
Muhammad Ibrahim's user avatar
1 vote
1 answer
729 views

I am migrating a serverless application to it's most recent versions. This is the starting point: "devDependencies": { "serverless": "^2.43.1", "serverless-...
Marco's user avatar
  • 24.2k
7 votes
0 answers
2k views

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 after ...
hawran's user avatar
  • 238
1 vote
1 answer
1k views

I'm currently converting a serverless AWS lambda microservices API over to typescript. I'm hoping I can maintain the existing js files while adding more ts files as we move on. I'm having some trouble ...
Real World's user avatar
  • 1,719
-1 votes
1 answer
848 views

I have an RDS db and an RDS Proxy handling my connections to it. RDS Proxy is only accessible from within the same VPC. I want to be able to locally test a Lambda I've written to connect to it. If I ...
SebJS74's user avatar
  • 31
1 vote
0 answers
253 views

I am in trouble with the serverless-offline plugin: When my serverless is deployed to aws cookies works fine, But it's doesn't work on localhost with plugin. I saw somewhere than it's will perhaps be ...
17J4CK's user avatar
  • 11
0 votes
1 answer
1k views

I am running a graphql server using serverless offline and trying to connect to the server with Aollo Studio. The weirdest bug is that it was connecting properly a week back and now the exact same ...
Shadab's user avatar
  • 403
0 votes
1 answer
727 views

Found some solutions where it was mentioned that by adding --reloadHandler it should work however i am getting below message when tried the command : serverless offline start --reloadHandler Running &...
Yadvendra Kumar's user avatar
1 vote
1 answer
2k views

I want to load env variables from .env file, when running locally, So here's my serverless.yaml file, functions: health: handler: src/api/health.check name: ${self:provider.stackName}-health ...
Nobody's user avatar
  • 430
1 vote
2 answers
599 views

I have a Nodejs API that returns a PDF file in the response. It returns the PDF as binary data. On my frontend, I use a package called React-PDF which takes the PDF endpoint url and fetches the data ...
dividebyzero's user avatar
0 votes
1 answer
201 views

I'm developing a server with AWS Lambda on Serverless Framework, and using serverless-offline to test locally. I just want to send cookies to my react app. backend code. import { ...
hardyeats's user avatar
7 votes
1 answer
10k views

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" provider:...
Mateen Kiani's user avatar
  • 3,383
0 votes
1 answer
1k views

Currently, every time I need to use serverless offline, I have to set my function handler in serverless.yml to the main.go of the function as such: hello: handler: src/hello/main.go memorySize:...
ttng_'s user avatar
  • 27
0 votes
1 answer
517 views

I want to boot a memory mongodb for my local development with serverless This is the plugin I did const { MongoMemoryServer } = require('mongodb-memory-server') class MongoMemoryServerPlugin { ...
Ajouve's user avatar
  • 10.2k
5 votes
4 answers
6k views

I have the following issue... turns out I cannot test locally my aws lambda function over serverless-offline plugin in serverless framework for nodejs. Cannot do a simple GET request. I am able to ...
Jorge Ortiz's user avatar
1 vote
4 answers
6k views

I have a project in Node16 where I am trying to use Serverless-offline plugin. But I do not know how to make it work. This is how I set up the plugin in the serverless.yml file: And these are the ...
Estefania Castro Vizoso's user avatar
6 votes
1 answer
3k views

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 locally ...
Mahesh Samudra's user avatar
2 votes
2 answers
2k views

I installed serverless-offline with the following command npm install serverless-offline --save-dev This is the version that was installed: "serverless-offline": "^10.0.0" and ...
webber's user avatar
  • 795
1 vote
1 answer
622 views

I use pycharm and wanted to know if there is a way to debug Amazon Serverless Offline with it. I found this guide, but though it gives some knowledge on how to interactively debug using an IDE it didn'...
Alvaro Rodriguez Scelza's user avatar
3 votes
1 answer
2k views

(I am using machine translation.sorry) I'm building a local environment for appsync using a serverless framework Serverless-dynamodb-local Serverless-appsync-simulator Serverless-offline I got an ...
account web's user avatar
1 vote
1 answer
981 views

Setup I'm building a serverless application that uses a website frontend. The website sends queries to the API, which connects to the database. The infrastructure is hosted on the AWS, but the problem ...
Marceli Wac's user avatar
2 votes
0 answers
175 views

I using a serverless-offline to run AWS-lambda locally on my Mac book. Then I fetch the endpoint to remove 1 user's data. Here is the code: export const deleteItem = async <T extends BasePersistent&...
Kody Liou's user avatar
  • 153
1 vote
1 answer
2k views

I'm trying to write a trio of Cognito AuthChallenge lambdas for custom auth flow. I wanted to use serverless-offline to develop and test the lambdas locally with nodejs (also in jest tests in cicd ...
Kuba's user avatar
  • 540
1 vote
0 answers
441 views

I am writing a serverless application. It uses an already created dynamodb table and hence configured properly in serverless.yml file. Now, I want to run mock test locally using serverless-offline and ...
Usama Shahid's user avatar
3 votes
1 answer
4k views

I'm playin around with Serverless and I have no luck getting serverless-offline to work with serverless-dynamodb-local. I have very minimal setup, it takes 3minutes to reproduce, I did it like this: ...
Pauli's user avatar
  • 772
1 vote
0 answers
812 views

I'm trying to run a Symfony application with Bref and serverless-offline. I know that Bref doesn't officially support serverless-offline, but I want to give it a shot; this thread - https://github.com/...
umulmrum's user avatar
  • 183
2 votes
0 answers
775 views

While using serverless offline for Golang. On sending any request from Postman GET /users (λ: getUsers) ✖ ENOENT: no such file or directory, open '~/Desktop/Reponame.go' However the same works fine ...
Swetank's user avatar
  • 141
7 votes
1 answer
1k views

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 some ...
Bruno Peres's user avatar
  • 16.5k
2 votes
1 answer
3k views

We are a Terraform shop for standing up our infrastructure on AWS and I am using AWS SAM Local to: Test AWS Lambdas locally without having to deploy on the cloud. I can also run integration tests on ...
Jaf's user avatar
  • 961
2 votes
1 answer
1k views

I am trying to run locally a serverless application, but it is throwing this error: Stack with id <my_stack_id> does not exist I didn't deploy the stack yet, just trying to run it locally. It ...
cracksuxer's user avatar
7 votes
2 answers
5k views

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://...
Carlos's user avatar
  • 303
2 votes
1 answer
299 views

What is the best way to debug Typescript Serverless framework functions deployed to AWS Lambda without using serverless-offline package? My project is quite reliant on other AWS services such as AWS ...
vladimirp's user avatar
  • 1,564
2 votes
1 answer
880 views

I wrote a serverless API and some jest tests. Here is my source code: https://github.com/liou-jia-hao/serverless-typescript-no-webpack/tree/add-dev-skipauth I wrote a test which rely on local server ...
Kody Liou's user avatar
  • 153
2 votes
1 answer
89 views

I am trying to build an app for serverless using sbt assembly. It works if I compile it using sbt assembly and then run it using serverless invoke local --function func, however if I run it using ...
benthecarman's user avatar
1 vote
0 answers
282 views

I'm unable to start a SQS event lambda consumer on event when the serverless is launched offline with useDocker option. If I don't run the functions in docker containers that handler is triggered ...
Ivaylo Ivanov's user avatar
-1 votes
2 answers
1k views

I have configured my backend following this article: How to deploy multiple micro-services under one API domain with Serverless I understand that deploying the services one by one is possible using ...
Akshay Kumar's user avatar
  • 1,035
0 votes
1 answer
1k views

I am studying serverless nestjs. I am trying to run serverless offline using the serverless-offline plugin. I've succeeded in running serverless offline, but when I send a server request it doesn't ...
yangseungbin's user avatar
1 vote
1 answer
1k views

I have recently started working on a project in which we are using serverless framework. We are using docker to make dev environment easier to setup. As part of this docker setup we have created a ...
abhinav's user avatar
  • 697
2 votes
0 answers
5k views

When I am trying to hit createAuction URL, I am getting this error, while running serverless offline Please let me know what to do in order to rid of this error! Serverless YAML file: service: ...
Abhishek Gautam's user avatar