Unable to resolve module react-native/Libraries/Renderer/shims/ReactNativePropRegistry
See original GitHub issueHi 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:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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");
tovar _ReactNativePropRegistry=require("react-native/Libraries/Renderer/src/renderers/native/ReactNativePropRegistry");
You should check where your ReactNativePropRegistry.js is and replace the import statement.
I have the same issue using
react-native-svg
library