Fork me on GitHub
#dirac
<
2019-04-07
>
stevechan00:04:47

Can use the key control + switch to Dirac’s CLJS Prompt? @darwin

stevechan00:04:18

I use the old version [binaryage/dirac "1.2.35"] can work, then use the control , can switch to Dirac’s CLJS Prompt.

stevechan00:04:00

but eval everything code will get java.lang.NullPointerException Error .

darwin11:04:21

@stevechan I just tried it with 1.3.5, latest chrome canary and latest macOS and dirac-sample project and it works as expected

darwin11:04:28

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)

darwin11:04:58

anyways, js/alert or any other command is properly executed in my page and reflected in js console with dirac

darwin11:04:56

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.

darwin18:04:43

@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?

darwin18:04:29

it was an issue someone had when using CIDER nREPL middleware and dirac failed with cryptic stack traces

stevechan20:04:05

@darwin Thanks for your help 👍rich

stevechan20:04:13

It’s old version lein Error 😅

stevechan20:04:28

Thanks @darwin 👍👍👍😊

🍻 8