Hi,
I am trying to migrate from Clojurescript 0.0-2173 to 0.0-2197 and
lein-cljsbuild from 1.0.2 to 1.0.3. And I am getting a lot of warnings about
goog namespace not being available. Following are the error messages (I just
pasted first few errors there are more of them).
WARNING: No such namespace: goog.string at line 9
file:/home/vagrant/.m2/repository/org/clojure/clojurescript/0.0-2197/clojurescript-0.0-2197.jar!/cljs/core.cljs
WARNING: No such namespace: goog.array at line 9
file:/home/vagrant/.m2/repository/org/clojure/clojurescript/0.0-2197/clojurescript-0.0-2197.jar!/cljs/core.cljs
WARNING: No such namespace: goog.object at line 9
file:/home/vagrant/.m2/repository/org/clojure/clojurescript/0.0-2197/clojurescript-0.0-2197.jar!/cljs/core.cljs
WARNING: No such namespace: goog.string.StringBuffer at line 9
file:/home/vagrant/.m2/repository/org/clojure/clojurescript/0.0-2197/clojurescript-0.0-2197.jar!/cljs/core.cljs
This is my project.clj
(defproject some-proj "0.1.0-SNAPSHOT"
:description "Some proj"
:source-paths ["src/cljs"]
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2197"]
[secretary "1.1.0"]
[om "0.6.4"]
[sablono "0.2.17"]]
:plugins [[lein-cljsbuild "1.0.3"]
[org.clojure/data.json "0.2.4"]
[s3-static-deploy "0.1.0-SNAPSHOT"]
[lein-filegen "0.1.0-SNAPSHOT"]
[lein-shell "0.4.0"]
[cider/cider-nrepl "0.7.0-SNAPSHOT"]]
:cljsbuild {:builds
[{:id "dev"
:source-paths ["src-cljs"]
:compiler {
:output-dir "resources/public/javascript/"
:output-to "resources/public/javascript/main.js"
:source-map "resources/public/javascript/main.js.map"
:optimizations :whitespace
:pretty-print true}}
{:id "release"
:source-paths ["src-cljs"]
:compiler {
:output-to "resources/public/javascript/main.js"
:optimizations :advanced
:pretty-print false
:externs ["externs/d3_externs_min.js",
"externs/google_api.js"
"react/externs/react.js"]}}]})
Is there anything I am missing? How can I debug such issues?
Thanks,
Uday,
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.