jpuri / react-draft-wysiwyg

A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
MIT License
6.41k stars 1.16k forks source link

Can only npm install the package through using the --force command #1086

Open rclarkem opened 3 years ago

rclarkem commented 3 years ago

I tried using the --legacy-peer-deps as well and that didn't work.

Screen Shot 2021-03-20 at 3 38 58 PM

This is my package.json with it currently installed after using the --force cmd carbon (12)

tyzion commented 3 years ago

In my case --legacy-peer-deps works, but still i'd like to avoid that in my project. Has there been any update for this issue?

rclarkem commented 3 years ago

@tyzion I ended up just working with the --force command for this project. When I used it in another project, I was using an older version of react v16* (not sure if that matters?) and didn't have any issues but I did have to use the --legacy-peer-deps.

tyzion commented 3 years ago

@rclarkem I just checked, you're right, i install some packages with --legacy-peer-deps, but not react-draft-wysiwyg

Screenshot 2021-04-22 at 09 57 46

There's no react-draft-wysiwyg inside my package.json

Screenshot 2021-04-22 at 10 09 32