Enzonaki
Enzonaki
PPrisma
Created by Enzonaki on 6/12/2024 in #help-and-questions
Error: cannot find module ‘.prisma/client/index’
I have no idea why this matters while running inside kubernetes but it is what it is
8 replies
PPrisma
Created by Enzonaki on 6/12/2024 in #help-and-questions
Error: cannot find module ‘.prisma/client/index’
Update just to leave a solution: All I needed was the prisma folder (the one with the schema file) on the base folder of the workdir, and not inside dist
8 replies
PPrisma
Created by Enzonaki on 6/12/2024 in #help-and-questions
Error: cannot find module ‘.prisma/client/index’
Yeah its doing something like that Like I said, the docker image itself is perfectly fine I can download image, and using local docker/WSL I can start the application in the container with no issues I just need to understand what could be possibly be different inside the kubernetes/Rancher that could make Node not find that hidden folder
8 replies
PPrisma
Created by Enzonaki on 6/12/2024 in #help-and-questions
Error: cannot find module ‘.prisma/client/index’
Yeah I downloaded the image, then ran it as a shell and confirmed the folder exists and all its contents with ls -a Its really weird, as if node is not finding the hidden folder?
8 replies
PPrisma
Created by GregoryErrl on 5/3/2024 in #help-and-questions
Inconsistent query result: Field topics is required to return data, got `null` instead.
Your Course model says a course only has a single Topic, you forgot a [] there, but you defined it as an array Isnt it what is causing the error?
34 replies
PPrisma
Created by fotoflo on 4/19/2024 in #help-and-questions
How to get the type of a compound query?
In situations like that isnt just easier to infer types from the code? Or use typeof
6 replies
PPrisma
Created by Nik on 4/15/2024 in #help-and-questions
@unique on optional field
Create a Github issue Its your best bet I imagine so they can implement it
20 replies