Hi,
I ran into errors using c2 with recent clojurescript versions. For example if I make the following patch to the c2-demos/hello-bars project.clj:
(defproject hello-bars "0.0.1-SNAPSHOT"
:description "hello-bars: c2 at its simplest"
- :dependencies [[org.clojure/clojure "1.4.0"]
- [com.keminglabs/c2 "0.2.1"]]
+ :dependencies [[org.clojure/clojure "1.5.1"]
+ [org.clojure/clojurescript "0.0-2227"]
+ [com.keminglabs/c2 "0.2.3"]]
:min-lein-version "2.0.0"
:source-paths ["src/clj"]
- :plugins [[lein-cljsbuild "0.2.7"]]
+ :plugins [[lein-cljsbuild "1.0.3"]]
Then I get the following from lein cljsbuild:
Compiling "public/out/hello-bars.js" from ["src/cljs"]...
WARNING: Referred macro reflex.macros/capture-derefed does not exist at line 1 file:/home/felix/.m2/repository/com/keminglabs/reflex/0.1.1/reflex-0.1.1.jar!/reflex/core.cljs
WARNING: No such namespace: singult.coffee at line 1 file:/home/felix/.m2/repository/com/keminglabs/singult/0.1.6/singult-0.1.6.jar!/singult/core.cljs
WARNING: No such namespace: singult.coffee at line 1 /home/felix/devel/c2-demos/hello-bars/target/cljsbuild-compiler-0/singult/core.cljs
WARNING: Referred macro reflex.macros/capture-derefed does not exist at line 1 /home/felix/devel/c2-demos/hello-bars/target/cljsbuild-compiler-0/reflex/core.cljs
And fatal runtime errors:
Uncaught Error: goog.require could not find: singult.coffee
I'm not sure how to go about investigating this.
Best
Felix
Hi,
I ran into errors using c2 with recent clojurescript versions. For example if I make the following patch to the
c2-demos/hello-barsproject.clj:Then I get the following from
lein cljsbuild:And fatal runtime errors:
I'm not sure how to go about investigating this.
Best
Felix