Docker Error
shauntrennery opened this issue · comments
Any idea why I'm getting this error within a Docker image?
Nest can't resolve dependencies of the PrismaService (?). Please make sure that the argument ClsService at index [0] is available in the PrismaModule context.
Working perfectly when running locally or once deployed.
Might be because of duplicated node_modules
inside and outside the image, assuming if you're mounting a volume.
But unless you can show me some more context and/or a minimal reproducible example, it's impossible to tell.
Hey @shauntrennery, were you able to move past this, or are you still stuck?
@Papooch I really appreciate the check-in. Unfortunately I've not been able to solve the issue, even after following your recommendations and double checking the logic. I've parked the issue for the moment and will revisit when I get a gap.
Okay, I'll leave the issue open for now. When you revisit it, be sure to get back with more details and ideally some reproduction, so I can help you investigate.