CH09编译出错

0
open
lixin1996
lixin1996
Posted 3 years ago

CH09编译出错 #90

在编译ch09的代码时出现以下错误。能帮忙解决一下吗? ERROR in ./~/react-tap-event-plugin/src/injectTapEventPlugin.js Module not found: Error: Cannot resolve module 'react/lib/EventPluginHub' in D:\reactjs101-master\Ch09\react-router-redux-github-finder\node_modules\react-tap-event-plugin\src @react-tap-event-plugin/src/injectTapEventPlugin.js 23:2-37

ERROR in ./~/react-tap-event-plugin/src/TapEventPlugin.js Module not found: Error: Cannot resolve module 'react/lib/EventConstants' in D:\reactjs101-master\Ch09\react-router-redux-github-finder\node_modules\react-tap-event-plugin\src @react-tap-event-plugin/src/TapEventPlugin.js 22:21-56

ERROR in ./~/react-tap-event-plugin/src/TapEventPlugin.js Module not found: Error: Cannot resolve module 'react/lib/EventPluginUtils' in D:\reactjs101-master\Ch09\react-router-redux-github-finder\node_modules\react-tap-event-plugin\src @react-tap-event-plugin/src/TapEventPlugin.js 23:23-60

ERROR in ./~/react-tap-event-plugin/src/TapEventPlugin.js Module not found: Error: Cannot resolve module 'react/lib/EventPropagators' in D:\reactjs101-master\Ch09\react-router-redux-github-finder\node_modules\react-tap-event-plugin\src @react-tap-event-plugin/src/TapEventPlugin.js 24:23-60

ERROR in ./~/react-tap-event-plugin/src/TapEventPlugin.js Module not found: Error: Cannot resolve module 'react/lib/SyntheticUIEvent' in D:\reactjs101-master\Ch09\react-router-redux-github-finder\node_modules\react-tap-event-plugin\src @react-tap-event-plugin/src/TapEventPlugin.js 25:23-60

ERROR in ./~/react-tap-event-plugin/src/TapEventPlugin.js Module not found: Error: Cannot resolve module 'react/lib/ViewportMetrics' in D:\reactjs101-master\Ch09\react-router-redux-github-finder\node_modules\react-tap-event-plugin\src @react-tap-event-plugin/src/TapEventPlugin.js 27:22-58