我正在学习graphql和使用prisma-bindinggraphql 操作。我在启动节点服务器时遇到了这个nodemon错误,它给了我由graphql-cli. 谁能告诉我这个错误是怎么回事?
graphql
prisma-binding
nodemon
graphql-cli
错误:
Internal watch failed: ENOSPC: System limit for number of file watchers reached, watch '/media/rehan-sattar/Development/All projects/GrpahQl/graph-ql-course/graphql-prisma/src/generated
如果您使用的是 Linux,则您的项目正在达到系统的文件观察程序限制
要解决此问题,请在您的终端上尝试:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p