zenoamaro / react-quill

A Quill component for React.
https://zenoamaro.github.io/react-quill
MIT License
6.76k stars 921 forks source link

Unable to install react-quill on React 17.0.2 #762

Open shubhrastogi07 opened 2 years ago

shubhrastogi07 commented 2 years ago

Hello, I am unable to installing react-quill on my project where react verstion is "^17.0.2".

here is the error code: npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: quora-clone@0.1.0 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@"^0.14.9 || ^15.3.0 || ^16.0.0" from react-quill@1.3.5 npm ERR! node_modules/react-quill npm ERR! react-quill@"*" from the root project npm ERR!

Any Solution for that ?

DercilioFontes commented 2 years ago

You can install the beta version. npm install react-quill@beta for the version 2.0.0. It works for React 17.

ChenMatsu commented 2 years ago

What could be the reason to cause dependencies failed to resolve with react@v^17.0.2?