This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-06
Channels
- # announcements (69)
- # aws-lambda (3)
- # babashka (45)
- # beginners (28)
- # calva (4)
- # clara (7)
- # clojure (23)
- # clojure-spec (5)
- # clojure-uk (18)
- # clojurescript (57)
- # clojutre (1)
- # cursive (20)
- # datomic (31)
- # emacs (5)
- # figwheel-main (3)
- # fulcro (16)
- # graalvm (7)
- # luminus (4)
- # nrepl (9)
- # off-topic (50)
- # re-frame (8)
- # reitit (2)
- # rewrite-clj (10)
- # shadow-cljs (88)
- # spacemacs (1)
- # sql (6)
- # vim (2)
Hi - I’m trying to get started with Figwheel Main via the template. I’m working through the instructions at https://rigsomelight.com/figwheel-main-template/ and I suspect I’m missing something really simple. I can run my project and see the live tests in the browser (all good). But when I try to run the tests from the command line with “clj -A:fig:test”, I get:
Error in command line args
-- Spec failed --------------------
["-co" "test.cljs.edn" "-m" "hello-world.test-runner/hello-world.test-runner"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
should be a CLJS namespace available on the classpath
__ Doc for -m --main _____
Call the -main function from a namespace with args
-------------------------
Detected 1 error
I suspect I’m missing something really basic - any pointers?Ah! theller helped me debug this in the #clojurescript channel - the generated deps.edn
should have the name of the test runner quoted. I’ll see if I can knock together a pull request to fix this.