When I invoke my lambda function, I get this error:
Function invocation failed: Error: ENOENT: no such file or directory, open <file_name>
file_name is a 130mb .dat file that lives inside a
netlify-lambda to build the
My understanding is that any dependencies in the root
package.json file will be bundled with the lambda functions. This error is occurring both locally and when deployed. I thought perhaps the
file_name exceeded some maximum size threshold, but if that were the case I’d expect it to fail on deploy.
Thanks to anyone who can point me in the right direction!
Netlify Instance Name: poker-tool.netlify.com