Fork me on GitHub
#luminus
<
2016-09-22
>
tdaudelin19:09:01

Hey all, I'm having trouble getting the +cider switch to work when creating a new project:

tdaudelin19:09:06

$ lein new luminus test-proj +cider
Unrecognized options: +cider 
Supported options are: +sqlite, +datomic, +site, +h2, +jetty, +cljs, +service, +sassc, +swagger, +auth, +war, +http-kit, +cucumber, +aleph, +mongodb, +postgres, +mysql, +kibit

tdaudelin19:09:10

I'm still getting comfortable with clojure tooling, I thought maybe I have an old version of the luminus template so I also tried:

$ lein new luminus test --snapshot -- +cider
Unrecognized options: +cider 
Supported options are: +sqlite, +datomic, +site, +h2, +jetty, +cljs, +service, +sassc, +swagger, +auth, +war, +http-kit, +cucumber, +aleph, +mongodb, +postgres, +mysql, +kibit

tdaudelin19:09:48

not really sure what I'm doing wrong here... and googling has not shown any results

tdaudelin19:09:16

like, there doesn't appear to be any way to see what version of template I have! haha

tdaudelin19:09:22

Same issue trying $ lein new luminus test --template-version 2.9.11.01 -- +cider

jmayaalv20:09:19

@tdaudelin i just tried to create a new project with +cider and worked just fine. So it seems that you have an old version.

jmayaalv20:09:00

try removing: ~/.m2/repository/luminus/lein-template

jmayaalv20:09:13

and running the command again

tdaudelin20:09:39

@jmayaalv hmm seems like no matter what I do it always pulls down v2.9.10.74:

$ lein new luminus test --template-version 2.9.11.01 -- +cider
Retrieving luminus/lein-template/2.9.10.74/lein-template-2.9.10.74.pom from clojars
Retrieving luminus/lein-template/2.9.10.74/lein-template-2.9.10.74.jar from clojars
Unrecognized options: +cider 
Supported options are: +sqlite, +datomic, +site, +h2, +jetty, +cljs, +service, +sassc, +swagger, +auth, +war, +http-kit, +cucumber, +aleph, +mongodb, +postgres, +mysql, +kibit

tdaudelin20:09:16

ah, hmm... it seems my version of leiningen is outdated

tdaudelin20:09:39

just upgraded to 2.7.1 and I'm having the same issue... unless I use the --snapshot flag

tdaudelin20:09:57

using that suddenly +cider works ¯\(ツ)

jmayaalv21:09:05

@tdaudelin at least u go it ¯\(ツ)