Fork me on GitHub
#cider
<
2019-06-14
>
frozenlock04:06:13

@bozhidar Thanks, I'll take a look!

felipebarros07:06:07

I'm trying to cider-jack-in-cljs into https://github.com/lispcast/understanding-re-frame/tree/001 but keep getting the error in process filter: Sync nREPL request timed out (op clone id 1) error. I'm using Emacs 26.1 and CIDER 0.22.0snapshot (package: 20190607.2013). No luck so far. It doesn't even matter if I evaluate the code in the README or not:

(setq cider-cljs-lein-repl
      "(do (require 'figwheel-sidecar.repl-api)
           (figwheel-sidecar.repl-api/start-figwheel!)
           (figwheel-sidecar.repl-api/cljs-repl))")

bozhidar08:06:56

@anantpaatra This configuration format was changed a while ago. See https://docs.cider.mx/cider/basics/clojurescript.html for details.

bozhidar08:06:04

(there’s no cider-cljs-lein-repl now and the replacement option doesn’t take a form)

Mitch16:06:03

@anantpaatra see my post (http://discuss.purelyfunctional.tv/t/figwheel-repl-timeouts-in-understanding-re-frame-course/1215) on the lispcast discussion group. As of right now the current version of Cider (not sure which it is at the moment) in Melpa Stable is compliant with the Understanding Re-frame course. As things move forward, Eric will probably have to update the project.clj himself.

Mitch16:06:45

No problem, @U3SG7RX7A is the real mvp!

felipebarros17:06:17

I have solved it using @bozhidar link. Just modified the piggieback dependency to [cider/piggieback "0.4.1]" and changed the namespace in the :repl-options to cider.piggieback/wrap-cljs-repl. 🙂 No need to migrate to melpa stable.

bozhidar17:06:21

Glad to hear this!

ericnormand19:06:22

thanks @mitchell_clojure

ericnormand19:06:39

I'll make this clear in the readme

Mitch19:06:36

Thank you @ericnormand! You're service has really helped me bridge the gap between knowing the language and being able to effectively operate in the Clojure ecosystem. It's awesome work.

ericnormand21:06:30

Awesome! I'm glad I could be of service.

dottedmag22:06:56

How do I debug CIDER thinking that the file's namespace is ...Downloads.jemod.src.mg.dt.jemod.spec?

dottedmag22:06:09

(should be mg.dt.jemod.spec)

dottedmag22:06:56

Weird, restarting Emacs helped (killing CIDER REPL and starting it afresh didn't, neither closing/opening buffers)