Instalé un proyecto de inicio nativo de reacción y, cuando se ejecutaba, pedía permiso para que Watchman accediera a los archivos de mi sistema. Rechacé ingenuamente, pero ahora recibo el siguiente error cada vez que intento ejecutar la carpeta:
Error: unable to resolve root /Users/ckoong/Desktop/Repos/rn-starter: failed to opendir(/Users/ckoong/Desktop/Repos/rn-starter): Operation not permitted at BunserBuf.<anonymous> (/Users/ckoong/Desktop/Repos/rn-starter/node_modules/fb-watchman/index.js:95:23) at BunserBuf.emit (events.js:315:20) at BunserBuf.process (/Users/ckoong/Desktop/Repos/rn-starter/node_modules/bser/index.js:292:10) at /Users/ckoong/Desktop/Repos/rn-starter/node_modules/bser/index.js:247:12 at processTicksAndRejections (internal/process/task_queues.js:75:11) Emitted 'error' event on WatchmanWatcher instance at: at Client.<anonymous> (/Users/ckoong/Desktop/Repos/rn-starter/node_modules/jest-haste-map/build/lib/WatchmanWatcher.js:130:10) at Client.emit (events.js:315:20) at BunserBuf.<anonymous> (/Users/ckoong/Desktop/Repos/rn-starter/node_modules/fb-watchman/index.js:107:12) at BunserBuf.emit (events.js:315:20) at /Users/ckoong/Desktop/Repos/rn-starter/node_modules/bser/index.js:249:12 at processTicksAndRejections (internal/process/task_queues.js:75:11) { watchmanResponse: { version: '4.7.0', error: 'unable to resolve root /Users/ckoong/Desktop/Repos/rn-starter: failed to opendir(/Users/ckoong/Desktop/Repos/rn-starter): Operation not permitted'He visto a varias personas decir que concedan acceso al vigilante en las preferencias del sistema, sin embargo, cuando busco en la ventana, no veo ninguna referencia al vigilante en ninguna parte de mi sistema.
Estoy trabajando en Big Sur.
Por favor asiste.
Vaya a System Preferences -> Security & Privacy -> Privacy tab -> desplácese hacia abajo y haga clic en Full Disk Access y luego marque Watchman .