Ah thank you, now i know how to get to the logs of the functions.
But still the error does not really help me.
As far as i understand this, the stacktrace shows some next files, that throw the error.
Not some of mine, or at the least the error does not lead me somewhere.
What i still dont understand is, that the same site works locally AND on Vercel.
So it has to have something to do with some settings or so on Netlify.
Or are there any issues knows with a specific Node Version and the Netlify runtime?
Debugging this site by changing something, uploading it and then seeing that it is still not working, is very time consuming.