R
Railway12mo ago
Jannik

[Prisma] __dirname is not defined in an ES module scope

Hey i really need help now, i made up another thread a few days ago. I need to have this fix or I need to look for another solution. ID: 86ff3fd0-d69d-4cd4-9582-32459f4ae666 i copied the exact version from your sveltekit-prisma template
8 Replies
Percy
Percy12mo ago
Project ID: 86ff3fd0-d69d-4cd4-9582-32459f4ae666
root
root12mo ago
Could you send the full log?
Brody
Brody12mo ago
why is there a ~6200 long line in that log
Jannik
Jannik12mo ago
this is the error message, i dont write that logs do you know whats wrong? and i dont see that long line
root
root12mo ago
That actually has nothing to do with the error message at the top - it's the second one, the '__dirname is not defined in an ES module scope', that's the actual error.
Jannik
Jannik12mo ago
from where does that come from? i only have the issue on your platform?
root
root12mo ago
The error there in the log.