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

Error occured. (arm64, docker)

Open
#77 11 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
224
Forks
60
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.