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.

Native RNSkia Module cannot be found

See original GitHub issue

Hi all, I’m having this error at runtime (ios) on an existing project and also on bare project: Uncaught Error Uncaught Error 2

Apparently the NativeModules do not seem to have the RNSkia module.

What I’ve done: - yarn add @shopify/react-native-skia

What i’ve tried:

  • clear all the caches
  • rm the node modules then yarn
  • rm the ios/pod and ios/podfile.lock then npx pod-install (or cd ios && pod install)

RN version 0.66.4

Usage: I’ve had this issue trying to use https://github.com/margelo/react-native-graph, that requires react-native-skia.

It’s been several days and still cannot figure out why this does happen.

Any tips ? This would be greatly appreciated

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
iamandiraducommented, Jul 7, 2022

Somehow, pod deintegrate & pod install + rebuild worked.

0reactions
chrfalchcommented, Jul 28, 2022

Closing due to inactivity, and that it seems like the OP fixed this by himself 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native the module could not be found - Stack Overflow
Today, when I run my RN project with react-native run-ios and I got module could not be found suddenly. My project's React-native versions...
Read more >
Installation | React Native Skia - Shopify
For error CMake 'X.X.X' was not found in SDK, PATH, or by cmake.dir property. open Tools > SDK Manager, switch to the SDK...
Read more >
Add Expo to an existing project
Learn how to add Expo SDK to an existing React Native project.
Read more >
High-performance React Native Graphics using Skia
To develop react-native-skia, you need to build the skia libraries on your computer. Make sure to check out the sub modules:.
Read more >
Testing React Native apps with Jest | by Emily Xiong - Nx Blog
How to write unit and e2e tests for React Native apps using Jest in an ... is not supported because the native animated...
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