Error: Expected an absolute path or Node package for the root typing #946
Unanswered
leo-petrucci
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My console is throwing me an error about the path of my context but the typings are working and the syntax is definitely correct.
Error:
Schema.ts:
Context.ts:
Project structure:
I've used this exact setup a bunch but this is the first time I've seen this error. I'm want to say it's somehow caused by Next.js as I've never used Nexus, Prisma and Next together but I'm honestly not sure.
Any ideas how I can mute this error?
Beta Was this translation helpful? Give feedback.
All reactions