babashka / neil

A CLI to add common aliases and features to deps.edn-based projects
MIT License
377 stars 27 forks source link

'deps update' throws error #159

Closed GetBitOutdoors closed 1 year ago

GetBitOutdoors commented 1 year ago

Upgraded to v0.1.53 and now getting this error when running neil dep update:

----- Error --------------------------------------------------------------------
Type:     java.util.concurrent.ExecutionException
Message:  java.lang.NullPointerException
Location: /Users/ryan/.gitlibs/libs/io.github.babashka/neil/5d30c871efa4bd357aa7999bd82d1444553ec37a/neil:1532:3

----- Context ------------------------------------------------------------------
1528: 
1529: 
1530: 
1531: (defn -main [& _args]
1532:   (cli/dispatch
        ^--- java.lang.NullPointerException
1533:    [{:cmds ["add" "dep"] :fn dep-add :args->opts [:lib]}
1534:     {:cmds ["add" "test"] :fn add-cognitect-test-runner}
1535:     {:cmds ["add" "build"] :fn add-build}
1536:     {:cmds ["add" "kaocha"] :fn add-kaocha}
1537:     {:cmds ["add" "nrepl"] :fn add-nrepl}

----- Stack trace --------------------------------------------------------------
clojure.core/deref-future            - <built-in>
clojure.core/future-call/reify--8544 - <built-in>
clojure.core/deref                   - <built-in>
clojure.core/map/fn--5935            - <built-in>
clojure.core/seq--5467               - <built-in>
... (run with --debug to see elided elements)
clojure.core/seq--5467               - <built-in>
babashka.neil/-main                  - /Users/ryan/.gitlibs/libs/io.github.babashka/neil/5d30c871efa4bd357aa7999bd82d1444553ec37a/neil:1532:3
babashka.neil/-main                  - /Users/ryan/.gitlibs/libs/io.github.babashka/neil/5d30c871efa4bd357aa7999bd82d1444553ec37a/neil:1531:1
babashka.neil                        - /Users/ryan/.gitlibs/libs/io.github.babashka/neil/5d30c871efa4bd357aa7999bd82d1444553ec37a/neil:1592:3
babashka.neil                        - /Users/ryan/.gitlibs/libs/io.github.babashka/neil/5d30c871efa4bd357aa7999bd82d1444553ec37a/neil:1591:1

Trying to update this deps.edn:

{:deps {com.lambdaisland/ornament {:mvn/version "0.7.77"}
        com.lambdaisland/hiccup {:mvn/version "0.0.4"}
        garden/garden {:mvn/version "1.3.10"}
        org.flatland/useful {:mvn/version "0.11.6"}
        com.rpl/specter {:mvn/version "1.1.4"}
        com.kiranshila/cybermonday {:mvn/version "0.5.204"}}}