When trying to run npx expo run ios, I encountered the error message Failed to create the native directories with npm exiting with non-zero code: 243.
This error suggests an issue with the native directories in my React Native project.
I have tried deleting the ./ios and ./android directories as suggested, but the error persists. How can I resolve this issue and successfully run my React Native app on iOS using Expo?