Hi i am running command : prisma migrate save an...
# orm-help
s
Hi i am running command : prisma migrate save and getting this error :-
The above error occurred in the <TabIndexProvider> component:
in TabIndexProvider
in App
React will try to recreate this component tree from scratch using the error boundary you provided, App.
Warning: App: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.
I am not using react in backend can anyone help me to resolve this error
j
There are multiple issues about this in the migrate repo already.
It usually is a secondary effect of a real underlying error.
Can you open an issue in https://github.com/prisma/migrate as well and include as much information as possible oplease?
👍 1
r
Also could you try deleting the migrations folder created as well as the
_Migration
table in the db and try again as a workaround?
s
@Ryan: i did the same thing but not working
j
Post the issue link here when you opened it.
s
I got the solution there is one mistake in my model relation i just put the required in the table reference but not added required in the field (foreign key).
j
Awesome!
Can you post that in an issue?
👍 1
We are still looking for a reliable reproduction
So having this would be soooooo good.
(Prisma schema, and probably also current state of the database)
s
j
Thanks, I also replied.