-
Notifications
You must be signed in to change notification settings - Fork 650
Closed
Description
What is the current behavior?
I have dependencies with dom-helpers
3.4
In upper level of node_modules
I have 3.4 version.
It seems, that while bundling webpack search dom-helpers
at root level node_modules/dom-helpers
, but not inside node_modules/react-transition-group/node_modules/dom-helpers
.
Should dom-helpers
be in peer dependencies?
ERROR in ../node_modules/react-transition-group/esm/CSSTransition.js
Module not found: Error: Can't resolve 'dom-helpers/addClass' in '/Users/tasogare/Projects/sdc-repos/sdc/launcher/ui/node_modules/react-transition-group/esm'
@ ../node_modules/react-transition-group/esm/CSSTransition.js 5:0-47 13:11-22
@ ../node_modules/react-transition-group/esm/index.js
@ ./containers/taxi/components/statusBar/index.js
@ ./containers/taxi/components/layout/index.js
@ ./containers/taxi/index.js
@ ./containers/app/index.js
@ ./index.js
@ multi babel-polyfill ./index.js ./main.scss
ERROR in ../node_modules/react-transition-group/esm/CSSTransition.js
Module not found: Error: Can't resolve 'dom-helpers/removeClass' in '/Users/tasogare/Projects/sdc-repos/sdc/launcher/ui/node_modules/react-transition-group/esm'
@ ../node_modules/react-transition-group/esm/CSSTransition.js 6:0-53 19:11-25
@ ../node_modules/react-transition-group/esm/index.js
@ ./containers/taxi/components/statusBar/index.js
@ ./containers/taxi/components/layout/index.js
@ ./containers/taxi/index.js
@ ./containers/app/index.js
@ ./index.js
@ multi babel-polyfill ./index.js ./main.scss
What is the expected behavior?
Bundled succesfully.
Could you provide a CodeSandbox demo reproducing the bug?
davthu, kishorekumaru, eugensunic, YagamiNewLight and zmeeceromerman, davthu and eugensunic
Metadata
Metadata
Assignees
Labels
No labels