react-draft-wysiwyg
react-draft-wysiwyg copied to clipboard
npm ERR! ERESOLVE unable to resolve dependency tree
I can't install the library it gives the following error I don't why!
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^18.1.0" from the root project
npm ERR! peer react@">=0.14.0" from [email protected]
npm ERR! node_modules/draft-js
npm ERR! draft-js@"^0.11.7" from the root project
npm ERR! peer draft-js@"^0.10.x || ^0.11.x" from [email protected]
npm ERR! node_modules/react-draft-wysiwyg
npm ERR! react-draft-wysiwyg@"*" from the root project
npm ERR! 1 more (react-dom)
npm ERR!
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.
npm ERR!
npm ERR! See /Users//.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users//.npm/_logs/2022-06-15T06_41_29_393Z-debug-0.log
@jpuri
did you solve the issue? if yess can you share it?
@TheBossmanLab till now no !! please if you find something, or if you know something alternative share it with me.
well you can force npm to install it enyway but even then youll get a problem, im not sure but i think this WYSIWYG editor is using an old version of react and thats the problem i dont know how to solve
@TheBossmanLab yes I tried force nom, but still I faced problems later !!
Hi! Does anyone reach to the solution of this?
Run npm install react-draft-wysiwyg --force . This worked for me in the meantime
hello, i may be late but hope this helps out . Rum npm install --legacy-peer-deps react-draft-wysiwyg