I just ran into this error when trying to run an Expo / React Native app:
28:69: execution error: Not authorized to send Apple events to System Events. (-1743)
This issue is relevant, but locked so I can't add info to it:
I checked the permissions and they were all set up.
I was running it in the Warp terminal. When I switched to the built-in Mac Terminal it started working.
I also tried turning the permissions on/off, didn't work. Only switching to Terminal worked.