question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS] 0.56.0 React Native version mismatch. regeneratorRuntime is not defined

See original GitHub issue

Environment

Run react-native info in your terminal and paste its contents here.

  React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
      Memory: 130.34 MB / 8.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 10.1.0 - /usr/local/bin/node
      Yarn: 1.6.0 - /usr/local/bin/yarn
      npm: 6.0.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
      Android SDK:
        Build Tools: 23.0.1, 23.0.2, 23.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.1, 27.0.3
        API Levels: 22, 23, 24, 25, 26, 27
    IDEs:
      Android Studio: 3.1 AI-173.4720617
      Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.4.2 => 16.4.2
      react-native: 0.56.0 => 0.56.0
    npmGlobalPackages:
      react-native-calendario: 0.0.2
      react-native-cli: 2.0.1
      react-native-create-bridge: 1.2.2
      react-native-create-library: 3.1.2
      react-native-git-upgrade: 0.2.7

Description

React Native version mismatch.

JavaScript version: 0.56.0 Native version: 0.55.3

Make sure that you have rebuilt the native code. If the problem persists try clearing the Watchman and packager caches with watchman watch-del-all && react-native start --reset-cache. regeneratorRuntime is not defined

simulator screen shot - iphone 5s - 2018-08-09 at 17 41 42

It only happens in iOS on Debug mode. It works fine on Release mode or Android.

Reproducible Demo

https://github.com/maggialejandro/react-native-calendario/tree/fix-react-native-0.56.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
JWWoncommented, Feb 5, 2019

Reset cache wasn’t worked for me. For me, deleting whole build file and restart worked.

rm -rf ios/build
react-native run-ios
7reactions
jamschcommented, Aug 13, 2018

Have you fully uninstalled the app on the simulator/device? It’s possible that the build may be failing and instead launching a previous version of the app.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native version mismatch - Stack Overflow
I was in the middle of upgrading react native in a create-react-native-app project until I found out that not all versions of Expo...
Read more >
react-native-cli | Yarn - Package Manager
Running CLI with local modifications. React Native is distributed as two npm packages, react-native-cli and react-native . The first one is a lightweight ......
Read more >
service-worker | Web Framework library - kandi
Implement service-worker with how-to, Q&A, fixes, code snippets. kandi ratings - Low support, 1 Bugs, No Vulnerabilities. No License, Build not available.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found