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

ModuleNotFoundError: Module not found: Error: Can't resolve 'immutable' in '/usr/app/node_modules/react-draft-wysiwyg/dist' #1176

Open alextaymx opened 3 years ago

alextaymx commented 3 years ago

ModuleNotFoundError: Module not found: Error: Can't resolve 'immutable' in '/usr/app/node_modules/react-draft-wysiwyg/dist'

anyone face this error in production?

simplenotezy commented 2 years ago

I get the same error in production

MarioSerano commented 2 years ago

is there any fix to this yet?

nikkothari22 commented 2 years ago

Have the same error in production and our builds are failing.

For now, I have fixed it by installing immutable@4.0.0 as a dev dependency in my React project.

ghost commented 1 year ago

npm i immutable fixed it https://www.npmjs.com/package/immutable

f3bin commented 4 months ago

without installing immutable the project showing error and it won't allow us to work , and after the work while i'm pushing this to production then immuatable shown error , and i wanted to uninstall the package to work fine