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.

Not compatible with React 17+

See original GitHub issue
$ npm install react-bootstrap-table
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: twg@0.1.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR!   react@"^17.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.0.0 || ^16.0.0" from react-bootstrap-table@4.3.1
npm ERR! node_modules/react-bootstrap-table
npm ERR!   react-bootstrap-table@"*" from the root project

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:4
  • Comments:5

github_iconTop GitHub Comments

veste-softwarecommented, Jun 18, 2022

npm i react-bootstrap-table --legacy-peer-deps should work

rachelombokcommented, Jan 12, 2022

having the same issue. is this a lost cause since the library is no longer being maintained?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not compatible React 17 library used in React 16 application
I am created a library in React 17.0.2. And using the library in React 16.18.2. I am getting following error
Read more >
React v17.0 – React Blog
No New Features ... The React 17 release is unusual because it doesn't add any new developer-facing features. Instead, this release is primarily ......
Read more >
React 17 Compatibility - Material Design for Bootstrap
Some more info: this is only an issue when using npm7. npm install fails because mdbreact depends on material ui libraries that dont...
Read more >
A new react release ... with no new features - Synergenie
React 17 offers a new, backward-compatible rewritten version of the JSX transform. Because of this, primarily, JSX can now be used without having...
Read more >
Should I Upgrade to React 17? - JavaScript in Plain English
Long answer: React 17 will be the new standard and foundation for React. You can think of it as similar to Windows 10;...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found