Your project does not have the right structure, if it worked in the past it was purely by accident. namespaces must respect classpath conventions, i.e.:
src/buffalo/state.cljs David On Tue, Jan 6, 2015 at 5:34 PM, Brian Hurlow <[email protected]> wrote: > Hi David, > > src/cljs looks like this: > > ├── components > │ ├── admin.cljs > │ ├── controls.cljs > │ ├── creator.cljs > │ ├── error.cljs > │ ├── extension.cljs > │ ├── feed > │ │ ├── ui.cljs > │ │ └── util.cljs > │ ├── feed.cljs > │ ├── follow-grid.cljs > │ ├── loader.cljs > │ ├── message.cljs > │ └── profile.cljs > ├── data.cljs > ├── feedtype.cljs > ├── main.cljs > ├── state.cljs > ├── strings.cljs > ├── util.cljs > └── view.cljs > > I'm reasonably sure that state.cljs exists and is in the right place. It > worked before and I haven't changed it's location or namespace form. > > I tried cleaning and deleting target and out dirs to no avail. > > I will fool with this some more and respond with and answer if I figure it > out. > > any suggested directions would be appreciated. > > Thanks!!! > > > > > On Tuesday, January 6, 2015 3:26:57 PM UTC-6, David Nolen wrote: > > I haven't seen this. Does that namespace exist and where is located in > your source tree? > > > > > > Also make sure you've actually cleaned your build, removed all cached > trampolines, removed target directory etc. > > > > > > > > David > > > > > > On Tue, Jan 6, 2015 at 4:13 PM, Brian Hurlow <[email protected]> wrote: > > Hey All! > > > > > > > > Very excited to see all the advancements going in in cljs land. > > > > Recently updated my cljs project from 0.0-2511 to 0.0-2665 > > > > and it will no longer build correctly. > > > > > > > > stack trace looks something like this: > > > > > > > > Compiling "resources/public/js/dev.js" failed. > > > > clojure.lang.ExceptionInfo: failed compiling > file:src/cljs/components/admin.cljs > > > > core.clj:4403 clojure.core/ex-info > > > > compiler.clj:1039 cljs.compiler/compile-file > > > > compiler.clj:1069 cljs.compiler/compile-root > > > > closure.clj:358 cljs.closure/compile-dir > > > > closure.clj:398 cljs.closure/eval3157[fn] > > > > closure.clj:306 cljs.closure/eval3093[fn] > > > > closure.clj:412 cljs.closure/eval3144[fn] > > > > closure.clj:306 cljs.closure/eval3093[fn] > > > > compiler.clj:44 cljsbuild.compiler.SourcePaths/fn > > > > core.clj:2557 clojure.core/map[fn] > > > > LazySeq.java:40 clojure.lang.LazySeq.sval > > > > LazySeq.java:49 clojure.lang.LazySeq.seq > > > > RT.java:484 clojure.lang.RT.seq > > > > core.clj:133 clojure.core/seq > > > > core.clj:624 clojure.core/apply > > > > core.clj:2586 clojure.core/mapcat > > > > RestFn.java:423 clojure.lang.RestFn.invoke > > > > compiler.clj:44 > cljsbuild.compiler/cljsbuild.compiler.SourcePaths > > > > closure.clj:1018 cljs.closure/build > > > > closure.clj:972 cljs.closure/build > > > > compiler.clj:58 cljsbuild.compiler/compile-cljs[fn] > > > > compiler.clj:57 cljsbuild.compiler/compile-cljs > > > > compiler.clj:159 cljsbuild.compiler/run-compiler > > > > form-init3593787371129577889.clj:1 user/eval3509[fn] > > > > form-init3593787371129577889.clj:1 user/eval3509[fn] > > > > LazySeq.java:40 clojure.lang.LazySeq.sval > > > > LazySeq.java:49 clojure.lang.LazySeq.seq > > > > RT.java:484 clojure.lang.RT.seq > > > > core.clj:133 clojure.core/seq > > > > core.clj:2855 clojure.core/dorun > > > > core.clj:2871 clojure.core/doall > > > > form-init3593787371129577889.clj:1 user/eval3509 > > > > Compiler.java:6703 clojure.lang.Compiler.eval > > > > Compiler.java:6693 clojure.lang.Compiler.eval > > > > Compiler.java:7130 clojure.lang.Compiler.load > > > > Compiler.java:7086 clojure.lang.Compiler.loadFile > > > > main.clj:274 clojure.main/load-script > > > > main.clj:279 clojure.main/init-opt > > > > main.clj:307 clojure.main/initialize > > > > main.clj:342 clojure.main/null-opt > > > > main.clj:420 clojure.main/main > > > > RestFn.java:421 clojure.lang.RestFn.invoke > > > > Var.java:383 clojure.lang.Var.invoke > > > > AFn.java:156 clojure.lang.AFn.applyToHelper > > > > Var.java:700 clojure.lang.Var.applyTo > > > > main.java:37 clojure.main.main > > > > Caused by: clojure.lang.ExceptionInfo: No such namespace: buffalo.state > at line 1 src/cljs/components/admin.cljs > > > > core.clj:4403 clojure.core/ex-info > > > > analyzer.clj:297 cljs.analyzer/error > > > > analyzer.clj:294 cljs.analyzer/error > > > > analyzer.clj:1095 cljs.analyzer/analyze-deps > > > > analyzer.clj:1280 cljs.analyzer/eval1558[fn] > > > > MultiFn.java:249 clojure.lang.MultiFn.invoke > > > > analyzer.clj:1609 cljs.analyzer/analyze-seq > > > > analyzer.clj:1696 cljs.analyzer/analyze[fn] > > > > analyzer.clj:1689 cljs.analyzer/analyze > > > > analyzer.clj:1684 cljs.analyzer/analyze > > > > analyzer.clj:1865 cljs.analyzer/analyze-file[fn] > > > > analyzer.clj:1861 cljs.analyzer/analyze-file > > > > compiler.clj:1036 cljs.compiler/compile-file[fn] > > > > compiler.clj:906 cljs.compiler/with-core-cljs > > > > compiler.clj:1036 cljs.compiler/compile-file > > > > > > > > Is there a difference between how namespaces are handled with this new > version of clojurescript? I have not made any source code changes, only > updated project deps. > > > > > > > > > > > > Thanks! > > > > > > > > -- > > > > 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. > > -- > 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. > -- 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.
