Open torgeir opened 6 years ago
I tried to reproduce it on my macOS 10.13 machine and it works for me.
Used java9, all your files including ~/.boot/profile.boot
, but my boot is 2.7.2:
cat ~/.boot/boot.properties
#http://boot-clj.com
#Sat Jan 27 22:38:14 CET 2018
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_CLOJURE_VERSION=1.9.0
BOOT_VERSION=2.7.2
Have you tried to remove whole ~/.boot and start from scratch? Yesterday I had quite weird issues with boot until doing that. Details in the #dirac slack channel.
I'm seeing this error too running Clojure 1.9.0 and boot 2.8.1.
Do feel free to shoot this down if this is not an issue with dirac, rather some of the other dependencies, a combination, or a too complex setup to dig into 😄
In an attempt to see how good of a cljs stack I could come up with, I was trying out dirac in combination with a few other tools along with boot; dirac, boot-cljs-devtools, boot-cljs-repl, boot-cljs, boot-http, boot-reload
This branch holds a repro https://github.com/torgeir/gen-cljs/tree/dirac-start-browser-repl-max-call-stack-exceeded.
What I'm seeing is by running
boot dev
(after adding(dirac)
) to fire everything up, and connecting to it in another terminal window withboot repl -c
- it connects nicelybut running
(start-repl)
and reloading the web page at
http://localhost:3000
in chrome canaryThe repl still seems to be working
but the dirac console also complains
Is this a problem? I don't know. The issue I am having with it is that my emacs instance is no longer able to run
cider-connect
followed by(start-repl)
and have a working repl inside emacs to evaluate cljs code on the go.I am running boot with the following
~/.boot/profile.boot
in place to have things working inside emacs.Without
(dirac)
in place in the boot dev task, substituting theboot dev
mentioned above withboot cider dev
and runningcider-connect
followed by(start-repl)
seems to be working nicely and allows me to eval cljs from the emacs instance.Edit: With these versions of boot and clojure, on java 9