react で "number of file watcher reached" になり yarn start できなかった (ubuntu 18.04)
1074 ワード
ubuntu18.04でreacを使い yarn startを実行しようとした所以下のエラーになった
Error: ENOSPC: System limit for number of file watchers reached
原因
system's file watchersの上限を超えていた
対策
以下を実行してファイル監視数の上限を開放する。
$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
参考
Author And Source
この問題について(react で "number of file watcher reached" になり yarn start できなかった (ubuntu 18.04)), 我々は、より多くの情報をここで見つけました https://qiita.com/deBroglieeeen/items/4916c85b96fd44753b6e著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .