Fork me on GitHub
#protorepl
<
2017-07-04
>
daiyi15:07:35

hello! I'm super super new at all this. proto-repl looks super cool and I'm trying to use it as I am learning clojure 🙂 I started a self-hosted repl and when I try to run (+ 1 1) or hello world I get this error: TypeError: Cannot set property 'user' of undefined

mikeb19:07:48

Welcome to clojure @daiyi! That sounds like a javascript error which is probably coming from the add-in.

mikeb19:07:06

Did you have lein installed?

daiyi19:07:44

I can get the project working running lein figwheel in my terminal, but I don't understand any of these tools enough yet to really know what's going on (':

mikeb19:07:09

ok, did you want to use clojurescript or clojure?

daiyi19:07:30

clojurescript. ah, is there no cljs support yet?

mikeb19:07:41

no there is.

mikeb19:07:19

let me find a good video if I can.

mikeb19:07:57

it requires just a bit more to upgrade the repl to cljs.

mikeb19:07:47

there were also some recent changes in figwheel.

daiyi19:07:00

I noticed, but I haven't been able to follow along very well (': would super appreciate any resources floating around the internet!

mikeb19:07:57

sorry about that, trying to get it working myself right now... I had it working fine just a couple weeks ago, now not working.

mikeb19:07:50

Ok, try this. Make sure your atom packages are updated then try these instructions. https://clojurescript.org/tools/atom

mikeb19:07:59

To more clearly answer your question above the clojurescript support in proto-repl is relatively recent as well as the self hosting support.