react-selectize
react-selectize copied to clipboard
Module not found: Error: Can't resolve 'react-transition-group/CSSTransitionGroup'
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!
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.
How do I upgrade to react 16? I upgrade everything then I get this error.
I had same issue. I installed vie yarn. But then I tried install the depenses by npm (5.5.1) everything became well