Hi folks, apologies; when trying to package a new library I'm getting an error
java.lang.AssertionError: Assert failed: No .inc.js file found!
regular
Download/checksum &c. all seem to work fine so I guess my sift is at fault. How can I find out where the zip file has been downloaded by boot package
, because I don't see anything wrong with my sift targets.I’m having a problem by importing cljsjs.highlight.langs.clojure
and cljsjs.codemirror.mode.clojure
both are named clojure.inc.js
so I end up really only having one of them
¯\(ツ)/¯
anyone knows how to solve this?
@anmonteiro: It would be best to move them to separate dirs, mode/clojure.inc.js and langs/clojure.inc.js
shouldn't be breaking change as hopefully no one is directly using the filepath
@juhoteperi: according to the discussion in #C03S1L9DN it seems that this should be solved in the compiler itself
Oh
the problem is that both clojure.inc.js
end up at the root of the :output-dir
Ah
I’ve created http://dev.clojure.org/jira/browse/CLJS-1718
We could rename the files... but seems like something that should eventually be fixed in Cljs
Agreed that this should be fixed upstream
CLJSJS already provides different namespaces, so that should be enough
But if you want, you can workaround it in Cljsjs for now
I’ve solved it locally by downloading one of them and putting it directly in :foreign-libs
@juhoteperi: I’m pretty sure the only solution in CLJSJS would be to name those files differently
clojure.inc.js
would always conflict with each other
Yes.
But renaming is possible