CodeGenieApp / CodeGenieApp/serverless-express
Typescript: Cannot find module 'aws-lambda' or its corresponding type declarations.
Aperta
- Lingua principale
- JavaScript
- Stelle
- 5.3k
- Fork
- 676
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I get this error from src/configure.d.ts when using typescript:
>node_modules/@vendia/serverless-express/src/configure.d.ts:2:25 - error TS2307: Cannot find module 'aws-lambda' or its corresponding type declarations.
I don't see aws-lambda in the package.json at all. I was able to get it to build by adding @types/aws-lambda as a devDependency.
@vendia/serverless-express: 4.3.2
typescript: 4.1.5
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.