This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-03-26
Channels
- # announcements (6)
- # beginners (51)
- # cider (3)
- # cljsrn (9)
- # clojure (4)
- # clojure-argentina (1)
- # clojure-houston (2)
- # clojure-italy (5)
- # clojure-nl (1)
- # clojure-spec (14)
- # clojurescript (17)
- # community-development (2)
- # cursive (53)
- # datomic (69)
- # fulcro (5)
- # graphql (15)
- # immutant (6)
- # jobs (2)
- # kaocha (1)
- # leiningen (15)
- # lumo (5)
- # midje (1)
- # nrepl (6)
- # off-topic (119)
- # pathom (11)
- # tools-deps (5)
sorry to just barge in and demand help: I just upgraded leiningen to 2.9.1 and if I just run lein
in my project I'm getting this mysterious error message:
clojure.lang.Compiler$CompilerException: Syntax error macroexpanding clojure.core/ns at (clojure/tools/namespace.clj:15:1).
Any ideas how to fix that?
Thank you!(which doesn't seem to trigger it) I'm at loss why an upgrade from 2.8.1 to 2.9.1 would cause that much trouble
Can you show the full stack trace, and the command you ran?
I think this is due to using an old version of tools.namespace, which had an ns problem that failed the specs added in clojure 1.9
most likely pulled in via a plugin
I kind of suspect lein-autoreload here as thing pulling it in?
maybe check ~/.lein/profiles.clj too
lein-autoreload -> ns-tracker -> tools.namespace
you might be able to set :jvm-opts ["-Dclojure.spec.skip-macros=true"]
in your project.clj to get past the error enough to be able to use lein to figure out how to remove/fix that dep
why lein upgrade triggered that, I can't explain unless it's a change to using clojure 1.9 for lein itself