Open rdzidziguri opened 1 year ago
I don't know how to help with this, it's a matter of letting the module find its binary.
Hi @rdzidziguri, I was having the exact same issue, after some time I was able to fix it by adding the following esbuild config:
platform: "node",
packages: "external",
entryPoints: ['path/to/index.ts'],
Prerequisites
Issue
I understand that we are relying on a native module, so this might not be a straightforward approach to shoot and deploy; however, I was wondering if anyone could achieve a successful code build with fastify lambda and this package. Whenever using esbuild to bundle it I end up with the error
No native build was found.