for the banking app I could do the same as this : `
clojure -M:project/new app practicalli/status-monitor-service
nope, does not work :
clojure -M:project/new app practicalli/banking
WARNING: Specified aliases are undeclared: [:project/new]
Execution error (FileNotFoundException) at java.io.FileInputStream/open0 (FileInputStream.java:-2).
app (No such file or directory)
Full report at:
/tmp/clojure-12036299096455373782.edn
@roelof you need to install my aliases for that (or copy them into your own user level configuration for Clojure CLI tools https://practicalli.github.io/clojure/clojure-tools/install/community-tools.html
finally the app is made and I can start 🙂
and another problem
clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version "0.8.3"} cider/cider-nrepl {:mvn/version "0.25.5"} clj-kondo/clj-kondo {:mvn/version "2020.04.05"}}}' -A:uberjar
Downloading: seancorfield/depstar/1.1.128/depstar-1.1.128.pom from clojars
Downloading: seancorfield/depstar/1.1.128/depstar-1.1.128.jar from clojars
WARNING: Use of :main-opts with -A is deprecated. Use -M instead.
Compiling practicalli.banking ...
Compilation of practicalli.banking failed!
Syntax error macroexpanding at (banking.clj:1:1).
Caused by: Could not locate org/httpkit/server__init.class, org/httpkit/server.clj or org/httpkit/server.cljc on classpath.
Jack-in process exited. Status: 1
I think that's because you're lacking the httpkit dependency. (I still use leinigen, so idk)
I also but this tutoriall is using clojure-cli