This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-12
Channels
- # ai (1)
- # aleph (11)
- # announcements (9)
- # aws (1)
- # beginners (61)
- # chlorine-clover (2)
- # clj-kondo (1)
- # clojure (35)
- # clojure-australia (1)
- # clojure-china (1)
- # clojure-europe (1)
- # clojure-filipino (1)
- # clojure-france (2)
- # clojure-hk (1)
- # clojure-indonesia (1)
- # clojure-japan (1)
- # clojure-korea (1)
- # clojure-my (1)
- # clojure-sg (1)
- # clojure-taiwan (1)
- # clojure-uk (1)
- # clojured (14)
- # clojurescript (45)
- # cursive (8)
- # data-science (2)
- # events (1)
- # fulcro (2)
- # gratitude (4)
- # helix (1)
- # honeysql (3)
- # introduce-yourself (1)
- # malli (4)
- # minecraft (4)
- # nbb (23)
- # off-topic (57)
- # polylith (4)
- # reagent (2)
- # sci (23)
- # shadow-cljs (7)
- # vim (1)
- # xtdb (17)
Hello, I'm trying to create a shadow-cljs project with it's dependencies listed in deps.edn. The problem I'm running into is that shadow-cljs does not find react and react-dom as deps for reagent, if I specify them in the deps.edn file. It only works if I have them installed into a node_modules folder. Ideally I'd just like to eliminate the usage of npm, and have all my deps specified in deps.edn.
@ahlawatkaran14 JS dependencies cannot be specified in deps.edn and you need npm for them.
So there's no way at all? Unfortunate, but that's life I suppose
you don't even specify JS dependencies in shadow-cljs.edn
when using only that. they always go in package.json
and are managed by npm or yarn
Ah, okay. I read on the reagent website that you could specify cljsjs/react and react-dom, so I thought it was possible. Maybe that was for other options than shadow-cljs
Aha! Fair enough. Thanks for replying, I was really stumped. Now to figure out a good REPL workflow.