Local setup Issue
While setting up the project locally when I run the command npx nx database:reset twenty-server
I keep getting this role does not exist error. Even though I have checked the docker container where twenty role does exist and is owner of default database. I don't understand what am I doing wrong. Please help
9 Replies
Do you have Redis container installed?
If not, there's necessary info https://discord.com/channels/1130383047699738754/1276587741144154193/1276601863218794536
I did it just now. But still getting the same error role does not exist. Note: Postgres is running via docker and is running fine.
Just to be sure, are postgres and docker containers running when you're executing this command?
Yes, postgres docker container is running simultaneously on another tab
Hey, I did
and changed to 5433 in
ran the command once again, and everything worked smoothly. My local machine's postgres process was clashing with the docker one, hence it couldn't find the role "twenty"
Thanks for the support @bob 🙂
Ah, that explains everything, good for you it worked out
I now get this typescript issue. I haven't touched the code though. How can I fix this issue? Just commenting out the code will work or something is wrong in my configuration? @bob
That's only a test, you don't have to worry about it unless some functionality is broken
Commenting it out worked. Project opening fine on chrome. Thanks 🙂