aviary
aviary copied to clipboard
New project fails to start (lein 2.5.1)
lein new aviary myaviary
cd myaviary
lein repl
#<CompilerException java.lang.RuntimeException: No such var: ana/forms-seq*, compiling:(clojurescript_build/core.clj:48:23)>
Exception in thread "main" java.lang.RuntimeException: No such var: myaviary.dev/start, compiling:(/private/var/folders/br/r1n2vzk15s187n2n6d62g9xr0000gn/T/form-init2708632908198130997.clj:1:5124)
at clojure.lang.Compiler.analyze(Compiler.java:6464)
at clojure.lang.Compiler.analyze(Compiler.java:6406)
at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3665)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:6646)
at clojure.lang.Compiler.analyze(Compiler.java:6445)
at clojure.lang.Compiler.analyze(Compiler.java:6406)
at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:5782)
at clojure.lang.Compiler$FnMethod.parse(Compiler.java:5217)
at clojure.lang.Compiler$FnExpr.parse(Compiler.java:3846)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:6642)
at clojure.lang.Compiler.analyze(Compiler.java:6445)
at clojure.lang.Compiler.eval(Compiler.java:6700)
at clojure.lang.Compiler.eval(Compiler.java:6693)
at clojure.lang.Compiler.eval(Compiler.java:6692)
at clojure.lang.Compiler.load(Compiler.java:7130)
at clojure.lang.Compiler.loadFile(Compiler.java:7086)
at clojure.main$load_script.invoke(main.clj:274)
at clojure.main$init_opt.invoke(main.clj:279)
at clojure.main$initialize.invoke(main.clj:307)
at clojure.main$null_opt.invoke(main.clj:342)
at clojure.main$main.doInvoke(main.clj:420)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
Caused by: java.lang.RuntimeException: No such var: myaviary.dev/start
at clojure.lang.Util.runtimeException(Util.java:221)
at clojure.lang.Compiler.resolveIn(Compiler.java:6914)
at clojure.lang.Compiler.resolve(Compiler.java:6884)
at clojure.lang.Compiler.analyzeSymbol(Compiler.java:6845)
at clojure.lang.Compiler.analyze(Compiler.java:6427)
... 25 more
That bug is the reason behind: https://github.com/wkf/aviary/issues/10
So, for now, you can change the versions in the project.clj
file after creating the project:
[org.clojure/clojure "1.7.0-RC2"]
[org.clojure/clojurescript "0.0-3308"]
I just pushed a fix, should be better in version 0.1.15
.
That moved it along but it still errors out:
Exception in thread "main" java.lang.RuntimeException: Unable to resolve symbol: do in this context, compiling:(/private/var/folders/br/r1n2vzk15s187n2n6d62g9xr0000gn/T/form-init9182511960730186691.clj:1:5124)
at clojure.lang.Compiler.analyze(Compiler.java:6543)
at clojure.lang.Compiler.analyze(Compiler.java:6485)
at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3791)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:6725)
at clojure.lang.Compiler.analyze(Compiler.java:6524)
at clojure.lang.Compiler.analyze(Compiler.java:6485)
at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:5861)
at clojure.lang.Compiler$FnMethod.parse(Compiler.java:5296)
at clojure.lang.Compiler$FnExpr.parse(Compiler.java:3925)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:6721)
at clojure.lang.Compiler.analyze(Compiler.java:6524)
at clojure.lang.Compiler.eval(Compiler.java:6779)
at clojure.lang.Compiler.eval(Compiler.java:6772)
at clojure.lang.Compiler.eval(Compiler.java:6771)
at clojure.lang.Compiler.load(Compiler.java:7227)
at clojure.lang.Compiler.loadFile(Compiler.java:7165)
at clojure.main$load_script.invoke(main.clj:275)
at clojure.main$init_opt.invoke(main.clj:280)
at clojure.main$initialize.invoke(main.clj:308)
at clojure.main$null_opt.invoke(main.clj:343)
at clojure.main$main.doInvoke(main.clj:421)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
Caused by: java.lang.RuntimeException: Unable to resolve symbol: do in this context
at clojure.lang.Util.runtimeException(Util.java:221)
at clojure.lang.Compiler.resolveIn(Compiler.java:7019)
at clojure.lang.Compiler.resolve(Compiler.java:6963)
at clojure.lang.Compiler.analyzeSymbol(Compiler.java:6924)
at clojure.lang.Compiler.analyze(Compiler.java:6506)
... 25 more
Hmm, I just created a new project with aviary 0.1.15
, and I'm having trouble reproducing. Would you mind giving me a walk through of how to reproduce? Thanks!
Sorry, I see now that your post started with some instructions. Could you give me more information about your system?
It seems it's just not playing well with something in my profiles.clj. Trying to track it down.
Very odd. Merely including the [mvxcvi/whidbey "1.0.0"]
lein pluging prevents aviary from starting, even though I cannot see any dependency conflicts.
Hmmm, that's interesting. Maybe it's related to the way aviary reformats console output. I can try to take a look some time this week.
You get this error if the project is a clojure project rather than a clojurescript project. That is at least my experience. So if you create a project with "lein new mies