lein-create-template icon indicating copy to clipboard operation
lein-create-template copied to clipboard

Error: Map literal must contain an even number of forms, compiling

Open Wolfgang51 opened this issue 8 years ago • 0 comments

Hey there, I was able to follow to readme up until "lein install". I got the following error message

Caused by: clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Map literal must contain an even number of forms, compiling:(C:\src\Lein Templates\doo_testing_template\project.clj:1:23) at clojure.lang.Compiler.load (Compiler.java:7386) clojure.lang.Compiler.loadFile (Compiler.java:7317)


This is what my project.clj looks like


`(defproject {{ns-name}} "0.1.0-SNAPSHOT" :dependencies [[org.clojure/clojure "1.8.0"] [org.clojure/clojurescript "1.9.227"] [reagent "0.5.1"] [lein-doo "0.1.7"]]

:source-paths ["src/clj"]

:plugins [[lein-cljsbuild "1.0.6"] [lein-doo "0.1.7"]]

:clean-targets ^{:protect false} ["resources/public/js/compiled" "target" "test/js"]

:cljsbuild {:builds [{:id "prod" :source-paths ["src/cljs"] :compiler {:output-to "resources/public/js/compiled/app.js" :optimizations :advanced :pretty-print false}} {:id "test" :source-paths ["src/cljs" "test/cljs"] :compiler {:output-to "resources/public/js/compiled/test.js" :main {{ns-name}}.runner :optimizations :none}}]})`


Any ideas? Thanks

Wolfgang51 avatar Feb 09 '18 14:02 Wolfgang51