React Editor will not install with React v17
See original GitHub issueDescribe the bug
NPM gives an ‘unable to resolve dependency tree’ error when attempting to install the react-editor in a project that is using React v17.
To Reproduce
Steps to reproduce the behavior:
- Make new React app with npx create-react-app.
- Try to install TUI React Editor with: npm install --save @toast-ui/react-editor
- See the following error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: testproject@0.1.0
npm ERR! Found: react@17.0.1
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@"^16.0.0" from @toast-ui/react-editor@2.5.0
npm ERR! node_modules/@toast-ui/react-editor
npm ERR! @toast-ui/react-editor@"*" 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.
Expected behavior
The react-editor should install unless there is something specific to React v17 that makes that not possible until fixed.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
React v17.0 – React Blog
In React 17, React will no longer attach event handlers at the document level under the hood. Instead, it will attach them to...
Read more >React Codemirror2 does not install - Stack Overflow
When I try to install react-codemirror2 it gave an error and doesn't install in my app (my react version is @17.0.2) Why it...
Read more >How to Install & Setup React JS On Windows - KnowledgeHut
In this tutorial, we will learn how to install React JS in Windows. ... At least one installed code Editor to test and...
Read more >Build rich text editors in React using Draft.js and react-draft ...
Note: You may notice a warning that says “ Can't call setState on a component ” in the development mode. React shows this...
Read more >primereact - npm
PrimeReact is an open source UI library for React featuring a rich set ... with npm npm install primereact primeicons // with yarn...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@seonim-ryu any update on this? React 17 is compatible with React 16 so a simple version bump will do the job.
Now React Editor V3.0 will not install with React v16. React Version V17 is such a stupid version, although is totally compatible with React 16. Maybe React Editor V3.0 Support React 16. Please.