jpuri / react-draft-wysiwyg

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

No matching version found for html-to-draftjs@^1.5.0. #1021

Open rociopiotti opened 4 years ago

rociopiotti commented 4 years ago

I´m trying to install npm install --save react-draft-wysiwyg draft-js

but I´m getting this error on the console.

npm ERR! code ETARGET npm ERR! notarget No matching version found for html-to-draftjs@^1.5.0. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! notarget npm ERR! notarget It was specified as a dependency of 'react-draft-wysiwyg' npm ERR! notarget

When I try to install html-to-draftjs@^1.5.0. It downloads 1.4 version any suggestion?

I try to download other versions even 1.6 of draft-wysiwyg but then I get a weird error from react.

Thanks in advance!

Rocio

rociopiotti commented 4 years ago

I install version react-draft-wysiwyg@1.6.5 as it´s posted here: https://github.com/jpuri/react-draft-wysiwyg/issues/193 but then it gives me this error:

TypeError: Cannot read property 'func' of undefined push../node_modules/react-draft-wysiwyg/dist/react-draft-wysiwyg.js

I think I will have to change to another module, because I can´t find a proper solution to this :(

Thanks in advance!

Rocio