Resolve React-Native Build Error

Job ID: 37660623

Budget: $10 – $30 USD

Hello,

I need fix my react-native build error. error -
1. cannot read property 'rnfsfiletyperegular' of null or - Cannot use RNFS from react-native-fs (android build)
2. new NativeEventEmitter()` was called with a non-null (on ios build)
3. Invariant Violation: "main" has not been registered
or Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project. (both builds)

I need build with expo or with xcode. I can build on ios or windows. Just, need working solution :)

Problem can be with my with -
bable.js config
smth with react-native-fs

Versions -
"react": "18.2.0",
"react-native": "0.72.6",