dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
stevechan 2019-04-07T00:40:47.027100Z

Can use the key control + switch to Diracโ€™s CLJS Prompt? @darwin

stevechan 2019-04-07T00:53:33.027200Z

stevechan 2019-04-07T00:55:18.028600Z

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

stevechan 2019-04-07T00:58:30.028900Z

stevechan 2019-04-07T00:59:00.029700Z

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

2019-04-07T11:48:21.030500Z

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

2019-04-07T11:49:28.031800Z

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)

2019-04-07T11:49:58.032500Z

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

2019-04-07T11:51:56.033600Z

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 2019-04-07T15:03:47.033800Z

stevechan 2019-04-07T15:08:33.036300Z

stevechan 2019-04-07T15:09:23.036600Z

2019-04-07T18:30:43.038200Z

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

2019-04-07T18:30:52.038500Z

I added this check quite recently: https://github.com/binaryage/dirac/commit/1f7c1814fb5759a47b7abab058966ef825fd0b3c

2019-04-07T18:31:29.039200Z

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

stevechan 2019-04-07T20:28:30.039300Z

stevechan 2019-04-07T20:29:05.040200Z

@darwin Thanks for your help ๐Ÿ‘:rich:

stevechan 2019-04-07T20:29:46.040300Z

stevechan 2019-04-07T20:31:13.041700Z

Itโ€™s old version lein Error ๐Ÿ˜…

2019-04-07T20:31:38.041900Z

ah, I see

stevechan 2019-04-07T20:34:28.042600Z

Thanks @darwin ๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ˜Š

2๐Ÿป