Is the function > 50 MB? If so, you may need to reduce its size. You may want to try deploying without the function to see if that is the problem.
More info about debugging functions: [Support Guide] Netlify Lambda Functions 101 & Debugging
Is the function > 50 MB? If so, you may need to reduce its size. You may want to try deploying without the function to see if that is the problem.
More info about debugging functions: [Support Guide] Netlify Lambda Functions 101 & Debugging