aero icon indicating copy to clipboard operation
aero copied to clipboard

Doesn't work with planck

Open cap10morgan opened this issue 8 years ago • 1 comments

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

cap10morgan avatar Sep 13 '17 18:09 cap10morgan

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)

SevereOverfl0w avatar May 18 '19 20:05 SevereOverfl0w