lumo 2018-02-10

@lilactown has joined the channel

I’m having trouble loading a neighbor dependency using lumo

scripts
├── child_process.cljs
└── init.cljs
trying to run lumo -c ./scripts/ ./scripts/init.cljs gives me:
No such namespace: cambia.web.child-process, could not locate cambia/web/child_process.cljs, cambia/web/child_process.cljc, or JavaScript source providing "cambia.web.child-process"

@lilactown shouldn’t the path to child_process match the namespace structure?

😅 I see

the error message isn’t perfect, but it does show you the file path it wants

yeah - it’s confusing because that is the directory that I’m running it from

cambia/web/scripts is the whole path

right, but it doesn’t look at that - it looks at the path starting from the cp entry

but I see it wants cambia/web/scripts/cambia/web/scripts/

no, the extra scripts is still bad there

the path from the classpath entry to the file has to match the namespace

you can use ../../ etc. if you want to point the process at a classpath that’s a parent of the current directory though

trying to make use of https://github.com/lumo although I don't use lumo heavily. just found it available on GitHub.

Nice! I actually wanted to create an organization like cljs-self-hosted

Open for proposals 😄

@anmonteiro @richiardiandrea FWIW, the v20180204 Closure JS release appears to be working fine with Planck; perhaps the same holds true for Lumo,.

What specifically are you referring to?

Still analyzing it myself 😄

In particular I see a failure in convert-js-modules in Lumo: https://github.com/anmonteiro/lumo/pull/350 so I guess we need that in

I have a patch in lumo that is failing a test... haven't investigated more though. Thanks Mike!