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 <https://raw.githubusercontent.com/binaryage/dirac/master/install> > /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 (<https://repo1.maven.org/maven2/>)
@ban.istvan hi, it is trying to fetch wrong clojurescript version, 1.10.599 is not publically released, not sure where it came from
but I have probably committed some hardcoded dep wrongly
just did a quick search through the dirac repo and I don’t see it anywhere
ah, I got it: https://clojars.org/binaryage/dirac, it got into dirac.jar dependency
this is definitely a mistake, I was experimenting with clojurescript patches on my machine and this got propagated there
you can work around it for now by going to your ~/..m2/repository/org/clojure/clojurescript/ cache directory and copy 597 to 599
I will have to release a new fixed version
thanks! 👍
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
@ban.istvan 1.5.5 should have it fixed, you must install dirac cli again to get a fixed version of the cli tool
yep, it works! thanks!
you are probably first one trying it, it might have rough edges, please report any issues 🙂
I mean running it through the new “dirac” CLI