I’m new to react native.
I’m operating a present mission of react native. I’m having a tough time operating it for iOS. Already cleaned construct , clear pod cache , reinstall pod information.
Now each time i run sudo npm run ios i get the under errors.
TypeError: str.exchange just isn't a operate
at inlineString (/Customers/ealpha4tech/Downloads/EAlpha Code/node_modules/@react-native-community/cli-tools/construct/errors.js:25:33)
at new CLIError (/Customers/ealpha4tech/Downloads/EAlpha Code/node_modules/@react-native-community/cli-tools/construct/errors.js:13:11)
at getProjectInfo (/Customers/ealpha4tech/Downloads/EAlpha Code/node_modules/@react-native-community/cli-platform-ios/construct/instruments/getProjectInfo.js:29:11)
at Object.runIOS [as func] (/Customers/ealpha4tech/Downloads/EAlpha Code/node_modules/@react-native-community/cli-platform-ios/construct/instructions/runIOS/index.js:82:58)
at Command.handleAction (/Customers/ealpha4tech/Downloads/EAlpha Code/node_modules/@react-native-community/cli/construct/index.js:108:23)
at Command.listener [as _actionHandler] (/Customers/ealpha4tech/Downloads/EAlpha Code/node_modules/commander/lib/command.js:482:17)
at /Customers/ealpha4tech/Downloads/EAlpha Code/node_modules/commander/lib/command.js:1283:65
at Command._chainOrCall (/Customers/ealpha4tech/Downloads/EAlpha Code/node_modules/commander/lib/command.js:1177:12)
at Command._parseCommand (/Customers/ealpha4tech/Downloads/EAlpha Code/node_modules/commander/lib/command.js:1283:27)
at /Customers/ealpha4tech/Downloads/EAlpha Code/node_modules/commander/lib/command.js:1081:27
All of the errors coming from the node modules appears.
I’m very confused what i’m doing mistaken in setup.
Please assist
