I've been using react-star-rating for about a year now, but this morning after an npm updatenpm upgrade, I get a build breaking error when starting webpack.
ERROR in ./~/react-star-rating/~/react-dom/index.js
Module not found: Error: Cannot resolve 'file' or 'directory' /Users/[removed]/node_modules/react/lib/ReactDOM in /Users/[removed]/node_modules/react-star-rating/node_modules/react-dom
@ ./~/react-star-rating/~/react-dom/index.js 3:17-46
I then upgraded node to v7.1.0, deleted node_modules and installed the latest version of all npm modules, but the same error persists.
I've been using react-star-rating for about a year now, but this morning after an
npm update
npm upgrade
, I get a build breaking error when starting webpack.I then upgraded node to
v7.1.0
, deletednode_modules
and installed the latest version of all npm modules, but the same error persists.My current
package.json
is:And webpack config of