I am just following the tutorial here https://www.tutorialspoint.com/react_native/index.htm
and trying to push this app to IOS device (runs on simulator fine).When I build on Xcode, it is giving me below error which I cannot seem to find a solution for it:
/Users/ayokota/Documents/MyDev/react-native/MyReactNative/node_modules/expo-updates/scripts/createManifest.js:9(async **function()** {SyntaxError: Unexpected token functionat createScript (vm.js:56:10)at Object.runInThisContext (vm.js:97:10)at Module._compile (module.js:542:28)at Object.Module._extensions..js (module.js:579:10)at Module.load (module.js:487:32)at tryModuleLoad (module.js:446:12)at Function.Module._load (module.js:438:3)at Module.runMain (module.js:604:10)at run (bootstrap_node.js:389:7)at startup (bootstrap_node.js:149:9)
Command PhaseScriptExecution failed with a nonzero exit code
I know that node doesn't support async before around version 7 or something but my node version is 10.16 across.. even in my /node_modules/expo-updates folder path.