Closed Maximinodotpy closed 2 weeks ago
I've got the same error
Hi,
Reproductions must be short, self-contained and correct and must not contain files or code that aren't relevant to the issue — please do NOT just paste a link to your project.
For coding issues please consider opening a discussion. Here your @prisma
alias .prisma/client/index-browser
is invalid as pretty clearly stated in the error message you pasted.
Describe the bug
My SvelteKit Application that uses Prisma JS throws this error in Production:
TypeError: Failed to resolve module specifier ".prisma/client/index-browser". Relative references must start with either "/", "./", or "../".
which is hosted on Vercel.This will make it so the page does not work at all. It's located here https://quuli.ch
Reproduction
I am working in this Repository and the Error appeared in between and after these two commits: https://github.com/Maximinodotpy/quuli-new/commit/dc0a8e47a385b5f9352530bafdd8e0079104ce46 and https://github.com/Maximinodotpy/quuli-new/commit/e5bcbf041ec32026da097df901427502f20efdbb
Logs
System Info
Severity
blocking all usage of SvelteKit
Additional Information
Thank you very much for your time, friends!!!