Fork me on GitHub
#dirac
<
2020-01-21
>
bnstvn13:01:17

hello, i was trying to install this as per https://github.com/binaryage/dirac/blob/master/docs/cli.md#installation — is there anything obvious i’m missing? thanks!

17:37 $ date
Fri Jan 17 17:37:52 CET 2020
✔ ~ [master ↑·1|✚ 7⚑ 1]
17:37 $ curl -s  > /tmp/dirac.install && sudo bash /tmp/dirac.install
Password:
Downloading Dirac CLI tool...
Installing Dirac CLI tool as '/usr/local/bin/dirac'...
/usr/local/bin/dirac
✔ ~ [master ↑·1|✚ 7⚑ 1]
17:37 $ dirac
Error building classpath. Could not find artifact org.clojure:clojurescript:jar:1.10.599 in central ()

darwin14:01:59

@ban.istvan hi, it is trying to fetch wrong clojurescript version, 1.10.599 is not publically released, not sure where it came from

darwin14:01:15

but I have probably committed some hardcoded dep wrongly

darwin14:01:14

just did a quick search through the dirac repo and I don’t see it anywhere

darwin14:01:14

ah, I got it: https://clojars.org/binaryage/dirac, it got into dirac.jar dependency

darwin14:01:48

this is definitely a mistake, I was experimenting with clojurescript patches on my machine and this got propagated there

darwin14:01:06

you can work around it for now by going to your ~/..m2/repository/org/clojure/clojurescript/ cache directory and copy 597 to 599

darwin14:01:14

I will have to release a new fixed version

bnstvn14:01:16

thanks! 👍

darwin14:01:32

the problem is here: https://github.com/binaryage/dirac/blob/master/project.clj#L4 I had set CANARY_CLOJURESCRIPT_VERSION in my environment when I was doing last deploy, and this borked the deps

darwin17:01:47

@ban.istvan 1.5.5 should have it fixed, you must install dirac cli again to get a fixed version of the cli tool

bnstvn17:01:49

yep, it works! thanks!

darwin17:01:18

you are probably first one trying it, it might have rough edges, please report any issues 🙂

darwin17:01:41

I mean running it through the new “dirac” CLI