Run in dev?
den1k opened this issue · comments
Dennis Heihoff commented
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`.
Viktor Eriksson commented
Have you run yarn
?
Dennis Heihoff commented
Yes
…On Fri, Sep 22, 2017 at 06:56 Viktor Eriksson ***@***.***> wrote:
Have you run yarn?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEb7IqCBz-FuV2pczPvglPJYr4LuFr7Zks5sk5JLgaJpZM4Pfz3R>
.
Viktor Eriksson commented
Ok, I'd recommend you to use https://github.com/seantempesta/cljs-react-navigation since it's better maintained than this project