Watchman crawl failed. Retrying once with node crawler

后端 未结 5 1262
礼貌的吻别
礼貌的吻别 2021-02-14 23:16

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:27

    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)
    

提交回复
热议问题