Fork me on GitHub

Hey @borkdude, trying out the new version of bb on Windows via scoop and I can't seem to get bb print-deps to work


PS > bb print-deps
Exception in thread "main" java.lang.IllegalArgumentException: Cannot open <nil> as a Reader.
        at $fn__11546.invokeStatic(io.clj:288)
        at $fn__11546.invoke(io.clj:288)
        at $fn__11448$G__11424__11455.invoke(io.clj:69)
        at $reader.invokeStatic(io.clj:102)
        at $reader.doInvoke(io.clj:86)
        at clojure.lang.RestFn.invoke(
        at clojure.lang.AFn.applyToHelper(
        at clojure.lang.RestFn.applyTo(
        at clojure.core$apply.invokeStatic(core.clj:669)
        at clojure.core$slurp.invokeStatic(core.clj:6967)
        at clojure.core$slurp.doInvoke(core.clj:6967)
        at clojure.lang.RestFn.invoke(
        at babashka.impl.print_deps$print_deps.invokeStatic(print_deps.clj:12)
        at babashka.main$exec.invokeStatic(main.clj:787)
        at babashka.main$main.invokeStatic(main.clj:866)
        at babashka.main$main.doInvoke(main.clj:853)
        at clojure.lang.RestFn.applyTo(
        at clojure.core$apply.invokeStatic(core.clj:667)
        at babashka.main$_main.invokeStatic(main.clj:900)
        at babashka.main$_main.doInvoke(main.clj:892)
        at clojure.lang.RestFn.applyTo(
        at babashka.main.main(Unknown Source)


I tried adding a bb.edn and didn't have any luck there either


@royalaid yes, sorry, forgot to add the deps.edn for Windows into the binary


if you go to appveyor and download the newest master build from there, it should work


Just tested and it works


for those googling in the future I grabbed this build and then just pasted it over the bb version @ C:\Users\<REPLACE_ME>\scoop\apps\babashka\0.5.1

Michaël Salihi20:08:15

I just discovered htmx from a clojureverse post. Since I play a bit with it and I redone the classic SPA todo app with Babashka. An SPA without writing one line of JS and less than 10kb gzipped directly from Babashka! Here the repo for who is interested:

👍 6
👏 9

Very interesting!

👍 2