question-mark
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.

React 17 has been released for some 15 months now. Can we add that to the peerDependencies?

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR!   react@"^17.0.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0" from react-image-annotate@1.8.0
npm ERR! node_modules/react-image-annotate
npm ERR!   react-image-annotate@"^1.8.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:5
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
seveibarcommented, Oct 13, 2022

Would accept PR 😃 not a lot of time to actively work on this project

1reaction
jiinjoocommented, Jan 20, 2022

Really hoping to help but it’s a bit beyond me this maze of dependencies. Some of the underlying dependency upgrades that npm threw at me (even with @HenryLiangzy updates)

  • react-full-screen 0.3.1 needs to go to 1.1.0
  • react-markdown 4.0.6 needs to go to 5, 6, 7, or 8
  • react-monaco-editor 0.25.1 needs to go to 0.47.0 or anything from July 21
  • react-use 13.27.0 needs to go to 17.3.2 (or anything 15 onwards)
  • use-key-hook looks abandoned
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 | endoflife.date
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found