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

Error occured. (arm64, docker)

未关闭
#77 11 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
224
派生
60
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。