Fork me on GitHub
#cider
<
2017-10-24
>
borkdude16:10:07

Does cider allow sorting namespaces or do I specifically need clj-refactor for this?

tanzoniteblack16:10:25

@borkdude clojure-mode has a function clojure-sort-ns that will sort each sexp inside the ns declaration

tees21:10:16

hey folks I'm running into this error with figwheel + cider. I've run into when using re-frame and just using the lein new figwheel template.

Failed to launch Figwheel CLJS REPL: nREPL connection found but unable to
load piggieback. This is commonly caused by A) not providing piggieback as a
dependency and/or B) not adding piggieback middleware into your nrepl
middleware chain.
   
example profile.clj code: ----- :profiles {:dev {:dependencies
[[com.cemerick/piggieback <current-version>] [org.clojure/tools.nrepl
<current-version>]] :repl-options {:nrepl-middleware
[cemerick.piggieback/wrap-cljs-repl]}}} ----- Please see the documentation
for piggieback here 

I found this thread: https://clojurians-log.clojureverse.org/cider/2017-05-23.html that went over why it might be happening (the browser caching an old version of figwheel it seems?) and I have not been able to find a fix despite that. Any input ? pastebin of my project.clj https://pastebin.com/XQ6Qp4tx

tees21:10:09

Also, using spacemacs. Any help is appreciated!

tees21:10:51

hmm. running lein figwheel instead of cider led to this : https://imgur.com/a/4lVDF

tees21:10:02

tried all the above but have not had any luck yet..