Fork me on GitHub
#calva
<
2018-12-04
>
Whiskas17:12:37

@pez, did you guys have some conclusion about what is necessary to run the cljs repl + cider?

pez17:12:37

@mateus.pimentel.w I think the conclusion is that the Getting Started page lists the necessities. Are you still having problems?

Whiskas19:12:59

I had to travel this weekend

Whiskas19:12:09

so i did not play up with the project yet

pez19:12:46

It is still a mystery to me why you can’t get nrepl working on your machine.

Whiskas19:12:04

i think the template is misconfigured

Whiskas19:12:02

last week you sent me a github code whose the cljs repl/ fighweel was working in your machine

Whiskas19:12:09

do you have other example like that?

pez20:12:25

For me it works having nothing in profiles.clj and creating a new reagent project from the template.

Whiskas20:12:59

profiles.clj is at ~/.lein or at {projectWorkingDir}/.lein ?

pez20:12:04

It’s in ~/.lein.

Whiskas20:12:54

YEAHH!!!!!!!!!!!!!!

Whiskas20:12:59

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Whiskas20:12:35

It worked!

Whiskas20:12:56

i did: lein new reagent calva-test

Whiskas20:12:02

then i inserted the profile:

Whiskas20:12:29

:repl {:plugins [[cider/cider-nrepl “0.18.0”]] :dependencies [[cider/piggieback “0.3.10"] [figwheel-sidecar “0.5.16”]] :repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}}

Whiskas20:12:42

I think the problem is with +cider

Whiskas20:12:56

because in all projects i tried to use +cider, it broke my lein commands

pez20:12:38

Happy that it worked! If you have the time, please try with +cider again. If that is the problem I'll fix it.

Whiskas20:12:39

all those crazy errors starts to appear when i do it with +cider

Whiskas20:12:08

I think it would be enough to instruct people to make a project without cider and just insert the dependencies or something like that

Whiskas20:12:21

i will make my re-frame project without +cider and test it tomorrow

slipset22:12:18

It might just be that +cider is using a newer version of cider than what calva supports.

pez23:12:47

I am the one responsible for what +cider generates in that template today, so I am particularly interested in why it fails in this case. (As I said, it works on my machine.) I know these things are brittle and sensitive to order and stuff, but why this would work in one machine and not in another is quite a mystery.