This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-14
Channels
- # admin-announcements (2)
- # beginners (8)
- # boot (75)
- # clara (2)
- # cljs-dev (3)
- # cljsjs (39)
- # cljsrn (1)
- # clojure (75)
- # clojure-brasil (3)
- # clojure-dusseldorf (13)
- # clojure-gamedev (1)
- # clojure-mexico (1)
- # clojure-quebec (5)
- # clojure-russia (30)
- # clojure-sg (3)
- # clojure-spec (25)
- # clojure-uk (65)
- # clojurescript (36)
- # core-async (1)
- # cursive (15)
- # data-science (6)
- # datomic (38)
- # devcards (29)
- # editors (1)
- # emacs (11)
- # funcool (6)
- # hoplon (43)
- # immutant (48)
- # lambdaisland (2)
- # leiningen (9)
- # mental-health (4)
- # mount (1)
- # numerical-computing (1)
- # off-topic (4)
- # om (19)
- # onyx (1)
- # pedestal (1)
- # proton (1)
- # re-frame (21)
- # reagent (1)
- # specter (8)
- # sql (3)
- # testing (14)
- # untangled (9)
- # yada (31)
@bensu: wondering if the doo
Node.js runner can find modules in node_modules
I’m not having any luck with Boot currently
it worked in Lein but can’t get it to work with Boot even after adding node_modules
to the fileset
@anmonteiro: I’m not sure. node_modules
works with relative paths. lein-doo
respects that since you usually call it from a root dir that has both project.clj
and node_modules
. Then it works.
@bensu: right, I got that working. But I’m trying that in a boot project and the concept is different because it relies on filesets
and filesets are not directly mapped to the project tree
then I can’t help you much. there are a couple of tickets (CLJS-JIRA) around calling the compiler with different relative paths (by @martinklepsch and me) which might help you see what the problem is
I would talk to @crisptrutski since he has done all the related work.
@bensu: yeah, I’ve also seen those tickets a while ago, but I’m not having that problem. IIRC they are about :target :nodejs
and the path for the preamble or something
thanks for your help anyway, I’ll keep diggging
final idea, read boot-cljs-test
source to find how he adds runner.js
to the file-set. If he preserves the relative paths, then you can use the same thing to add node_modules
and that should work
@bensu: cool, I’ll try that first
I should note that I’m using boot-cljs-test
so I definitely want to put node_modules
where runner.js
can read them