This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-03-01
Channels
- # announcements (4)
- # aws (1)
- # beginners (172)
- # cider (16)
- # cljdoc (63)
- # cljsrn (7)
- # clojure (150)
- # clojure-dev (8)
- # clojure-europe (26)
- # clojure-gamedev (6)
- # clojure-greece (23)
- # clojure-nl (4)
- # clojure-spec (10)
- # clojure-uk (101)
- # clojurescript (40)
- # community-development (5)
- # cursive (19)
- # datomic (54)
- # emacs (39)
- # figwheel-main (5)
- # fulcro (4)
- # graphql (16)
- # immutant (5)
- # jobs (8)
- # jobs-rus (1)
- # leiningen (1)
- # off-topic (31)
- # planck (1)
- # re-frame (7)
- # reagent (8)
- # reitit (6)
- # remote-jobs (4)
- # shadow-cljs (11)
- # spacemacs (18)
- # specter (2)
- # sql (58)
- # vim (2)
- # yada (5)
hi, I’m trying to use the grommet react lib with shadow, and I’m running into some issues, getting a bunch of failed to load messages, (e.g. failed to load module$node_modules$grommet$components$Box$Box
), in looking at the node_modules layout it ‘seems’ like it should be ok. For example, there’s a node_modules/grommet/components/Box/Box.js
During the compile, there’s one info/warning [2019-02-28 21:06:26.501 - INFO] :shadow.build.npm/js-invalid-requires - {:resource-name "node_modules/grommet/components/hocs.js", :requires [{:line 41, :column 11}]}
In hocs.js
theres some node code, that return require(..
is line 41
if (process.env.NODE_ENV !== 'production') {
doc = function doc(component) {
return require("./" + component + "/doc").doc;
}; // eslint-disable-line
}
is there any docker image for shadow and lein
that folks are using? I have found https://hub.docker.com/r/urbanslug/shadow-cljs but the link to github seems broken