Closed sanel closed 2 years ago
Leiningen uses the Clojure reader to load project.clj
files, and thus it is subject to the limitations of Clojure when it comes to rules about what constitutes a valid symbol. The desired behavior is not really possible without completely rewriting the project-loading code. The best we can do is offer a workaround as documented near the end of the FAQ.
lein upgrade
).~/.lein/profiles.clj
(if present) out of the way. This contains third-party dependencies and plugins that can cause problems inside Leiningen.project.clj
, especially if the problem is with a plugin not working. Old versions of plugins like nREPL and CIDER (as well as others) can cause problems with newer versions of Leiningen.Describe the bug When the project dependency artifact starts with a number, leiningen will throw
java.lang.RuntimeException: Invalid token
error.To Reproduce Steps to reproduce the behavior:
demo
.After running
lein deps
, it will throw exception:Workaround is to set dependency as a string, e.g.
Expected behavior Leiningen should download 2captcha library.
Environment