NPM gives an 'unable to resolve dependency tree' error when attempting to install the react-editor in a project that is using React v17.
Steps to reproduce the behavior:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
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/[email protected]
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.
The react-editor should install unless there is something specific to React v17 that makes that not possible until fixed.
@live951 I'll check this soon and see if the wrapper can update the peer-dependent version to React 17.
@seonim-ryu any update on this? React 17 is compatible with React 16 so a simple version bump will do the job.
ping, any update in this? Highly appreciate if this will be looked at soon , as it basically block the upgrade to React 17 for the whole app.
Hi, I'm running into the same problem. Any news about this?
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.
Most helpful comment
@seonim-ryu any update on this? React 17 is compatible with React 16 so a simple version bump will do the job.