Open ls-miles-rostami opened 2 years ago
When installing react-draft-wysiwyg with React 18 you get the following error:
npm ERR! Could not resolve dependency: npm ERR! peer react@"0.13.x || 0.14.x || ^15.0.0-0 || 15.x.x || ^16.0.0-0 || ^16.x.x || ^17.x.x" from react-draft-wysiwyg@1.14.7 npm ERR! node_modules/react-draft-wysiwyg npm ERR! react-draft-wysiwyg@"*" 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.
There is a current PR for this: https://github.com/jpuri/react-draft-wysiwyg/pull/1245
When installing react-draft-wysiwyg with React 18 you get the following error: