boot-clj / bootstrap

Boot-clj loader - downloads and runs boot.
MIT License
7 stars 2 forks source link

Creation of new project from template fails #5

Open jeroenvandijk opened 5 years ago

jeroenvandijk commented 5 years ago

This works with boot-clj (installed via homebrew, version 2.7.1)

boot -d boot/new new -t app -n myapp

But with this project (tested with 55538d9942e32a2acddb490a4f3a5bb916c9e49f) it fails


                              java.lang.Thread.run              Thread.java:  748
java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  624
 java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1149
               java.util.concurrent.FutureTask.run          FutureTask.java:  266
                                               ...
               clojure.core/binding-conveyor-fn/fn                 core.clj: 2030
                                 boot.core/boot/fn                 core.clj: 1033
                                               ...
                         boot.core/construct-tasks                 core.clj:  987
java.lang.IllegalArgumentException: No such task (boot/new)
        clojure.lang.ExceptionInfo: No such task (boot/new)
burn2delete commented 5 years ago

hm, it would seem the new dependency is not being added to the env.

Could you please provide the full output from boot, also what happens when you go boot -d boot/new show -e

jeroenvandijk commented 5 years ago

Here is the full output

➜  bootstrap git:(master) bin/boot.sh -d boot/new new -t app -n myapp
                              java.lang.Thread.run              Thread.java:  748
java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  624
 java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1149
               java.util.concurrent.FutureTask.run          FutureTask.java:  266
                                               ...
               clojure.core/binding-conveyor-fn/fn                 core.clj: 2030
                                 boot.core/boot/fn                 core.clj: 1033
                                               ...
                         boot.core/construct-tasks                 core.clj:  987
java.lang.IllegalArgumentException: No such task (boot/new)
        clojure.lang.ExceptionInfo: No such task (boot/new)
    line: 62
➜  bootstrap git:(master) bin/boot.sh -d boot/new show -e
                              java.lang.Thread.run              Thread.java:  748
java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  624
 java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1149
               java.util.concurrent.FutureTask.run          FutureTask.java:  266
                                               ...
               clojure.core/binding-conveyor-fn/fn                 core.clj: 2030
                                 boot.core/boot/fn                 core.clj: 1033
                                               ...
                         boot.core/construct-tasks                 core.clj:  987
java.lang.IllegalArgumentException: No such task (boot/new)
        clojure.lang.ExceptionInfo: No such task (boot/new)
    line: 62
➜  bootstrap git:(master)