NativeBase-KitchenSink icon indicating copy to clipboard operation
NativeBase-KitchenSink copied to clipboard

Unable to deploy the RNRF branch

Open amilasilva88 opened this issue 8 years ago • 13 comments

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 https://github.com/facebook/react-native/issues/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.

amilasilva88 avatar Oct 24 '17 23:10 amilasilva88

@amilasilva88 Please share your package.json

SupriyaKalghatgi avatar Oct 25 '17 05:10 SupriyaKalghatgi

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

amilasilva88 avatar Oct 25 '17 23:10 amilasilva88

@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

SupriyaKalghatgi avatar Oct 26 '17 06:10 SupriyaKalghatgi

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 ......

amilasilva88 avatar Oct 26 '17 13:10 amilasilva88

@amilasilva88 Please check this from issues

#19

SupriyaKalghatgi avatar Oct 27 '17 04:10 SupriyaKalghatgi

@amilasilva88 Did you get the app running?

SupriyaKalghatgi avatar Nov 02 '17 04:11 SupriyaKalghatgi

No Supriya, it wasn't working, and now start using another fork from your repository with has redux and react-navigation instead of RNRF.

Thanks a lot for reaching me for my query. If you guys can make it work it should be wonderful.

Thanks Cheers Amila Silva

On Nov 2, 2017 12:19, "Supriya Kalghatgi" [email protected] wrote:

@amilasilva88 https://github.com/amilasilva88 Did you get the app running?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GeekyAnts/NativeBase-KitchenSink/issues/80#issuecomment-341313771, or mute the thread https://github.com/notifications/unsubscribe-auth/AA95TcQmYfPJWVECubX_z5FJ470_tlEyks5syULXgaJpZM4QFQKv .

amilasilva88 avatar Nov 02 '17 05:11 amilasilva88

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

Didn't you follow up with #19

SupriyaKalghatgi avatar Nov 02 '17 05:11 SupriyaKalghatgi

Hi Supriya,

I did some test with given instructions looks like not bundling the js modules. Can you please help me to guide on how to upgrade the vector-icon pack to support more and latest icons

Thanks Cheers Amila Silva

On Thu, Nov 2, 2017 at 1:41 PM, Supriya Kalghatgi [email protected] wrote:

@amilasilva88 https://github.com/amilasilva88 Good to know that you are using other branch of NativeBase-KitchenSink

Didn't you follow up with #19 https://github.com/GeekyAnts/NativeBase-KitchenSink/issues/19

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GeekyAnts/NativeBase-KitchenSink/issues/80#issuecomment-341323133, or mute the thread https://github.com/notifications/unsubscribe-auth/AA95TdqDtpskPztHMPLndrbNPYmp2f8mks5syVX_gaJpZM4QFQKv .

-- Thanks!

Cheers Amila Silva

amilasilva88 avatar Nov 14 '17 23:11 amilasilva88

@amilasilva88 I will upgrade this repo this week

SupriyaKalghatgi avatar Nov 20 '17 11:11 SupriyaKalghatgi

Thanks Supriya

Thanks Cheers Amila Silva

On Nov 20, 2017 19:49, "Supriya Kalghatgi" [email protected] wrote:

@amilasilva88 https://github.com/amilasilva88 I will upgrade this repo this week

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GeekyAnts/NativeBase-KitchenSink/issues/80#issuecomment-345673402, or mute the thread https://github.com/notifications/unsubscribe-auth/AA95TelxzOAS9avqpd_D8mCDI5DZH3x3ks5s4WdLgaJpZM4QFQKv .

amilasilva88 avatar Nov 21 '17 10:11 amilasilva88

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

SupriyaKalghatgi avatar Feb 05 '18 07:02 SupriyaKalghatgi

https://github.com/GeekyAnts/NativeBase-KitchenSink/pull/182

FDiskas avatar Mar 19 '20 08:03 FDiskas