practicalli

https://practicalli.github.io/ http://yt.vu/+practicalli (youtube)
roelof 2021-01-01T16:24:36.324100Z

for the banking app I could do the same as this : `

clojure -M:project/new app practicalli/status-monitor-service

roelof 2021-01-01T16:41:26.324400Z

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

practicalli-john 2021-01-01T17:42:46.325900Z

@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

roelof 2021-01-01T17:49:42.327Z

finally the app is made and I can start 🙂

1❤️
roelof 2021-01-01T18:58:29.327400Z

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

Malik Kennedy 2021-01-01T21:05:37.327900Z

I think that's because you're lacking the httpkit dependency. (I still use leinigen, so idk)

roelof 2021-01-01T21:12:02.328500Z

I also but this tutoriall is using clojure-cli