Error: ENOSPC: System limit for number of file watchers

Hello everyone , setting up on local system on running npx nx database:reset twenty-server i got error saying Error: SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string and on running npx nx start i got error saying Error: ENOSPC: System limit for number of file watchers reached. I need ur help!!
3 Replies
charles
charles5mo ago
I have never faced this one, but you might be hitting your system limits. What is your environment? Also, have you googled this errors? Might be some configuration to do on your system
D_Gamer
D_Gamer5mo ago
Hi @Varad Gupta, If you are using VSCode then you are likely to run into this issue. Because with VSCode extensions we are already having a lot of file watchers (for git, eslint, prettier) and then you start your Backend and Frontend in Watch mode as well, so system won't be able to handle that. And even without VSCode; considering the size of source code and number of files, your system might run into this issue. You can refer this as workaround, https://stackoverflow.com/questions/53930305/nodemon-error-system-limit-for-number-of-file-watchers-reached
Stack Overflow
Nodemon Error: "System limit for number of file watchers reached"
I'm learning GraphQL and am using prisma-binding for GraphQL operations. I'm facing this nodemon error while I'm starting my Node.js server and its giving me the path of schema file which is auto
charles
charles5mo ago
didn't know about it, thanks @D_Gamer
Want results from more Discord servers?
Add your server