Module not found: Can't resolve 'react-dom/lib/ReactPerf' in '\node_modules\react-addons-perf' Module not found: Can't resolve 'react-dom/lib/ReactPerf' in '\node_modules\react-addons-perf' reactjs reactjs

Module not found: Can't resolve 'react-dom/lib/ReactPerf' in '\node_modules\react-addons-perf'


To follow up on what Rei Dien said, the React 16 announcement mentions the following:

react-addons-perf no longer works at all in React 16. It’s likely that we’ll release a new version of this tool in the future. In the meantime, you can use your browser’s performance tools to profile React components.

To put it simply, just npm uninstall react-addons-perf and everything should be fine.