react-draft-wysiwyg icon indicating copy to clipboard operation
react-draft-wysiwyg copied to clipboard

Compatibility with React 18

Open ls-miles-rostami opened this issue 3 years ago • 1 comments

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 [email protected] 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.

ls-miles-rostami avatar Apr 22 '22 18:04 ls-miles-rostami

There is a current PR for this: https://github.com/jpuri/react-draft-wysiwyg/pull/1245

allicanseenow avatar Apr 26 '22 00:04 allicanseenow