Open keawade opened 3 years ago
Same issue. Not sure if I have missed something. Any idea how or when this is going to be fixed?
Having the same problem. Any ideas? I've followed the docs https://docs.nestjs.com/faq/serverless step by step. Except that I've left main.ts
as it was a used lambda.ts
instead.
Edit: For me it appears to work on aws, but not when using serverless offline
, so might be a simulator issue only?
The starter example for Nest JS does not work with root paths.
Steps to reproduce
Remove the path from the demo controller's handler so it defaults to the root path for the controller.
Make a request to
http://localhost:3000/dev
.The server responds with a
404
error ofCannot GET null
.I have confirmed that this does not occur when using Nest JS without Serverless:
Make a request to
http://localhost:3000
.The server responds with the expected response.