Is it me or is the lumo-cljs
npm package broken?
$ npm i -g lumo-cljs
[snip]
/home/grav/.nvm/versions/node/v8.11.1/lib/node_modules/lumo-cljs/node_modules/jszip/lib/zipEntries.js:176
throw new Error("Corrupted zip : can't find end of central directory");
^
Error: Corrupted zip : can't find end of central directory
at ZipEntries.readEndOfCentral (/home/grav/.nvm/versions/node/v8.11.1/lib/node_modules/lumo-cljs/node_modules/jszip/lib/zipEntries.js:176:23)
@grav that error happened every now and then, it should not happen anymore cause we moved away from JSZip. Is it consistent? Can you try the newer 1.9.0-alpha
That does not seem to be available via npm?
npm i lumo-cljs@1.9.0-alpha
npm ERR! code ETARGET
npm ERR! notarget No matching version found for lumo-cljs@1.9.0-alpha
I did install the 1.9.0-alpha binary previously directly, which worked.The error is consistent with 1.8.0 using npm, yes. Maybe a re-upload would be good to newcomers? 🙂
We have that error here, so I switched to installing the binary directly
I think my yauzl
PR will solve this but we are not going to see the effects of it until the next npm
release
hey folks, is there any jar file for lumo ? I'm righting a library and I want it to be compatible with lumo
@lxsameer what do you mean
as far as i understand lumo is only a npm package, right ?
no
Lumo happens to be distributed on NPM
but it’s also available on other package managers
but there’s no “JAR file” for Lumo. I don’t really know how that would look like
Lumo is a binary executable
what would a “JAR file for Node” mean to you for example?
for example I like to use <http://lumo.io|lumo.io>
in my lib
so I need clojurescript compiler to be able to find it, I have to use lumo as either as a npm package or a clojure dependency
am i right ?
I don’t think so
Lumo is a binary that includes all those namespaces bundled within
so you really do need to use the Lumo executable to test those namespaces
IIRC @mfikes put out a package for testing in self-hosted environments
hmmm ok, now i get it
thanks
happy to help
about IO, once abio
takes off that could be imported for both JVM and lumo/planck Cljs code bases
For testing in self-hosted environments there is Tach, and an upcoming release of doo
will also support it. (Or you can easily write your own test runner and invoke it via -m
or whatnot)