Issue in Local Setup(Database)

On running the npx nx database:reset twenty-server command i am getting this error, can someone help me.
No description
10 Replies
professor_snape
Yes, you need to change the number of watchers. You need to increase the system’s limit for file watchers. Follow these steps: Check the current limit: To check how many file watchers your system currently allows, run the following command: cat /proc/sys/fs/inotify/max_user_watches Increase the limit: To increase the limit, run this command to set it to a higher value (e.g., 524288): sudo sysctl fs.inotify.max_user_watches=524288 Make the change permanent: To make sure the new limit persists after a reboot, add the following line to the /etc/sysctl.conf file: echo 'fs.inotify.max_user_watches=524288' | sudo tee -a /etc/sysctl.conf Apply the changes: Apply the changes without rebooting by running: sudo sysctl -p
Vatsal Kumar
Vatsal Kumar2w ago
Did all the steps, it fixed the above issue but now its showing another error
No description
professor_snape
Is redis installed ? Make sure you have redis installed and then try again.
Vatsal Kumar
Vatsal Kumar7d ago
Thankyou so much for your help, it helped me setup the project successfully
professor_snape
my pleasure
charles
charles7d ago
Thanks a lot @professor_snape!
Vatsal Kumar
Vatsal Kumar3d ago
Sorry for disturbing you again but not it is showing this memory out error can you help me out @professor_snape
No description
Raphael
Raphael3d ago
In twenty-front/src/.env, can you set these variables to true? Like this? It worked for me when I did that
No description
Vatsal Kumar
Vatsal Kumar3d ago
Yaa it worked, thanks
professor_snape
I guess the changes were not made permanently Yes this should have worked
Want results from more Discord servers?
Add your server