After upgrading the RN to 0.62.2 then it failed and then shows the above evaluating 'process.version.split'.
TypeError: undefined is not an object (evaluating 'process.version.split')
The issue is with the rn-nodeify
{
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint .",
"test:debug": "node --inspect node_modules/.bin/jest --runInBand",
"postinstall": "sh fix-amplify-jank.sh && ./node_modules/.bin/rn-nodeify --install --hack --yarn"
},
"dependencies": {
"url": "^0.10.3",
"util": "^0.10.4",
"vm-browserify": "0.0.4"
},
