You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Luminus Leiningen template has a +http-kit feature. On the code level, this is implemented in the name space leiningen.new.http-kit. But this clashes with http-kit's own Leiningen template.
I believe this only happens when you add http-kit's template to your ~/.lein/profiles.clj, as they require in their How to install instructions.
When you then try to use the Luminus template this is what you get:
$ lein new luminus test
Could not load template, failed with: java.lang.IllegalAccessError: http-kit-features does not exist, compiling:(leiningen/new/luminus.clj:1:1)
I'm still new to Leiningen so I'm not sure if there can be anything done about it. At least maybe a word in the documentation could help.
The text was updated successfully, but these errors were encountered:
While that was an easy fix, it seems there is an intrinsic problem here: As templates populate the same leiningen.new name space the danger of name collisions increases with every new template. But maybe this is not a real issue as long as you don't add the template dependency to your ~/.lein/profiles.clj (which probably few templates require).
The Luminus Leiningen template has a
+http-kit
feature. On the code level, this is implemented in the name space leiningen.new.http-kit. But this clashes with http-kit's own Leiningen template.I believe this only happens when you add http-kit's template to your
~/.lein/profiles.clj
, as they require in their How to install instructions.When you then try to use the Luminus template this is what you get:
I'm still new to Leiningen so I'm not sure if there can be anything done about it. At least maybe a word in the documentation could help.
The text was updated successfully, but these errors were encountered: