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

Binary does not work and create a coredump

Closed this issue · 4 comments

After installing this package and starting it, it fails with the following error:

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

Tested on different docker base images (node:20-slim, node:22-slim), doesn't matter.

Hi, could you provide a sample function? This issue comes up when the handler is inaccessible. Perhaps it's not exported?

After going through all closed issues, I think it's this one: #101
If at all possible, the error message could be better 😄

Should we close it?

Thanks, closing as resolved.

We will add these in a FAQ section to avoid any future confusion.

Thank you.