This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-30
Channels
- # announcements (5)
- # babashka (2)
- # beginners (85)
- # cider (59)
- # cljs-dev (2)
- # clojure (10)
- # clojure-europe (61)
- # clojure-gamedev (20)
- # clojure-nl (2)
- # clojure-norway (9)
- # clojure-uk (5)
- # cursive (24)
- # data-science (4)
- # datascript (8)
- # emacs (1)
- # fulcro (8)
- # graalvm (30)
- # gratitude (9)
- # hyperfiddle (71)
- # introduce-yourself (1)
- # jackdaw (1)
- # leiningen (8)
- # london-clojurians (1)
- # missionary (3)
- # other-languages (10)
- # pathom (8)
- # pedestal (18)
- # polylith (4)
- # proletarian (5)
- # reitit (7)
- # releases (4)
- # ring (8)
- # sci (10)
- # shadow-cljs (27)
- # squint (3)
- # tools-deps (2)
- # xtdb (17)
is there a way to tell lein to upgrade all clojars to latest stable versions?
I always forget antq
works with Leiningen... I love it because it finds all sorts of files to check for updates, like GitHub Actions etc!
trying to run lein outdated
, I get the following error.
Execution error (ClassNotFoundException) at java.net.URLClassLoader/findClass (URLClassLoader.java:471).
org.yaml.snakeyaml.inspector.TagInspector
Full report at:
/var/folders/rf/5n_0m5j52x71hffg59b_y3kw0000gn/T/clojure-14513433198986894880.edn
Error encountered performing task 'run' with profile(s): 'antq'
Suppressed exit
tried lein antq
and got the following error
Retrieving rewrite-clj/rewrite-clj/1.1.47/rewrite-clj-1.1.47.jar from clojars
clojure.lang.Compiler$CompilerException: Syntax error macroexpanding at (rewrite_clj/reader.cljc:1:1).
#:clojure.error{:phase :execution, :line 1, :column 1, :source "rewrite_clj/reader.cljc"}
at clojure.lang.Compiler.load (Compiler.java:7665)
clojure.lang.RT.loadResourceScript (RT.java:381)
clojure.lang.RT.loadResourceScript (RT.java:372)
...
clojure.main$main.doInvoke (main.clj:616)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.lang.Var.applyTo (Var.java:705)
clojure.main.main (main.java:40)
Caused by: java.io.FileNotFoundException: Could not locate clojure/tools/reader/impl/errors__init.class, clojure/tools/reader/impl/errors.clj or clojure/tools/reader/impl/errors.cljc on classpath.
at clojure.lang.RT.load (RT.java:462)
clojure.lang.RT.load (RT.java:424)
clojure.core$load$fn__6908.invoke (core.clj:6161)
clojure.core$load.invokeStatic (core.clj:6160)
...
I'd make sure that lein
is latest, or rollback a few months back (they have https://codeberg.org/leiningen/leiningen/pulls/39 in flight currently - although it may have nothing to do with your issues)
If that doesn't work, note that antq can be run in two manners:
• main
program
• plugin
Both are fundamentally different approaches. If one didn't work, try the other one :) (with that said, plugins can be considered better, as hinted in the antq readme)