Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rn 0.70.15 Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNSkiaModule' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes #2898

Open
1 task
coderwang123 opened this issue Jan 15, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@coderwang123
Copy link

Description

"react": "18.1.0",
"react-native": "0.70.15",
"react-native-gesture-handler": "^2.21.2",
"react-native-reanimated": "2.12.0",

use "@shopify/react-native-skia": "^1.10.1", is error

Running "fule" with {"rootTag":1}
ERROR Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNSkiaModule' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes
at SkiaComponent (http://10.0.10.155:9999/index.bundle//&platform=android&dev=true&minify=false&app=com.fule&modulesOnly=false&runModule=true:284070:37)
at anonymous (http://10.0.10.155:9999/index.bundle//&platform=android&dev=true&minify=false&app=com.fule&modulesOnly=false&runModule=true:283964:37)
at RCTView
at View
at RCTView
at View
at RCTScrollView
at ScrollView (http://10.0.10.155:9999/index.bundle//&platform=android&dev=true&minify=false&app=com.fule&modulesOnly=false&runModule=true:80116:36)
at ScrollView
at RNGestureHandlerRootView
at GestureHandlerRootView (http://10.0.10.155:9999/index.bundle//&platform=android&dev=true&minify=false&app=com.fule&modulesOnly=false&runModule=true:162429:21)
at RCTView
at View
at App (http://10.0.10.155:9999/index.bundle//&platform=android&dev=true&minify=false&app=com.fule&modulesOnly=false&runModule=true:92170:54)
at RCTView
at View
at RCTView
at View
at AppContainer (http://10.0.10.155:9999/index.bundle//&platform=android&dev=true&minify=false&app=com.fule&modulesOnly=false&runModule=true:84015:36)
at fule(RootComponent) (http://10.0.10.155:9999/index.bundle//&platform=android&dev=true&minify=false&app=com.fule&modulesOnly=false&runModule=true:88570:28)

React Native Skia Version

1.10.1

React Native Version

0.70.15

Using New Architecture

  • Enabled

Steps to Reproduce

1

Snack, Code Example, Screenshot, or Link to Repository

1

@coderwang123 coderwang123 added the bug Something isn't working label Jan 15, 2025
@wcandillon
Copy link
Contributor

Can you provide a reproduction?

@mobinni
Copy link

mobinni commented Feb 12, 2025

@wcandillon we are seeing the same thing on our end when installing. I tried manually linking as well, we have a mono-repo setup. Flashlist has had no issues linking but we get an error

Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNSkiaModule' could not be found. Verify that a module by this name is registered in the native binary.

@madflanderz
Copy link

I had the same error and it was caused by an old bundle on the simulator. Ensure that you are really re-building.

  • yarn install
  • yarn prebuild
  • uninstall app from Simulator (this was important)
  • yarn ios

@mobinni
Copy link

mobinni commented Feb 18, 2025

@madflanderz I'm seeing this on Android only, I do run a monorepo maybe that's part of the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants