aws / aws/aws-lambda-nodejs-runtime-interface-client

Error occured. (arm64, docker)

Aperta
#77 11 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
224
Fork
60
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Env: ubuntu, arm64, docker(node 18 image)

```javascript
// test.js
exports.handler = async (event) => {
const response = {
statusCode: 200,
body: JSON.stringify('Hello from Lambda!'),
}
return response
}
```

```bash
npm install aws-lambda-ric
npx aws-lambda-ric test.handler
```

I got this error.

```
Executing 'test.handler' in function directory '/workspaces/test'
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string: construction from null is not valid
Aborted (core dumped)
```

how can I solve this problem?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.