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

Module react-native/Libraries/Renderer/shims/ReactNativePropRegistry does not exist in the Haste module map #2107

Closed
kkotkkio opened this issue Jul 6, 2018 · 3 comments

Comments

@kkotkkio
Copy link

kkotkkio commented Jul 6, 2018

#package.json

{
"name": "ZzimIos",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"native-base": "^2.6.1",
"prop-types": "^15.6.1",
"react": "16.3.1",
"react-native": "^0.56.0",
"react-native-app-intro-slider": "^0.2.4",
"react-native-awesome-alerts": "^1.0.6",
"react-native-gifted-chat": "^0.3.0",
"react-native-keyboard-aware-scroll-view": "^0.4.4",
"react-native-navigation": "^2.0.2397",
"react-native-scalable-image": "^0.2.2",
"react-native-splash-screen": "^3.0.6",
"react-redux": "^5.0.7",
"recompose": "^0.26.0",
"redux": "^3.7.2",
"redux-devtools-extension": "^2.13.2",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0",
"styled-components": "^3.2.5"
},
"devDependencies": {
"babel-jest": "22.4.3",
"babel-eslint": "^8.0.2",
"babel-plugin-module-resolver": "^3.0.0",
"eslint": "^4.11.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-react-native": "^3.2.1",
"jest": "22.4.3",
"react-test-renderer": "16.3.1",
"react-native-debugger-open": "^0.3.17"
},
"jest": {
"preset": "react-native"
}
}

I did 'npm install' because version of react-native-navigation is updated and then I got this error.

error: bundling failed: Error: Unable to resolve module react-native/Libraries/Renderer/shims/ReactNativePropRegistry from /Users/munseongsu/Desktop/_my_project/meu/ZzimIos/node_modules/native-base/dist/src/utils/computeProps.js: Module react-native/Libraries/Renderer/shims/ReactNativePropRegistry does not exist in the Haste module map

I am searching now but I couldn't find any solution.
What's the problem?

@SupriyaKalghatgi
Copy link
Contributor

#2028

@pranavpk
Copy link

pranavpk commented Jul 4, 2019

remove "native-base": "^2.6.1",

from package.json

and run

npm install native-base --save

@Aravindsys
Copy link

Thank you vey much @pranavpk . It solved my issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants