Fork me on GitHub

Hi, I'm following the readme alias here

     {:new {:extra-deps {seancorfield/clj-new
                         {:mvn/version "1.1.228"}}
            :ns-default clj-new
            :exec-args {:template "app"}}}
But I'm getting error when executing clj -X:new create :name jaimesangcap/sample
Execution error (FileNotFoundException) at (
-X:new (No such file or directory)

Full report at:

----- Content of /var/folders/lw/_rg6ygr52m71s2v_y1lc5xr4gjb1wv/T/clojure-584313092484341518.edn
 "Execution error (FileNotFoundException) at (\n-X:new (No such file or directory)\n",
  :clojure.error/line -2,
  :clojure.error/cause "-X:new (No such file or directory)",
  :clojure.error/source "",
  :clojure.error/phase :execution},
    :message "-X:new (No such file or directory)",
    :at [ open0 "" -2]}],
  [[ open0 "" -2]
   [ open "" 195]
   [ <init> "" 138]
   [ <init> "" 93]
   [clojure.lang.Compiler loadFile "" 7571]
   [clojure.main$load_script invokeStatic "main.clj" 475]
   [clojure.main$script_opt invokeStatic "main.clj" 535]
   [clojure.main$script_opt invoke "main.clj" 530]
   [clojure.main$main invokeStatic "main.clj" 664]
   [clojure.main$main doInvoke "main.clj" 616]
   [clojure.lang.RestFn applyTo "" 137]
   [clojure.lang.Var applyTo "" 705]
   [clojure.main main "" 40]],
  :cause "-X:new (No such file or directory)"}}
I'm using clojure 1.10.1, ~/.clojure/deps.edn is
 {:new {:extra-deps {seancorfield/clj-new
                     {:mvn/version "1.1.228"}}
        :ns-default clj-new
        :exec-args {:template "app"}}}}
What am I missing here? Appreciate your help, thanks


@jaime.sangcap Looks like your CLI version is too old. You need to be using at least per the readme: > Note: these instructions assume you are using the Clojure CLI version or later! You can find out what version you have installed via clojure -Sdescribe


The current stable version of the CLI is per


thanks a lot! I upgraded the version annd it works now