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

Nativebase Kitchen Sink CRNA branch not able to run on ubuntu #1122

Closed
mohitt opened this issue Jul 30, 2017 · 1 comment
Closed

Nativebase Kitchen Sink CRNA branch not able to run on ubuntu #1122

mohitt opened this issue Jul 30, 2017 · 1 comment

Comments

@mohitt
Copy link

mohitt commented Jul 30, 2017

Hi GeekAnts Team :)

First of all thanks a ton for the great project.

I was trying to run the NativeBase-KitchenSink application, I cloned it did and did following

npm install 
npm start

It showed me the expo url and the barcode, but when I tried opening it in the expo app in android , it gave me the following error

error: bundling failed: "Unable to resolve module `react-native/Libraries/Renderer/src/renderers/native/createReactNativeComponentClass` from `/home/athakral/learn/react/NativeBase-KitchenSink/node_modules/react-native-svg/elements/Rect.js`: Module does not exist in the module map\n\n

This might be related to https://github.com/facebook/react-native/issues/4968\nTo resolve try the following:
1. Clear watchman watches: `watchman watch-del-all`.
2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`.
3. Reset packager cache: `rm -fr $TMPDIR/react-*` or `npm start -- --reset-cache`."

Now, this one doesn't seem related to facebook/react-native#4968. But even after following the suggest steps. I could not access the app in android.

I am using the following version of react and react-native and all.

"dependencies": {
    "@expo/vector-icons": "^4.0.0",
    "color": "~0.11.1",
    "expo": "18.0.9",
    "lodash": "^4.13.1",
    "moment": "^2.13.0",
    "native-base": "2.2.1",
    "react": "16.0.0-alpha.12",
    "react-native": "0.46.3",
    "react-native-modalbox": "^1.3.4",
    "react-native-scrollable-tab-view": "^0.6.0",
    "react-navigation": "1.0.0-beta.11"
  }

@shivrajkumar
Copy link
Collaborator

#1030

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

No branches or pull requests

2 participants