figwheel-main

figwheel-main http://figwheel.org
dominicm 2019-04-19T06:29:39.012300Z

Figwheel has an api, so you could create a task which does that

erwinrooijakkers 2019-04-19T11:54:33.012700Z

Hi all

erwinrooijakkers 2019-04-19T11:54:45.013Z

profiles.clj

:dependencies [[org.clojure/tools.nrepl "0.2.13"]
                 [com.bhauman/figwheel-main "0.2.0"]
                 [com.bhauman/rebel-readline-cljs "0.1.4"]
                 [vvvvalvalval/scope-capture "0.3.2"]
                 [cider/piggieback "0.3.6"]
                 [figwheel-sidecar "0.5.16"]]

erwinrooijakkers 2019-04-19T11:54:47.013200Z

Stacktrace:

erwinrooijakkers 2019-04-19T11:55:02.013500Z

erwinrooijakkers 2019-04-19T11:55:07.013900Z

Does anyone recognize this error?

erwinrooijakkers 2019-04-19T12:02:17.014200Z

Ah probably old version of cider-nrepl

[nREPL] Starting server via /usr/local/bin/lein update-in :dependencies conj \[nrepl\ \"0.5.0\"\] -- update-in :dependencies conj \[cider/piggieback\ \"0.3.10\"\] -- update-in :plugins conj \[refactor-nrepl\ \"2.4.0\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.18.0\"\] -- repl :headless :host localhost...

erwinrooijakkers 2019-04-19T12:02:30.014600Z

I need cider-nrepl 0.21.1, but cannot see where to put that

erwinrooijakkers 2019-04-19T12:02:47.015100Z

Versions in profiles.clj nor in ~/.lein/profiles.clj work

Karol Wójcik 2019-04-19T12:04:59.015500Z

@erwinrooijakkers Try #lein-figwheel

erwinrooijakkers 2019-04-19T12:05:26.015700Z

Thanks

erwinrooijakkers 2019-04-19T12:20:04.015900Z

Problem solved by redownloading Spacemacs

1❤️
erwinrooijakkers 2019-04-19T12:20:27.016400Z

I pinned Cider to old version sometime ago because there was a bug that prevented one of my projects from working

erwinrooijakkers 2019-04-19T12:20:36.016700Z

Don’t remember how I did it but redownloading overwrote it

erwinrooijakkers 2019-04-19T13:40:13.017100Z

Now I get another error

erwinrooijakkers 2019-04-19T13:40:17.017300Z

The same I mean

erwinrooijakkers 2019-04-19T13:42:41.017500Z

erwinrooijakkers 2019-04-19T13:42:55.017900Z

Leiningen 2.9.1 on Java 1.8.0_192 Java HotSpot(TM) 64-Bit Server VM

2019-04-19T23:55:51.019400Z

Coming from lein-figwheel, is there an advantage in switching to figwheel-main? At first glance it seems I need to duplicate the cljs compiler configuration into yet another file (*.cljs.edn) 😕