I received an error on the command line when running yarn rw db save shown below and a formatting error on the output. These were working before on the tutorials. I created a new project and did the whole set up following the tutorial. when it came to creating the model and doing a migration, it gave me the errors.
```The above error occurred in the <TabIndexProvider> component:
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.```
Another problem is the formatting on prisma files have stopped.
Ok, another question --> did you upgrade to v0.13.0 from a previous version, and, if so did you have to remove the yarn.lock and reinstall packages?
We’re using Prisma/cli 2.1.1 in Redwood currently even though Prisma 2.2 is out. Normally the yarn.lock would keep the versions “in sync”. But because of the hiccups with upgrading this loophole for 2.2 snuck in.
If this is your case, there’s a chance it could be the cause of the problem. (Note, I still haven’t looked through your repo.) I’d need to think through a path to revert the Prisma packages to 2.1.1. Maybe one way is to replace your yarn.lock with the one from here and then run yarn install:
I didn’t have to remove yarn.lock when upgrading initially. After reading your reply, I don’t know if it would help but i tried to upgrade again, deleted yarn.lock after upgrading and then reinstalled packages. I was still getting errors.
You’re likely right bout the cause of the problem. After I replaced the yarn.lock file from the link you provided, it definitely solved the formatting and migration issue that i had trouble with.