Watchman crawl failed. Retrying once with node crawler

后端 未结 5 2371
时光说笑
时光说笑 2021-02-14 23:06

Watchman crawl failed. Retrying once with node crawler. Usually this happens when watchman isn\'t running. Create an empty .watchmanconfig file i

5条回答
  •  名媛妹妹
    2021-02-14 23:50

    I solved this, on linux by using the following commands on terminal.

    $ echo 256 | sudo tee -a /proc/sys/fs/inotify/max_user_instances
    
    $ echo 32768 | sudo tee -a /proc/sys/fs/inotify/max_queued_events
    
    $ echo 65536 | sudo tee -a /proc/sys/fs/inotify/max_user_watches
    
    $ pkill node
    

    Then:

    $ npm start
    

    or

    $ expo start (if you are using expo)
    

提交回复
热议问题