解决 Error: ENOSPC: System limit for number of file watchers reached

时间:2019-03-02 14:59:50   收藏:0   阅读:1318

manjaro 18.0 kde版本 

运行 yarn test报错

Error: ENOSPC: System limit for number of file watchers reached

解决:

 cd etc/sysctl.d
然后 ls 看下里面 应该只有一个文件 我的叫50-max_user_watches.conf

fs.inotify.max_user_watches = 524288

 

sudo sysctl -p --system

原文:https://www.cnblogs.com/or2-/p/10461045.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!