This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-23
Channels
- # announcements (5)
- # babashka (22)
- # beginners (240)
- # calva (51)
- # clj-commons (1)
- # cljsrn (9)
- # clojars (12)
- # clojure (81)
- # clojure-australia (2)
- # clojure-europe (40)
- # clojure-france (10)
- # clojure-italy (1)
- # clojure-nl (2)
- # clojure-uk (37)
- # clojurescript (59)
- # clojureverse-ops (2)
- # copenhagen-clojurians (1)
- # cursive (9)
- # datomic (18)
- # emacs (12)
- # fulcro (24)
- # graalvm (48)
- # hyperfiddle (5)
- # introduce-yourself (1)
- # jackdaw (1)
- # jobs (2)
- # juxt (8)
- # lsp (25)
- # malli (8)
- # missionary (1)
- # music (3)
- # off-topic (32)
- # polylith (16)
- # quil (4)
- # re-frame (52)
- # reitit (5)
- # reveal (3)
- # rewrite-clj (26)
- # rum (1)
- # sci (1)
- # shadow-cljs (14)
- # sql (2)
- # tools-build (40)
- # tools-deps (14)
- # vrac (2)
- # xtdb (63)
Well, I have some progress. Ive reinstalled clojure, reinstalled node, reinstalled shadow-cljs, tried :aot false, but now I'm getting a different error.
stuarts@x-lap-562:/mnt/c/Users/stuarts/Source/___TESTREPOS/__Clojure/tic-tac-toe-re-frame$ shadow-cljs watch app
shadow-cljs - config: /mnt/c/Users/stuarts/Source/___TESTREPOS/__Clojure/tic-tac-toe-re-frame/shadow-cljs.edn
Error: Could not find or load main class clojure.main
Caused by: java.lang.ClassNotFoundException: clojure.main
when watching a build using a :resolve
with :target :file
in the :js-options
, the changes to the specified file doesn’t trigger a re-compile. is this expected?
nevermind, using https://shadow-cljs.github.io/docs/UsersGuide.html#_requiring_js now instead which does the trick
extreme long shot, but what happens if the directories don't have underscores.
@qmstuart how are you starting those? you can just use shadow-cljs with deps.edn or project.clj. Although I'd be interested in figuring out what the problem is. Don't have an immediate guess. I'm on Windows and WSL myself so I know it works just fine.
Thank you so much! Deleting the repositories and rerunning seems to have fixed it. I think whats happened is my internet connection here is absymal (<100kbps) and maybe some stuff has failed to download initially!
try wiping your ~/.m2/repositories
dir. maybe there is something weird going on there. It'll just download all the files again
I'm upgrading some of my deps, shadow-cljs included, and I'm getting some new errors when connecting my editor to the repl.