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.

Unable to resolve module react-native/Libraries/Renderer/shims/ReactNativePropRegistry

See original GitHub issue

Hi all,

I’m currently using "native-base": "^2.2.1" and "react-native": "^0.44.3" and I get an error saying

Unable to resolve module react-native/Libraries/Renderer/shims/ReactNativePropRegistry from path/to/node_modules/native-base/dist/src/Utils/computeProps.js.

I believe this is a version issue and but not sure this is a native-base’s issue or react-native’s issue.

Has anyone had same problem before?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

10reactions
kisubscommented, Jul 12, 2017

i found a work around by changing the import statement in node_modules/native-base/dist/src/Utils/computeProps.js var _ReactNativePropRegistry=require("react-native/Libraries/Renderer/native/ReactNativePropRegistry"); to var _ReactNativePropRegistry=require("react-native/Libraries/Renderer/src/renderers/native/ReactNativePropRegistry");

You should check where your ReactNativePropRegistry.js is and replace the import statement.

7reactions
alexmngncommented, Jul 18, 2017

I have the same issue using react-native-svg library

Read more comments on GitHub >

github_iconTop Results From Across the Web

0.62.1. error: Error: Unable to resolve module `react-native ...
Build completes but application fails to start with the error: error: Error: Unable to resolve module react-native/Libraries/vendor/core/isEmpty from ...
Read more >
React Native (newer version): "Unable to resolve module"
The problem occurs with all modules that I tried to install and to import, e.g. react-renderif and native-base. Do you have any ideas...
Read more >
MongoDB Atlas App Services & Realm
Fresh Setup: Realm React Native Error: Unable to resolve module `./subscription` from `node_modules/realm/lib/browser/index.js`.
Read more >
React Native, Typescript and VS Code: Unable to resolve ...
The problem with resolving modules turned out to be related to VS Code's typescript project helper.
Read more >
Error: Unable to resolve module `util` – Split Help Center
Running bundle using React Native and Javascript SDK causes an error. Bundling failed: Error: Unable to resolve module `util`.
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