react-draft-wysiwyg icon indicating copy to clipboard operation
react-draft-wysiwyg copied to clipboard

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

Open alextaymx opened this issue 4 years ago • 5 comments

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

anyone face this error in production?

alextaymx avatar Sep 14 '21 11:09 alextaymx

I get the same error in production

simplenotezy avatar Oct 05 '21 09:10 simplenotezy

is there any fix to this yet?

MarioSerano avatar Nov 15 '21 05:11 MarioSerano

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

For now, I have fixed it by installing [email protected] as a dev dependency in my React project.

nikkothari22 avatar Nov 16 '21 08:11 nikkothari22

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

ghost avatar Oct 06 '22 05:10 ghost

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

f3bin avatar May 14 '24 06:05 f3bin

Anything new on that? Should immutable be added into this library deps, or should it be installed as a dev or runtime dep by end users?

real-artswan avatar Jun 25 '25 18:06 real-artswan