Hi,

I have a silly problem compiling my cljs files. I have to run the
cljsc command twice in succession to generate javascript source. The
first compilation results in:

ERROR: JSC_LATE_PROVIDE_ERROR. required "foo.bar" namespace not
provided yet at /home/.../src/../target/classes/public/js/core.js line
18 : 12

Please note that my core.cljs requires foo.bar namespace. The second
cljsc command works without any error.

I doubt that clojurescript compiler requires running it multiple times
in succession and suspect some problem in my usage of it. I would
expect closure compiler to process the transitive dependencies
correctly.

I see the same issue with cljs-watch which is a major productivity
issue for me.

Has anyone else encountered this issue? Does anybody know the cause of
this error?

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to