leiningen - ReferenceError: "goog" is not defined when running lein cljsbuild -
i'm getting started clojurescript , have added lein-cljsbuild project.clj:
(defproject hello-world "0.1.0-snapshot" :description "fixme: write description" :url "http://example.com/fixme" :license {:name "eclipse public license" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.4.0"] [org.clojure/clojurescript "0.0-1450"]] :plugins [[lein-cljsbuild "1.0.3"]] :cljsbuild {:builds []}) when run next command in powershell , command window:
lein trampoline cljsbuild repl-rhino i maintain getting next error:
(retrieving cljsbuild/cljsbuild/0.2.7/cljsbuild-0.2.7.jar clojars) exception in thread "main" org.mozilla.javascript.ecmaerror: referenceerror: "goog" not defined. (bootjs#1), compiling:(c:\users\karthik\appdata\local\temp\form-init8943880809592678534.clj:1:127) what else need do? above steps outlined in book clojurescript: , running lein-cljsbuild "0.2.7"
the next versions work me:
(defproject hello-world "0.1.0-snapshot" :description "fixme: write this!" :url "http://example.com/fixme" :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/clojurescript "0.0-2173"]] :plugins [[lein-cljsbuild "1.0.2"]] :cljsbuild { :builds []}) updating lein-cljsbuild 1.0.3 , clojurescript 0.0-2197 seems break rhino repl.
leiningen clojurescript
No comments:
Post a Comment