未捕获的TypeError:无法读取未定义的属性'injection'[关闭]

问题描述 投票:5回答:1

升级后对16.x的反应后出现以下错误

Uncaught TypeError: Cannot read property 'injection' of undefined
    at injectTapEventPlugin (injectTapEventPlugin.js:23)
    at eval (index.js:53)
    at Object.<anonymous> (bundle.js:1363)
    at __webpack_require__ (bundle.js:556)
    at fn (bundle.js:87)
    at eval (multi_main:3)
    at Object.<anonymous> (bundle.js:589)
    at __webpack_require__ (bundle.js:556)
    at bundle.js:579
    at bundle.js:582

请帮忙!!!

反应版本 - > "^16.4.2" react-tap-event-plugin - > "^3.0.3"

javascript reactjs material-ui react-16
1个回答
12
投票

我们不能在React 16.4.0之后使用react-tap-event-plugin

https://github.com/zilverline/react-tap-event-plugin/issues/121

© www.soinside.com 2019 - 2024. All rights reserved.