Netlify Function with Dependency | Nuxt

I have tried so many different configurations for Netlify Functions with Dependencies and Nuxt. Some fail in the build process with importing dependencies; others 502 with “Runtime.ImportModuleError” when hitting that endpoint after a successful build.

There is no single point of information for this, and the Netlify Functions docs are lacking in this area. Could someone please share a walkthrough of a working -current- example of a project that has a single Netlify Function, with one or two dependencies, that successfully builds and executes?

Thank you, any help is appreciated

Hey @steelwool,

Is this the sort of thing you’re looking for?