lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
2018-11-09T20:16:31.007200Z

Hi @anmonteiro, in unlikely case you might have a clue about the nixos compilation problem I'm having with 1.9. Does this error message make any sense to you as what could be going on?

Finished bundling. Nexe binary can be found in build/lumo
### Compiling Macro Namespaces
(node:30576) UnhandledPromiseRejectionWarning: RangeError: Maximum call stack size exceeded
    at Ze (/build/lumo-1.9.0/LUMO__INTERNAL__CLASSPATH/bundle.min.js:1:25695)
    at Object.get inferred (/build/lumo-1.9.0/LUMO__INTERNAL__CLASSPATH/bundle.min.js:161:76210)
    at Object.get paths [as paths] (/build/lumo-1.9.0/LUMO__INTERNAL__CLASSPATH/bundle.min.js:161:76281)
    at <http://Object.Ye|Object.Ye> [as loadUpstreamJsLibs] (/build/lumo-1.9.0/LUMO__INTERNAL__CLASSPATH/bundle.min.js:1:26827)
    at &lt;embedded&gt;:6552:419
    at &lt;embedded&gt;:6552:445
    at Object.lumo.js_deps.index_js_libs (&lt;embedded&gt;:6552:449)
    at Object.lumo.repl.init (&lt;embedded&gt;:6795:291)
    at Tt (/build/lumo-1.9.0/LUMO__INTERNAL__CLASSPATH/bundle.min.js:1:35499)
    at Ft (/build/lumo-1.9.0/LUMO__INTERNAL__CLASSPATH/bundle.min.js:1:36082)

anmonteiro 2018-11-09T20:16:44.007400Z

no idea

anmonteiro 2018-11-09T20:16:52.007700Z

😕

2018-11-09T20:16:55.007800Z

ok thanks for fast reply 🙂

2018-11-09T20:17:35.008600Z

yeh... I'm thinking if lumo is trying to fetch some dependencies, they all need to be offilne during the build (there's to say prefetched before compileing)

2018-11-09T20:18:02.009100Z

but nah, I've figured worse errors out so far, so I'll figure this one out

2018-11-09T20:19:47.009800Z

nice work on bringing nexe to upstream, didn't look like much of a work on lumo's side, guess there was work to do on nexe's side.

anmonteiro 2018-11-09T20:20:03.010Z

yeah

anmonteiro 2018-11-09T20:20:07.010200Z

it needed some more patching

anmonteiro 2018-11-09T20:20:11.010400Z

it sped up builds too

2018-11-09T20:21:29.011600Z

yup, that's very nice, to cache the result, it sometimes did that, but it was unpredictable. In nixos, a derivation is like a docker container, so in that case I don't enjoy these benefits during development, then again, a nix build itself is cached.

2018-11-09T20:22:47.012300Z

well I do enjoy it outside of derivations.. (going off topic...)