Welcome! Please see the About page for a little more info on how this works.

+1 vote
in ClojureScript by

At The ClojureScript QuickStart page we get told to set up a file tree and then run

clj --main cljs.main --compile hello-world.core --repl

There should be a mention that one has to be in the directory with deps.edn. If one is not (for example, one is still in src), then:

Execution error (FileNotFoundException) at clojure.main/main (main.java:40).
Could not locate cljs/main__init.class, cljs/main.clj or cljs/main.cljc on classpath.

Very annoying!

I urgently suggest to add a line to the Quick Start page saying "make sure you are located in the directory with the deps.edn file."

1 Answer

+1 vote
by

The best place to file this suggestion is https://github.com/clojure/clojurescript-site/issues

by
Thanks Alex, will do.
...