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.

2.3.0-beta.4 crashes: "Property '_setGestureState' doesn't exist"

See original GitHub issue

Description

I upgraded from 2.3.0-beta.3 to 2.3.0-beta.4 and now upon start the app crashes with the following error:

 ERROR  ReferenceError: Property '_setGestureState' doesn't exist, js engine: hermes
 WARN  RCTBridge required dispatch_sync to load RNGestureHandlerModule. This may lead to deadlocks
 ERROR  Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
      This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes

Expected behavior

The app doesn’t crash.

Package versions

  • React Native: “react-native”: “0.66.3”,
  • React Native Reanimated: “react-native-reanimated”: “^2.3.0-beta.4”,
  • NodeJS: v14.17.5
  • Xcode:13.1
  • Java & Gradle: Am only able to test it on iOS

Affected platforms

  • Android
  • iOS
  • Web

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
piaskowykcommented, Dec 2, 2021

Hey, It looks like a cache issue. Did you try to run yarn start --reset-cache?

0reactions
taschikcommented, Dec 7, 2021

Resetting all caches and fresh install of everything helped clearing that. Thanks for the hint.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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