aero
aero copied to clipboard
Doesn't work with planck
I tried using this with planck after installing it to my local Maven repo and then running:
planck -D aero:1.1.2
(Planck REPL starts up)
cljs.user=> (require '[aero.core :as aero])
No such namespace: cljs.nodejs, could not locate cljs/nodejs.cljs, cljs/nodejs.cljc, or JavaScript source providing "cljs.nodejs" in file aero/core.cljc
Aero relies on nodejs for it's filesystem integration. I think a PR to make aero work without nodejs would be useful, but it's difficult to do in a backwards compatible way at this point. You could detect whether there's a js/require available, and if so look if the string is available as a file, otherwise fall back onto a cljs.tools.reader.reader-types/IPushbackReader (which should really be all it takes)