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
Welcome to clojure @daiyi! That sounds like a javascript error which is probably coming from the add-in.
Did you have lein installed?
yep!
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 (':
ok, did you want to use clojurescript or clojure?
clojurescript. ah, is there no cljs support yet?
no there is.
let me find a good video if I can.
it requires just a bit more to upgrade the repl to cljs.
there were also some recent changes in figwheel.
I noticed, but I haven't been able to follow along very well (': would super appreciate any resources floating around the internet!
sorry about that, trying to get it working myself right now... I had it working fine just a couple weeks ago, now not working.
Ok, try this. Make sure your atom packages are updated then try these instructions. https://clojurescript.org/tools/atom
To more clearly answer your question above the clojurescript support in proto-repl is relatively recent as well as the self hosting support.