@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