One of the dependencies of the package I need to use in Sidecar is iconv.
This is a binary, from what I can tell. So, if I build it locally (npm ci), I can't deploy it to lambda. Well, I can, but it won't work.
What is the recommended strategy to deal with that?
Actual error
node_modules/iconv/build/Release/iconv.node: invalid ELF header.
One of the dependencies of the package I need to use in Sidecar is
iconv.This is a binary, from what I can tell. So, if I build it locally (
npm ci), I can't deploy it to lambda. Well, I can, but it won't work.What is the recommended strategy to deal with that?
Actual error