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

Unable to deploy the RNRF branch #80

Open
amilasilva88 opened this issue Oct 24, 2017 · 13 comments
Open

Unable to deploy the RNRF branch #80

amilasilva88 opened this issue Oct 24, 2017 · 13 comments
Labels

Comments

@amilasilva88
Copy link

Loading dependency graph, done.
Bundling index.android.js
Transforming modules ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 99.8% (1057/1058)...(node:15752) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3090): UnableToResolveError: Unable to resolve module react-native/Libraries/Renderer/shims/ReactNativePropRegistry from D:\codemill\projects\rnd\react-native\etherSell\node_modules\react-native-easy-grid\Utils\computeProps.js: Module does not exist in the module map or in these directories:
D:\codemill\projects\rnd\react-native\etherSell\node_modules\react-native\Libraries\Renderer\shims
, D:\codemill\projects\rnd\node_modules\react-native\Libraries\Renderer\shims

This might be related to facebook/react-native#4968
To 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.
    (node:15752) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@SupriyaKalghatgi
Copy link
Contributor

@amilasilva88 Please share your package.json

@amilasilva88
Copy link
Author

amilasilva88 commented Oct 25, 2017

Hello Supriya,

I'm using your RNRF branch, and the package.json is the the default that comes with it.
https://github.com/GeekyAnts/NativeBase-KitchenSink/blob/RNRF/package.json

{
"name": "NativebaseKitchenSink",
"version": "2.1.0",
"private": true,
"scripts": {
"postinstall": "remotedev-debugger",
"start": "node node_modules/react-native/local-cli/cli.js start",
"eslint": "eslint",
"test": "jest",
"eject-native-base": "node node_modules/native-base/ejectTheme.js"
},
"dependencies": {
"color": "~0.11.1",
"lodash": "^4.13.1",
"moment": "^2.13.0",
"native-base": "2.1.0",
"react": "15.4.2",
"react-native": "0.42.3",
"react-native-code-push": "1.17.0-beta",
"react-native-easy-grid": "^0.1.8",
"react-native-modalbox": "^1.3.4",
"react-native-navigation-redux-helpers": "^0.5.0",
"react-native-router-flux": "3.37.0",
"react-native-scrollable-tab-view": "^0.6.0",
"react-redux": "^4.4.5",
"redux": "^3.5.2",
"redux-form": "^6.2.0",
"redux-persist": "^3.2.2",
"redux-thunk": "^2.1.0",
"remote-redux-devtools": "^0.3.3"
},
"devDependencies": {
"babel-eslint": "^6.1.2",
"babel-jest": "16.0.0",
"babel-preset-react-native": "1.9.0",
"chai": "^3.5.0",
"eslint": "^3.5.0",
"eslint-config-airbnb": "^11.1.0",
package.json

@SupriyaKalghatgi
Copy link
Contributor

@amilasilva88 I tested NativeBase-KitchenSink from branch RNRF
Its working fine, and no errors.

Can you try installing through yarn and run again?
Also delete yarn.lock and clear cache before running the app

@amilasilva88
Copy link
Author

amilasilva88 commented Oct 26, 2017

Thanks for your update,
I tried with yarn. now I got following error in emulator

Native module CodePushNativeModule tried to override CodePushNativeModule for module name CodePush. If this was your intention, set canOverrideExistingModule=true
addNativeModule
NativeModuleRegistryBuilder.java:101
processPackage
NativeModuleRegistryBuilder.java:89
......

@SupriyaKalghatgi
Copy link
Contributor

@amilasilva88 Please check this from issues

#19

@SupriyaKalghatgi
Copy link
Contributor

@amilasilva88 Did you get the app running?

@amilasilva88
Copy link
Author

amilasilva88 commented Nov 2, 2017 via email

@SupriyaKalghatgi
Copy link
Contributor

@amilasilva88 Good to know that you are using other branch of NativeBase-KitchenSink

Didn't you follow up with #19

@amilasilva88
Copy link
Author

amilasilva88 commented Nov 14, 2017 via email

@SupriyaKalghatgi
Copy link
Contributor

@amilasilva88 I will upgrade this repo this week

@amilasilva88
Copy link
Author

amilasilva88 commented Nov 21, 2017 via email

@SupriyaKalghatgi
Copy link
Contributor

@amilasilva88 Sorry for delay
Upgrading RNRF branch of this repo is not the priority list

@FDiskas
Copy link

FDiskas commented Mar 19, 2020

#182

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

No branches or pull requests

3 participants