Skip to content

Commit 908f16b

Browse files
Update "serverless-express" with the updated package
Serverless Express has moved to @codegenie/serverless-express.
1 parent d9dc298 commit 908f16b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/faq/serverless.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ with the [Serverless](https://www.serverless.com/) framework (in this case, targ
177177
First, let's install the required packages:
178178

179179
```bash
180-
$ npm i @vendia/serverless-express aws-lambda
180+
$ npm i @codegenie/serverless-express aws-lambda
181181
$ npm i -D @types/aws-lambda serverless-offline
182182
```
183183

@@ -213,7 +213,7 @@ With this place, we can now navigate to the `main.ts` file and update our bootst
213213

214214
```typescript
215215
import { NestFactory } from '@nestjs/core';
216-
import serverlessExpress from '@vendia/serverless-express';
216+
import serverlessExpress from '@codegenie/serverless-express';
217217
import { Callback, Context, Handler } from 'aws-lambda';
218218
import { AppModule } from './app.module';
219219
@@ -241,7 +241,7 @@ export const handler: Handler = async (
241241

242242
> warning **Warning** If you use `@nestjs/swagger` package, there are a few additional steps required to make it work properly in the context of serverless function. Check out this [thread](https://github.com/nestjs/swagger/issues/199) for more information.
243243

244-
Next, open up the `tsconfig.json` file and make sure to enable the `esModuleInterop` option to make the `@vendia/serverless-express` package load properly.
244+
Next, open up the `tsconfig.json` file and make sure to enable the `esModuleInterop` option to make the `@codegenie/serverless-express` package load properly.
245245

246246
```json
247247
{

0 commit comments

Comments
 (0)