netlify-plugin-inline-functions-env icon indicating copy to clipboard operation
netlify-plugin-inline-functions-env copied to clipboard

Functions directory using other name than "functions"

Open 1-800-jono opened this issue 11 months ago • 1 comments

Hi, plugin is failing and I think it might be because my serverless functions are in a directory called lambdas instead of functions. Could that be it? Error:

Could not list Netlify Functions files
Functions folders do not exist: /opt/build/repo/.netlify/functions-internal, /opt/build/repo/lambda

1-800-jono avatar Mar 15 '24 15:03 1-800-jono

added buildEvent = "onBuild" and now got another cryptic error:

Plugin exited with exit code null and signal SIGABRT.
The plugin might have exited due to a bug terminating the process, such as an infinite loop.
The plugin might also have explicitly terminated the process, for example with process.exit().
Plugin methods should instead:
on success: return
on failure: call utils.build.failPlugin() or utils.build.failBuild()

1-800-jono avatar Mar 20 '24 15:03 1-800-jono