Thanks so much for reaching out, and welcome to the Netlify Forums.
I am wondering if you have seen this Support Guide on case sensitivity that we have? Case sensitivity has been the cause of Next.js and webpack failures previously (see here for a related thread!)
If that doesn’t do the trick, I suggest looking into the thread below:
Hopefully these get you on the right track. Let us know!