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 摘要。