Reputation: 589
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:
watchman watch-del /Users/abdi ; watchman watch-project /Users/abdi
This is what i get when i run watchman watch-list { "version": "4.9.0", "roots": [ "/Users/abdi" ] }
Please help.
Upvotes: 7
Views: 15168
Reputation: 589
I found solution. After giving full disk access use watchman watch /Users/$USER/....
to watch your project instead of watchman watch-project /Users/$USER/....
Upvotes: 0
Reputation: 7119
Bit late to the party, but to me the following worked
Shut down the metro server / simulator (if it's running)
Turn off and clear watchman cache
$ watchman shutdown-server
$ watchman watch-del-all
Start your react-native project (i.e. react-native start
, expo start
, etc.)
There's no need to give watchman full disk access (nor should you)
Upvotes: 28
Reputation: 4987
You need to grant full disk access to watchman to allow it to watch the locations you've asked it to watch.
Go to 'System preferences' -> 'Security & Privacy' -> scroll down and click 'Full Disk Access', and then check 'Watchman'.
After changing this, restart your laptop.
See these other links for more information:
Upvotes: 2