Search code examples
reactjsreact-nativewatchman

Watchman won't let me start any of my react native projects after i updated my mac OS


This is my first time asking a question so please bear with me if i’m not asking according to the standards but ill try my best.

watchman warning: opendir(/Users/abdi/Library/VoiceTrigger/SAT) -> Operation not permitted. Marking this portion of the tree deleted To clear this warning, run: watchman watch-del /Users/abdi ; watchman watch-project /Users/abdi

This is the error i'm getting every time i try start any project, even the ones that i created previously.

I tried the following:

  1. watchman watch-del /Users/abdi ; watchman watch-project /Users/abdi
  2. Giving watchman full-disk access and restarting
  3. Moving my project to root folder (/Users/abdi)

This is what i get when i run watchman watch-list { "version": "4.9.0", "roots": [ "/Users/abdi" ] }

Please help.


Solution

  • I found solution. After giving full disk access use watchman watch /Users/$USER/.... to watch your project instead of watchman watch-project /Users/$USER/....