Fork me on GitHub
#protorepl
<
2017-07-06
>
daiyi13:07:47

so now I'm trying to start proto-repl with my project, then start figwheel from within proto-repl. I've got it almost nearly working! If I send code blocks into proto-repl to evaluate, it works excellently, it can talk to the browser and everything. but when I start typing directly into the console, I get this error on almost every keystroke:

java.lang.RuntimeException: Unable to resolve symbol: require in this context
clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Unable to resolve symbol: require in this context, compiling:(/tmp/form-init6143176508571391097.clj:1:5)

daiyi13:07:58

oh it's not actually every keystroke. when I type (map #(+ % 2) [1 2 3]) into the console, it gives me java.lang.NullPointerException: for every keystroke of the word "map"

rgdelato17:07:21

hmm. that sounds like maybe it's having an issue with the auto-complete? does it still happen if you turn off completion?

rgdelato17:07:48

@seancorfield I know you already posted this earlier, but would you mind re-posting your list of Paredit indentation forms?

seancorfield17:07:29

@rgdelato It may have changed since last time...

try, catch, finally, let, are, /^def.*/, fn, /^cond-.*/, if, if-let, for, /when.*/, testing, do, doseq, dotimes, loop, ns, /with/, proxy, reify

seancorfield17:07:35

I tend to keep updating it as I find forms that don't indent the way I'd like...

rgdelato17:07:44

awesome, thank you 😄