Questions tagged [aws-serverless]

Utilizing Amazon Web Services serverless architecture through the integration of API Gateway, Lambda functions, CloudFormation, and SAM (Serverless Application Model).

The deployment of a NEXTJS project with Serverless to AWS encounters issues when trying to locate dependencies that were installed using pnpm

Upon completing the installation of dependencies using pnpm i and successfully deploying via sls deploy, my endpoints are encountering internal errors. This is due to missing tree dependencies that are not being installed along with the explicitly installe ...

What is causing this NextJS function to function correctly on a local server but not when deployed on AWS Lambda?

I've spent a lot of time testing and researching this issue, but I haven't been able to solve it. I have a function that runs perfectly fine on my local machine (no errors), but fails when deployed as an AWS Lambda. To demonstrate the problem, I ...

NextJs creates serverless applications using static HTML files rather than lambdas

As I work on developing an application using Next.js serverless, I am facing an issue where instead of generating JS files in the designated folder (next/serverless/pages/), my pages are being transformed into static HTML files. This is evident during the ...

Steps to invoke the Express JS code repository from a serverless repository

Within my current project, there exists various repositories housing Angular code, Express JS (node JS) code, and AWS serverless components. For a specific feature, I am tasked with transferring the 'userId' value from the Angular code to the ser ...

Error message: Issue with AWS Serverless Lambda and Angular - TypeError: express function not defined

I'm encountering an issue when trying to deploy my application from localhost:4200 to AWS serverless Lambda. The error in cloudwatch logs is causing a 500 {"message": "Internal server error"} response when I access the URL. My understanding of AWS is limi ...