jquense/react-bootstrap-modal

React 0.14 compatability

Closed this issue · 1 comments

Latest react-bootstrap-modal is 1.2.1 which I have in my package.json but I also have react and react-dom 0.14.0

Now I get this error:

ERROR in ./~/react-bootstrap-modal/lib/Modal.js
Module not found: Error: Cannot resolve module 'react/lib/getActiveElement' in /Users/peterbe/dev/JAVASCRIPT/activity/node_modules/react-bootstrap-modal/lib
 @ ./~/react-bootstrap-modal/lib/Modal.js 4:48-85

Is that because 1.2.1 is not compatible with react 0.14?

npm install --save react-bootstrap-modal@next worked for me.