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

Error occured. (arm64, docker)

Đang mở
#77 11 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
224
Fork
60
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.