protorepl

daiyi 2017-07-04T15:59:35.846512Z

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

mikeb 2017-07-04T19:21:48.281311Z

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

mikeb 2017-07-04T19:22:06.284350Z

Did you have lein installed?

daiyi 2017-07-04T19:22:10.284891Z

yep!

daiyi 2017-07-04T19:22:44.290403Z

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 (':

mikeb 2017-07-04T19:23:09.294815Z

ok, did you want to use clojurescript or clojure?

daiyi 2017-07-04T19:23:30.298275Z

clojurescript. ah, is there no cljs support yet?

mikeb 2017-07-04T19:23:41.300165Z

no there is.

mikeb 2017-07-04T19:24:19.306532Z

let me find a good video if I can.

mikeb 2017-07-04T19:24:57.312603Z

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

mikeb 2017-07-04T19:25:47.320660Z

there were also some recent changes in figwheel.

daiyi 2017-07-04T19:35:00.410530Z

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

mikeb 2017-07-04T19:38:57.449075Z

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

😕 1
mikeb 2017-07-04T19:45:50.516540Z

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

mikeb 2017-07-04T19:47:59.537291Z

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