Fork me on GitHub
#cljsjs
<
2016-07-29
>
adamw07:07:50

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.

anmonteiro15:07:46

I’m having a problem by importing cljsjs.highlight.langs.clojure and cljsjs.codemirror.mode.clojure

anmonteiro15:07:58

both are named clojure.inc.js so I end up really only having one of them

anmonteiro15:07:12

anyone knows how to solve this?

juhoteperi17:07:00

@anmonteiro: It would be best to move them to separate dirs, mode/clojure.inc.js and langs/clojure.inc.js

juhoteperi17:07:18

shouldn't be breaking change as hopefully no one is directly using the filepath

anmonteiro17:07:43

@juhoteperi: according to the discussion in #C03S1L9DN it seems that this should be solved in the compiler itself

anmonteiro17:07:10

the problem is that both clojure.inc.js end up at the root of the :output-dir

juhoteperi17:07:41

We could rename the files... but seems like something that should eventually be fixed in Cljs

anmonteiro17:07:03

Agreed that this should be fixed upstream

anmonteiro17:07:12

CLJSJS already provides different namespaces, so that should be enough

juhoteperi17:07:19

But if you want, you can workaround it in Cljsjs for now

anmonteiro17:07:44

I’ve solved it locally by downloading one of them and putting it directly in :foreign-libs

anmonteiro17:07:11

@juhoteperi: I’m pretty sure the only solution in CLJSJS would be to name those files differently

anmonteiro17:07:18

clojure.inc.js would always conflict with each other

juhoteperi17:07:55

But renaming is possible