You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems there's a problem with the template when used with the +boot flag. When I type boot run I get the following error:
java.io.FileNotFoundException: Could not locate lumboot/env__init.class, lumboot/env.clj or lumboot/env.cljc on classpath.
clojure.lang.ExceptionInfo: Could not locate lumboot/env__init.class, lumboot/env.clj or lumboot/env.cljc on classpath.
AFAICT this is because none of the the env-directories are added to the classpath. I've gotten it to to work by prepending the following to the body of the run task:
Since I'm fairly new to Luminus I'm unsure if this is the correct solution. Maybe this is not even a bug, in which case instructions as to how the run task should be used would be helpful.
The text was updated successfully, but these errors were encountered:
Unfortunately I'm not too familiar with boot myself. @DonyorM might be able to confirm if this is the way to go since he originally added boot support. I'd be open for a pr as well since it looks like the solution gets around the problem.
Thanks for the quick reply! After experimenting some more this morning I have now properly understood that dev and prod are mere configuration tasks. If one combines run with either of them (boot dev run or boot prod run) it works just fine – i guess that's the way it's actually supposed to be used… it's just that I didn't get it.
Since this turns out to most likely be a feature, all one might conclude from this “issue” would be to include instructions on the proper use somewhere – lein use is much better documented that boot.
It seems there's a problem with the template when used with the
+boot
flag. When I typeboot run
I get the following error:AFAICT this is because none of the the env-directories are added to the classpath. I've gotten it to to work by prepending the following to the body of the
run
task:Since I'm fairly new to Luminus I'm unsure if this is the correct solution. Maybe this is not even a bug, in which case instructions as to how the
run
task should be used would be helpful.The text was updated successfully, but these errors were encountered: