vikeri / re-navigate

Example of React Native Navigation with re-frame/re-natal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run in dev?

den1k opened this issue · comments

Wanted to see if hot-reloading breaks navigations and tried running this app in dev. However, unfortunately, I couldn't get it to run. How would I do it?

running lein figwheel ios and react-native run-ios

React packager ready.

[09/21/2017, 16:42:30] <START> Building Haste Map
[09/21/2017, 16:42:30] <END>   Building Haste Map (645ms)
[09/21/2017, 16:42:30] <END>   Initializing Packager (948ms)
[09/21/2017, 16:42:33] <START> Requesting bundle
                               bundle_url: /index.ios.bundle?platform=ios&dev=true&minify=false
[09/21/2017, 16:42:33] <START> Transforming files
(node:76363) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): UnableToResolveError: Unable to resolve module create-react-class from /Users/den/Dropbox/dev/code/centriq/mobile-dev-playgrounds/re-navigate/index.ios.js: Module does not exist in the module map or in these directories:
  /Users/den/Dropbox/dev/code/centriq/mobile-dev-playgrounds/re-navigate/node_modules

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


Have you run yarn?

Ok, I'd recommend you to use https://github.com/seantempesta/cljs-react-navigation since it's better maintained than this project