question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error in DefaultTransition.js

See original GitHub issue

There 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:closed
  • Created 6 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
indreklasncommented, Jan 20, 2018

This issue still exists.

1reaction
fkhadracommented, Oct 4, 2017

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found