juliancwirko / react-s-alert

Alerts / Notifications for React with rich configuration options
https://www.npmjs.com/package/react-s-alert
MIT License
649 stars 75 forks source link

Module not found: Error: Cannot resolve module 'react/lib/ReactMount' #26

Closed AllenFang closed 7 years ago

AllenFang commented 7 years ago

If upgrade React to 15.4.0, will get the following error on webpacking

Module not found: Error: Cannot resolve module 'react/lib/ReactMount'
juliancwirko commented 7 years ago

Hi, I'll take a look into it soon.

juliancwirko commented 7 years ago

Hi, I'll update dependencies, but we don't use Webpack here so I don't think that this is the problem of this package.

Do you use react-hot-loader in your webpack config? Maybe you should update it to version 3.

AllenFang commented 7 years ago

Sorry for lately reply, actually, we use webpack as our module bundlers and got this error when we take react 15.4.x. BTW, I also use the react-hot-loader@3 Thanks

juliancwirko commented 7 years ago

Ok, so I will close this for now. Feel free to comment here if there will be some other problems. Thanks.