This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-08-04
Channels
- # announcements (1)
- # babashka (29)
- # beginners (23)
- # clerk (3)
- # clojure (24)
- # clojure-europe (9)
- # clojure-gamedev (4)
- # clojure-norway (3)
- # clojurescript (11)
- # cursive (4)
- # datomic (10)
- # emacs (4)
- # hyperfiddle (22)
- # lsp (4)
- # missionary (10)
- # off-topic (95)
- # parinfer (11)
- # polylith (11)
- # reitit (16)
- # releases (1)
- # shadow-cljs (9)
Hey after doing an npm upgrade
on lib that is dependency of another lib I use changed the https://github.com/vfile/vfile/compare/6.0.1...6.0.2#diff-92bbac9a308cd5fcf9db165841f2d90ce981baddcb2b1e26cfff170929af3bd1L80-L81 to use #paths with https://nodejs.org/api/packages.html#packages_imports and I started getting this error:
shadow-cljs - config: /Users/rafael.delboni/Workspaces/clj/docs.frontend/shadow-cljs.edn
shadow-cljs - starting via "clojure"
[:ci-tests] Compiling ...
The required JS dependency "#minpath" is not available, it was required by "node_modules/vfile/lib/index.js".
Do you folks know if there is any way to support this on shadow?:resolve {"#minpath" {:target :npm :require "vfile/lib/minpath.browser.js"}}
should work
Thanks ! I there a way to reuse :resolve
between different builds like :app
and :tests
or I need to replicate this settings in each build ?
I tried to use as https://shadow-cljs.github.io/docs/UsersGuide.html#alt-node-modules, but it doesn't work
top level don't work here, using inside build works fine (I'm at 2.28.11)
https://github.com/clj-codes/docs.frontend/pull/51/ But this works fine.