react-draft-wysiwyg
react-draft-wysiwyg copied to clipboard
ModuleNotFoundError: Module not found: Error: Can't resolve 'immutable' in '/usr/app/node_modules/react-draft-wysiwyg/dist'
ModuleNotFoundError: Module not found: Error: Can't resolve 'immutable' in '/usr/app/node_modules/react-draft-wysiwyg/dist'
anyone face this error in production?
I get the same error in production
is there any fix to this yet?
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.
npm i immutable fixed it
https://www.npmjs.com/package/immutable
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
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?