Can use the key control +
switch to Diracโs CLJS Prompt? @darwin
I use the old version [binaryage/dirac "1.2.35"]
can work, then use the control ,
can switch to Diracโs CLJS Prompt.
but eval everything code will get java.lang.NullPointerException
Error .
@stevechan I just tried it with 1.3.5, latest chrome canary and latest macOS and dirac-sample project and it works as expected
the only confusing thing is that after (dirac :ls)
in REPL it switches REPL prompt to cljs.user=>
, I would expect it to switch the prompt after (dirac :join)
anyways, js/alert or any other command is properly executed in my page and reflected in js console with dirac
I donโt understand how you can be using 1.2.35
which is about 1 year old with latest Chrome Canary. This cannot be expected to work. I already gave you this link: https://github.com/binaryage/dirac/blob/master/docs/faq.md#why-should-i-use-recent-chrome-canary-with-dirac-devtools
Please read it.
@stevechan to me it looks like your nREPL configuration is problematic, I donโt understand why, maybe you have some global setting somewhere which affects nREPL or you have somehow modified dirac-sample?
I added this check quite recently: https://github.com/binaryage/dirac/commit/1f7c1814fb5759a47b7abab058966ef825fd0b3c
it was an issue someone had when using CIDER nREPL middleware and dirac failed with cryptic stack traces
@darwin Thanks for your help ๐:rich:
Itโs old version lein Error ๐
ah, I see
Thanks @darwin ๐๐๐๐