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.

Steps to Reproduce:

  1. Create a project with react 17.x as a dependency
  2. Attempt to install devextreme 20.2

Results You Received:

npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.2.0" from devextreme-react@20.2.5
npm ERR! node_modules/devextreme-react
npm ERR!   devextreme-react@"20.2.5" from the root project

Results You Expected:

Installation without warnings

NOTE: While the error talks about the issue being devextreme-react, the actual dependency is in this repo’s package.json. It appears there may be an issue as enzyme-adapter-react-16 doesn’t support react 17, and, not surprizing considering the name, may have to be changed out or added once is closed. I have to say, their tagging scheme makes it difficult for products like this one to support multiple versions. This is the reason semantic versioning exists!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

Tjayojocommented, Jun 2, 2021

This is still an issue in v21.1.3


calebfreemancommented, Jun 6, 2021

Encountering the same issue with 21.1.3. Is there a fix?

Read more comments on GitHub >

github_iconTop Results From Across the Web

React v17.0 – React Blog
React 17 supports the new JSX transform. We've also backported support for it to React 16.14.0, React 15.7.0, and 0.14.10.
Read more >
React |
React is an open-source JavaScript web framework for building modern web applications. Release, Released, Active Support, Security Support, Latest. 18.2, 6 ...
Read more >
React 18 Upgrade Guide and New Features - Refine Dev
render() API supported in React 17; you will see this warning. Typically, we import a component and render it inside a div element...
Read more >
Clean way for a component to support both React 17 and ...
React 18 introduced a new way to manually render a component, now instead of calling import ReactDOM from 'react-dom'; ...
Read more >
Atlaskit + React 17 - Atlassian Ecosystem Design
It looks like Atlaskit still prefers React 16.x and react-scripts 4.x. Is there a plan to cleanly support React 17.x?
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