导入后获取错误'字段'来自' redux-form'在react-boilerplate项目中

时间:2018-05-07 09:33:16

标签: javascript redux-form

react-boilerplate项目中安装redux-form后,我在客户端控制台上收到以下错误。

导入此内容时import { Field } from 'redux-form'; 当我删除该行时,错误消失了

Uncaught (in promise) TypeError: Cannot read property 'string' of undefined at eval (FormSection.js:59) at Object../node_modules/redux-form/es/FormSection.js (reactBoilerplateDeps.dll.js:13438) at __webpack_require__ (reactBoilerplateDeps.dll.js:21) at eval (createAll.js:16) at Object../node_modules/redux-form/es/createAll.js (reactBoilerplateDeps.dll.js:13503) at __webpack_require__ (reactBoilerplateDeps.dll.js:21) at eval (index.js:46) at Object../node_modules/redux-form/es/index.js (reactBoilerplateDeps.dll.js:13737) at __webpack_require__ (reactBoilerplateDeps.dll.js:21) at eval (index.js from dll-reference reactBoilerplateDeps?dfc9:1)

0 个答案:

没有答案