kendru / learn-cljs

Source code for Learn ClojureScript
62 stars 26 forks source link

Lesson 14: clj command to create new project returns "No function found on command line or in :exec-fn" #49

Closed alvinsim closed 3 years ago

alvinsim commented 3 years ago

I am following the tutorial on "Lesson 14: Performing I/O" and the clj command that is used to create a new project doesn't work for me. Below is a snippet of the command and error message returned.

$ clj -X:new :template figwheel-main :name doing-io :args '["+deps"]' No function found on command line or in :exec-fn

Is there something that I have missed before this step?

Below are the details of my development environment:

alvinsim commented 3 years ago

My bad. I see it now on "Lesson 5". I must have missed it because the cljs-weather app I did was a lein project.

zaynmalik2611 commented 2 years ago

I am having the same error what should i do?

alexsukhrin commented 1 year ago

The answer is in lesson 5

Flinner commented 8 months ago

check ~/.config/clojure/deps.edn instead of ~/.clojure/deps.edn.