react-selectize icon indicating copy to clipboard operation
react-selectize copied to clipboard

Module not found: Error: Can't resolve 'react-transition-group/CSSTransitionGroup'

Open davide-scalzo opened this issue 6 years ago • 3 comments

Hi there! Firstly, thanks so much for the library very easy to use and practical!

I am experiencing a problem deploying to production (heroku). I'm using react-boilerplate, and successfully using the library on dev, but when it comes to deploying to production webpack throws the following at build time.

ERROR in ./~/react-selectize/src/DropdownMenu.js
       Module not found: Error: Can't resolve 'react-transition-group/CSSTransitionGroup' in '/tmp/build_670d34b61b9fae1ad88ed661c39d6bee/node_modules/react-selectize/src'
       @ ./~/react-selectize/src/DropdownMenu.js 8:42-94
       @ ./~/react-selectize/src/ReactSelectize.js
       @ ./~/react-selectize/src/index.js

I already have react-transition-group ^2.1.0 in my package.json in my project, not sure if that's the issue though. Any help would be super appreciated!

davide-scalzo avatar Sep 07 '17 17:09 davide-scalzo

Same problem. Going back to "react-transition-group": "^1.1.2" fixes the issue. I guess the library needs to be updated to work with v2.1.0.

hwaterke avatar Sep 13 '17 14:09 hwaterke

How do I upgrade to react 16? I upgrade everything then I get this error.

pencilcheck avatar Oct 16 '17 22:10 pencilcheck

I had same issue. I installed vie yarn. But then I tried install the depenses by npm (5.5.1) everything became well

anydasa avatar Dec 05 '17 14:12 anydasa