Fork me on GitHub
#lumo
<
2018-02-25
>
grounded_sage05:02:56

Looking to sneak Clojurescript into work for doing browser testing with Puppeteer. Needs to be a node solution so I'm trying out Lumo but getting this when I run node main.js following the quickstarts

(function (exports, require, module, __filename, __dirname) { goog.addDependency("base.js", ['goog'], []);
                                                              ^

ReferenceError: goog is not defined
    at Object.<anonymous> (/Users/wade/lumo-test/out/main.js:1:63)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Function.Module.runMain (module.js:605:10)
    at startup (bootstrap_node.js:158:16)
    at bootstrap_node.js:575:3

grounded_sage05:02:40

Weird I re did it all and it works now

mfikes19:02:34

@anmonteiro @richiardiandrea FWIW, I may start digging into prepl support in Planck. Will let you know if I learn anything profound. https://github.com/mfikes/planck/issues/657

richiardiandrea19:02:06

@mfikes awesome, I am also following the conversation on #cljs-dev

richiardiandrea21:02:46

@mfikes I put back on my Java gloves for one day and the source map patch is in, we'll see when that gets merged