Skip to content

Cannot resolve module getVendorPrefixedEventName #851

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
evladik opened this issue Nov 21, 2016 · 4 comments
Closed

Cannot resolve module getVendorPrefixedEventName #851

evladik opened this issue Nov 21, 2016 · 4 comments

Comments

@evladik
Copy link

evladik commented Nov 21, 2016

I am getting the following error. The files are missing although npm install was successful/

"react-bootstrap-table": "^2.5.8"

0] .//react-bootstrap-table//react-toastr/~/react/lib/ReactTransitionEvents.js
[0] Module not found: Error: Cannot resolve module 'react-dom/lib/getVendorPrefixedEventName' in D:\Git\webconsole2\node_modules\react-bootstrap-table\node_modules\react-toastr\node_modules\react\lib
[0] resolve module react-dom/lib/getVendorPrefixedEventName in D:\Git\webconsole2\node_modules\react-bootstrap-table\node_modules\react-toastr\node_modules\react\lib
[0] looking for modules in D:\Git\webconsole2\node_modules\react-bootstrap-table\node_modules\react-toastr\src
[0] D:\Git\webconsole2\node_modules\react-bootstrap-table\node_modules\react-toastr\src\react-dom doesn't exist (module as directory)
[0] looking for modules in D:\Git\webconsole2\node_modules\react-bootstrap-table\node_modules\react-toastr\node_modules
[0] D:\Git\webconsole2\node_modules\react-bootstrap-table\node_modules\react-toastr\node_modules\react-dom doesn't exist (module as directory)
[0] looking for modules in D:\Git\webconsole2\node_modules\react-bootstrap-table\node_modules
[0] D:\Git\webconsole2\node_modules\react-bootstrap-table\node_modules\react-dom doesn't exist (module as directory)
[0] looking for modules in D:\Git\webconsole2\src
[0] D:\Git\webconsole2\src\react-dom doesn't exist (module as directory)

@mangreen
Copy link

I also encountered this problem.
My react version is 0.14.8.
And I found react-dom/lib/.... not exist in react 0.14, only exists in react 15.0.

@gravitycode
Copy link

gravitycode commented Nov 21, 2016

I have react 15.3.2 and react-bootstrap-table 2.5.5 and i have the same problem.
Im doing test. As soon as i know something i say you.

@gravitycode
Copy link

gravitycode commented Nov 21, 2016

The problem is the caret (^) in react-toastr dependency. The library get the versión 2.8.2 instead of 2.8.0 of react-toastr that is changed to support react 15.4.0.

See the issue: #838

@AllenFang
Copy link
Owner

thanks @gravitycode, this issue will be fix on next version 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants