luminus-framework/luminus

New project with +service profile does not build

Closed this issue · 2 comments

To reproduce:

~/repos $ lein new luminus test-app +service
Generating a Luminus project.
~/repos $ cd test-app
~/r/test-app $ lein repl
Exception in thread "main" java.lang.ExceptionInInitializerError
        at clojure.main.<clinit>(main.java:20)
Caused by: java.lang.RuntimeException: Unable to resolve symbol: wrap-webjars in this context, compiling:(test_app/middleware.clj:12:7)
        at clojure.lang.Compiler.analyze(Compiler.java:6688)
        at clojure.lang.Compiler.analyze(Compiler.java:6625)

Other lein tasks like uberjar fail with the same error. The problem is solved by removing the line "webjars" from test-app.middleware/wrap-base.

ah sorry about that, introduced a regression fixing this issue luminus-framework/luminus-template#234 I'll push a new version out shortly

ok pushed out the fix for this