react-medium-image-zoom requires the use of React 16 (link)
To Reproduce
Steps to reproduce the behavior:
(from the command line)
npx create-react-app myapp && cd myapp
npm i rich-markdown-editor@latest
Expected behavior
It installs
Actual behavior
It doesn't install unless developer includes --force flag on all installs.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: react@17.0.2
(... glossing over this part for now)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.4.0" from react-medium-image-zoom@3.1.2
npm ERR! node_modules/rich-markdown-editor/node_modules/react-medium-image-zoom
npm ERR! react-medium-image-zoom@"^3.0.16" from rich-markdown-editor@11.6.0
npm ERR! node_modules/rich-markdown-editor
npm ERR! rich-markdown-editor@"11.6.0" from the root project
Version
latest
Desktop (please complete the following information):
react-medium-image-zoom
requires the use of React 16 (link)To Reproduce Steps to reproduce the behavior: (from the command line)
npx create-react-app myapp && cd myapp
npm i rich-markdown-editor@latest
Expected behavior It installs
Actual behavior It doesn't install unless developer includes
--force
flag on all installs.Version latest
Desktop (please complete the following information):