Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save RidaRidss/d937993ddc7d7b53c1119d95e4017c28 to your computer and use it in GitHub Desktop.
Save RidaRidss/d937993ddc7d7b53c1119d95e4017c28 to your computer and use it in GitHub Desktop.
Got an Error : undefined is not an object evaluating regeneratorRuntime.mark when building react-native on IOS

1. Be sure you have this dependency (regenerator-runtime) in your package.json

yarn add regenerator-runtime
yarn intsall regenerator-runtime

2. Make sure react-native is upgraded

react-native upgrade

3. All hidden files included in your project are exists

.babelrc , .buckconfig , .flowconfig , .watchmanconfig , .eslintrc , yarn.lock etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment