I'm seriously pulling my hair right now! I am a complete noob in clojure: I can't seem to get a simple compilation of clojurescript without this error:
ERROR: JSC_MISSING_PROVIDE_ERROR. the required "clojure.core.async" namespace was never provided on / home / jldupont / workspace / $ someproject / target / cljsbuild-compiler-0 / domain2 / main.js line 4: 0
I have the following project.cljfile:
(defproject $someproject "0.1"
:description "some project..."
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2030"]
[org.clojure/core.async "0.1.267.0-0d7780-alpha"]
]
:plugins [[lein-cljsbuild "0.3.2"]]
:cljsbuild {
:builds [{:id "domain2"
:source-paths ["src/cljs/model2/domain"]
:compiler {:output-to "src/assets/js/model2/domain/domain2.js"
:optimizations :advanced
:pretty-print true}
}
]
}
)
Every time I use lein cljsbuild auto, I get the above error.
Please, help!
Update
I looked at the directory ~/.m2and there are dependencies in it (in this case core.async).
Update 2
, Google Closure, . , ...