Hi! What if I use linux and there is no chrome canary available?
there is, but maybe it is hard to find
try to install the build from release page under “Linux 64” https://github.com/binaryage/dirac/releases
maybe look here: https://www.chromium.org/getting-involved/download-chromium
I’m not familiar with Linux situation, I use a mac
Ok I was searching under google-chrome I was not aware of chromium
Dirac has worked for me on linux from the standard chromium
I'm trying to run dirac for almost an hour without success. I've cloned the dirac-sample and ran lein demo and
/chrome --remote-debugging-port=9222 \
> --no-first-run \
> --user-data-dir=.test-dirac-chrome-profil
i got this error Dirac Agent is not listening at <ws://localhost:8231> (need help?).@karol it sounds, like you did not start your nrepl server with dirac agent listening?
How can I do this?
do you have lein repl
successfully running? as described here? https://github.com/binaryage/dirac-sample
I received following error
Error loading dirac.nrepl: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter, compiling:(dirac/nrepl/eval.clj:1:1)
Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: dirac.nrepl/middleware in this context, compiling:(/tmp/form-init2557861734346733083.clj:1:1490)
this sound to me like you don’t have dirac nrepl middleware in the project, but dirac-sample is properly configured, I would guess your leiningen is misconfigured somehow
did you really run it from dirac-sample?
@kwcharllie379 uploaded a file: https://clojurians.slack.com/files/U9ARBCP5K/FAS4QSKAB/image.png
ok, let me try it here on a secondary machine
works for me on a separate (macOS) machine > lein --version Leiningen 2.8.1 on Java 1.8.0_102 Java HotSpot(TM) 64-Bit Server VM
➜ lein --version Leiningen 2.8.1 on Java 10.0.1 OpenJDK 64-Bit Server VM
trying this all with Java 10 might be a great adventure 🙂
never tested it there
this could be a workaround: https://github.com/bhauman/lein-figwheel/issues/612#issuecomment-341022160
actually I never tested it with Java greater than 8
You're brilliant thank you yes now it works perfectly. Thank you :3
I would recommend you to first finetune your Dirac setup with Java 8 and then maybe experiment with other Java versions, it is hard enough 🙂 don’t make it worse for yourself 🙂
Yes I did change my java version to 8. After a while it stopped working. Have you ever had that bug?
Connected to nREPL server at <nrepl://localhost:8230>.
Agent is accepting connections at <ws://localhost:8231>.
Tried to use insecure HTTP repository without TLS.
This is almost certainly a mistake; however in rare cases where it's
intentional please see `lein help faq` for details.
Ok it seems that it's problem with the new version of clojurescript
getting back to 1.9.946 and works perfect