Decided to give Clojurescript a go while I’m evaluating different alternatives for front-end development. I seem to have hit a bit of an issue in the Quick Start. I setup the deps.edn (this is on Linux) and the folder structure is as it should be, but if I enter clj --main cljs.main --compile hello-world.core --repl
from the project root directory (where the deps.edn file is), I get the following error:
Caused by: java.lang.IllegalArgumentException: Namespace hello-world.core does not exist. Please check that namespaces with dashes use underscores in the ClojureScript file name.
I’m not sure what I’m doing wrong. Any advice? Feeling a bit frustrated that I’m 2 minutes in and the intro guide doesn’t seem to work.