Error in DefaultTransition.js
See original GitHub issueThere is an error while running webpack in production mode webpack -p
when using react-toastify.
react-toastify version
+-- react-toastify@2.1.0
`-- react-transition-group@2.2.1
Webpack Version: webpack 3.6.0
ERROR in ./node_modules/react-toastify/lib/DefaultTransition.js
Module not found: Error: Can't resolve 'react-transition-group/Transition' in '/home/pratik/Projects/watercart/node_modules/react-toastify/lib'
@ ./node_modules/react-toastify/lib/DefaultTransition.js 13:18-62
@ ./node_modules/react-toastify/lib/ToastContainer.js
@ ./node_modules/react-toastify/lib/index.js
@ ./client/admin/admin-app.js
@ ./client/admin/admin.js
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (7 by maintainers)
Top Results From Across the Web
d3-transition v2: Error: transition 1 not found - Stack Overflow
In my case the problem was with transition reusing. I thought it can be declared once and used over and over. Transitions are...
Read more >Compilation error. react-transition-group/Transition #5271
Describe the bug I have compilation error after update to 1.1.0. ... react-transition-group/cjs/Transition.js' implicitly has an 'any' type.
Read more >transition - CSS: Cascading Style Sheets - MDN Web Docs
Transitions enable you to define the transition between two states of an element. Different states may be defined using pseudo-classes like : ...
Read more >Loading / Error Substates - Routing - Ember Guides
The error and loading substates exist as a part of each route, so they should not be added to your router.js file. To...
Read more >JavaScript - Bootstrap
DEFAULTS.keyboard = false // changes default for the modal plugin's `keyboard` ... Transition.js is a basic helper for transitionEnd events as well as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue still exists.
You could try to use the react-toastify v2.0.0 so you won’t have to do manual changes. The v2.1 is tested with enzyme 3, react16 and provide custom animation.
The other solution would be to use symlinks