Missing files in next.js api route being used to dynamically generate menu items

Have you included the files in your functions: How to Include Files in Netlify Serverless Functions?