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

Run in dev? #11

Open
den1k opened this issue Sep 21, 2017 · 3 comments
Open

Run in dev? #11

den1k opened this issue Sep 21, 2017 · 3 comments

Comments

@den1k
Copy link

den1k commented Sep 21, 2017

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


@vikeri
Copy link
Owner

vikeri commented Sep 22, 2017

Have you run yarn?

@den1k
Copy link
Author

den1k commented Sep 22, 2017 via email

@vikeri
Copy link
Owner

vikeri commented Sep 26, 2017

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

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