This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-26
Channels
- # beginners (145)
- # boot (19)
- # calva (61)
- # cider (33)
- # cljs-dev (15)
- # cljsrn (16)
- # clojure (35)
- # clojure-dev (39)
- # clojure-russia (2)
- # clojure-spec (10)
- # clojure-uk (7)
- # clojurescript (5)
- # cursive (14)
- # data-science (1)
- # datomic (3)
- # figwheel-main (9)
- # fulcro (46)
- # jobs (4)
- # off-topic (8)
- # quil (6)
- # re-frame (5)
- # shadow-cljs (70)
- # spacemacs (3)
- # speculative (2)
- # tools-deps (2)
@gabor.veres re-frame-firebase
does not work with re-natal
. There is probably a problem with cljsjs dependencies. You can use firebase directly. It works flawlessly.
there is a fork https://github.com/jigkoxsee/exponent-cljs-template/commit/d28c7b2525763835f26620631e3bb912515904e9. Everything works with dev profile
, but prod profile
end up with errors.
Hey so I’m trying to use re-natal per https://github.com/drapanjanas/re-natal and everything goes well until its time to use figwheel. I get the below message and then it never connects and my REPL’s always time out when I try to start them in emacs. Any thoughts? Thanks
Davids-MacBook-Pro:bar-app Dave$ react-native run-ios --configuration Debug > /dev/null
The following commands produced analyzer issues:
Analyze /Users/Dave/Projects/bar-app/node_modules/react-native/React/Base/RCTModuleMethod.mm normal x86_64
Analyze /Users/Dave/Projects/bar-app/node_modules/react-native/Libraries/Network/RCTNetInfo.m normal x86_64
(2 commands with analyzer issues)
Davids-MacBook-Pro:bar-app Dave$ re-natal use-figwheel
Cleaning...
index.ios.js was regenerated
index.android.js was regenerated
Host in RCTWebSocketExecutor.m was updated
Dev server host for iOS: localhost
Dev server host for Android: localhost
Davids-MacBook-Pro:bar-app Dave$ lein figwheel ios
Figwheel: Cutting some fruit, just a sec ...
Figwheel: Validating the configuration found in project.clj
Figwheel: Configuration Valid ;)
Figwheel: Starting server at
Figwheel: Watching build - ios
Figwheel: Cleaning build - ios
Compiling "target/ios/index.js" from ["src" "env/dev"]...
Successfully compiled "target/ios/index.js" in 20.006 seconds.
Launching ClojureScript REPL for build: ios
Figwheel Controls:
(stop-autobuild) ;; stops Figwheel autobuilder
(start-autobuild [id ...]) ;; starts autobuilder focused on optional ids
(switch-to-build id ...) ;; switches autobuilder to different build
(reset-autobuild) ;; stops, cleans, and starts autobuilder
(reload-config) ;; reloads build config and resets autobuild
(build-once [id ...]) ;; builds source one time
(clean-builds [id ..]) ;; deletes compiled cljs target files
(print-config [id ...]) ;; prints out build configurations
(fig-status) ;; displays current state of system
(figwheel.client/set-autoload false) ;; will turn autoloading off
(figwheel.client/set-repl-pprint false) ;; will turn pretty printing off
Switch REPL build focus:
:cljs/quit ;; allows you to switch REPL to another build
Docs: (doc function-name-here)
Exit: Control+C or :cljs/quit
Results: Stored in vars *1, *2, *3, *e holds last exception object
Prompt will show when Figwheel connects to your application
@dgonsalves22 have you launched a metro bundler
and an application on your phone?
@huxley Yes I have ran the metro bundler with
react-native run-ios --configuration Debug > /dev/null
per instructions of the message giving after
re-natal init NewApp
I never tried what you mentioned above because I was fixated on doing the first instructions given in the terminal. I’ll give it a try now@dgonsalves22 I use linux and android, so I won't help too much.