Skip to content
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

Wrong dependency? #851

Closed
rchaser opened this issue Mar 14, 2019 · 2 comments
Closed

Wrong dependency? #851

rchaser opened this issue Mar 14, 2019 · 2 comments

Comments

@rchaser
Copy link

rchaser commented Mar 14, 2019

After npm install react-bootstrap-table-2
cannot build my app with next message

./node_modules/react-addons-update/index.js
Module not found: Can't resolve 'react/lib/update' in 'C:\Repos\DDD\WebApp\node_modules\react-addons-update'

react-bootstrap-table2 has dependency on @allenfang/react-toastr that depends on react-addons-update, that is not supported by react starting from 16.0 facebook/react#9207

Am I able to use react-bootstrap-table-2 in react 16.0+?

@AllenFang
Copy link
Member

@rchaser react-bootstrap-table2 hasn't dependency on @allenfang/react-toastr, in addition, react-bootstrap-table2 need react@^16.3.0

https://github.com/react-bootstrap-table/react-bootstrap-table2/blob/master/packages/react-bootstrap-table2/package.json#L45

@rchaser
Copy link
Author

rchaser commented Mar 15, 2019

@AllenFang Oops, I was installing https://www.npmjs.com/package/react-bootstrap-table-2 and I didn't notice that the current project has different name without dash between "table" and "2". Packages' names are confusing. I am sorry.

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

No branches or pull requests

2 participants