You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npx shadow-cljs compile webapp
shadow-cljs - config: /work/shadow-cljs.edn
NPM dependency "react" has installed version "^16.12.0"
"16.8.6" was required by jar:file:/home/node/.m2/repository/re-frame/re-frame/0.10.9/re-frame-0.10.9.jar!/deps.cljs
NPM dependency "react-dom" has installed version "^16.12.0"
"16.8.6" was required by jar:file:/home/node/.m2/repository/re-frame/re-frame/0.10.9/re-frame-0.10.9.jar!/deps.cljs
[:webapp] Compiling ...
The required JS dependency "dom-helpers/addClass" is not available, it was required by "node_modules/react-transition-group/cjs/CSSTransition.js".
Search in:
/work/node_modules
You probably need to run:
npm install dom-helpers/addClass
See: https://shadow-cljs.github.io/docs/UsersGuide.html#npm-install
Expected Behavior 🤔
$ npx shadow-cljs compile webapp
shadow-cljs - config: /work/shadow-cljs.edn
NPM dependency "react" has installed version "^16.12.0"
"16.8.6" was required by jar:file:/home/node/.m2/repository/re-frame/re-frame/0.10.9/re-frame-0.10.9.jar!/deps.cljs
NPM dependency "react-dom" has installed version "^16.12.0"
"16.8.6" was required by jar:file:/home/node/.m2/repository/re-frame/re-frame/0.10.9/re-frame-0.10.9.jar!/deps.cljs
[:webapp] Compiling ...
npm package "@material-ui/react-transition-group" expected version "dom-helpers@^3.4.0" but "5.1.4" is installed.
[:webapp] Build completed. (567 files, 1 compiled, 0 warnings, 6.93s)
I believe the problem has to do with @material-ui/react-transition-group, which is using version 3.4.0 of dom-helpers. I looked and it seems that repo is about 50 commits behind upstream react-transition-group.
I'd be happy to open a PR against @material-ui/react-transition-group if anyone would be willing to provide some guidance as to what needs to be done.
veer66
changed the title
@material-ui/core 4.9.11 cannot be compile by shadow-cljs.
@material-ui/core 4.9.11 cannot be compiled by shadow-cljs.
Apr 21, 2020
@material-ui/core 4.9.11 cannot be compiled by shadow-cljs since it has multiple versions of dom-types.
Current Behavior 😯
Expected Behavior 🤔
Steps to Reproduce 🕹
Steps:
Context 🔦
I want to use the latest version of Material-UI with ClojureScript.
Your Environment 🌎
The text was updated successfully, but these errors were encountered: