react-quill: React Quill does not install on React 18
Ticket due diligence
- I have verified that the issue persists under ReactQuill
v2.0.0-beta.2
ReactQuill version
- v2.0.0-beta.4
Windows 11 Node 16
$ npm i react-quill@2.0.0-beta.4 npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: my-app@0.1.0 npm ERR! Found: react@18.1.0 npm ERR! node_modules/react npm ERR! react@“^18.1.0” from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@“^16 || ^17” from react-quill@2.0.0-beta.4 npm ERR! node_modules/react-quill npm ERR! react-quill@“2.0.0-beta.4” 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. npm ERR! npm ERR! See C:\Users\Abobk\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Abobk\AppData\Local\npm-cache_logs\2022-05-21T12_56_03_661Z-debug-0.log
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 5
- Comments: 15
I tried ckeditor with react! No problems!
I have the same issue
npm i react-quill --save --force ,this can be installed,Looking forward to a better solution.
I’m wondering the same, did everyone else using React 18 force the install despite the required peer deps being 17 || 18 ?