Prisma Error: Cannot find module '../.schema' #1844
Answered
by
Romakita
bobwatcherx
asked this question in
Q&A
-
I'm following the tutorial in the TS ed documentation about prisms and when i use it in controller i get error not found ./schema
|
Beta Was this translation helpful? Give feedback.
Answered by
Romakita
Apr 6, 2022
Replies: 2 comments 5 replies
-
Ha you generated the code with the prisma client? |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
Romakita
-
I also generated code in the prisma directory but it's the same
Pada tanggal Kam, 7 Apr 2022 12.21, Romain Lenzotti <
***@***.***> menulis:
… It's not recommanded to generate code in the src directory...
—
Reply to this email directly, view it on GitHub
<#1844 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMNJC22OG4JFUMU2UFNW44LVDZWGNANCNFSM5SUO3N4Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ha you generated the code with the prisma client?