Questions tagged [serverless-offline]

Serverless Offline plugin for the Serverless Framework – Emulates AWS Lambda and API Gateway locally when developing your Serverless project

Serverless Offline plugin emulates AWS λ and API Gateway on your local machine to speed up your development cycles. To do so, it starts an HTTP server that handles the request's lifecycle like APIG does and invokes your handlers.

112 questions
0
votes
2 answers

npm run multiple services including serverless offline from different directories

Currently I have a local test environment setup. I am trying to migrate to serverless and have setup serverless-offline for local testing. I cannot get my existing client + server to run, alongside serverless-offline. DIRECTORY: root: -…
Wronski
  • 1,506
  • 3
  • 18
  • 37
0
votes
1 answer

serverless-offline basic example no routes listed or available

I'm following this basic example (https://medium.com/hackernoon/tdd-means-zen-along-with-serverless-means-nirvana-a39a76ee8e63) to setup serverless-offline for unit testing a serverless project. Unfortunately, I can't get the initial run of…
dmjones
  • 105
  • 1
  • 10
0
votes
0 answers

Serverless Webpack Build in Nodejs Docker Container Fails due to Type Errors

My Serverless (sls) application fails to build inside a Docker container due to type errors (TS2322) during the webpack build process. When built locally, there are no errors and app runs as designed. Error Example: ERROR in…
0
votes
1 answer

SequelizeJS Can't connect to RDS Instance on "MY" internet

I have a NodeJS/Serverless Framework API up and running on AWS Lambda. It is connected to an AWS RDS which was working fine, however all of a sudden, it can't connect to the RDS Instance only on my office internet. The API and database connection…
-1
votes
0 answers

Serverless Offline: Route Not Found" Error Despite Correct Configuration

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 configuration. I've tried various troubleshooting steps but…
-1
votes
1 answer

Does Serverless-Offline allow you to locally test lambdas that interact with AWS services that are only accessible from the same VPC?

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 use serverless-offline will the fact I'm running…
-1
votes
2 answers

How to run multiple microservices configured on same custom domain, locally?

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 the serverless offline plugin. But the plugin…
1 2 3 4 5 6 7
8