-
Notifications
You must be signed in to change notification settings - Fork 85
Error in build API when building with source maps on #132
Comments
Any hint on how to contribute a solution to this? It seems like a namespace is missing completely, but not sure I am reading the error correctly. |
A namespace is not missing, it's this file here that doesn't exist: lumo/src/cljs/bundled/lumo/compiler.cljs Line 129 in 8b638b7
|
This might be related: With recent work to add Closure Compiler support in Planck, I was encountering
This is dealing with source map JSON, so no getter will exist, but the property will. I made a local revision to change that one instance of a getter to |
Yep it probably is related! Thanks Mike :) I so so wish we would not need to duplicate efforts between plank and lumo... but thanks to both for your projects, amazing stuff going on. By the way, I contributed a lumo compiler patch to serverless-cljs-plugin (wip/lumo branch), that is where I discovered the issue. |
This might also be related: google/closure-compiler-js#25 (comment) Does it mean we just need to bump the compiler version? |
@arichiardi If you |
Please read my comment above. This is not related to closure at all. Lumo is just not bundling the While that Closure issue is valid, please refrain from adding noise to this issue. Happy to discuss that in a new ticket. |
Uhm, I see it in the fileset out of
but it is true, at the REPL |
Given two files (see gist: https://gist.github.com/plexus/484c003eaae3c2bd4e7753c64a6ab91e)
package.json
src/birch/core.cljs
First do
npm install
, then start lumo withlumo -c src
, and try using the build API:This works fine, but with source maps enabled:
You get this:
It's not always this exact message, but it seems to always be something that's not defined.
e.g.
The text was updated successfully, but these errors were encountered: