Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs 更新了对V16.1.1的反应&;最新版本的其他依赖项_Reactjs_Webpack - Fatal编程技术网

Reactjs 更新了对V16.1.1的反应&;最新版本的其他依赖项

Reactjs 更新了对V16.1.1的反应&;最新版本的其他依赖项,reactjs,webpack,Reactjs,Webpack,我将web应用程序更新为最新版本的React V16.1.1 除此之外,我还更新了所有最新的依赖项,如webpack、babel等 网页包编译&编译时不会抛出错误,但在运行时,我会遇到控制台窗口中显示的以下错误 Uncaught TypeError: Cannot read property 'bool' of undefined at Object.defineProperty.value (influencerApp.js?ver=1511878497:48295) at __webpack

我将web应用程序更新为最新版本的React V16.1.1

除此之外,我还更新了所有最新的依赖项,如webpack、babel等

网页包编译&编译时不会抛出错误,但在运行时,我会遇到控制台窗口中显示的以下错误

Uncaught TypeError: Cannot read property 'bool' of undefined
at Object.defineProperty.value (influencerApp.js?ver=1511878497:48295)
at __webpack_require__ (influencerApp.js?ver=1511878497:20)
at Object.defineProperty.value (influencerApp.js?ver=1511878497:21935)
at __webpack_require__ (influencerApp.js?ver=1511878497:20)
at Object.<anonymous> (influencerApp.js?ver=1511878497:101593)
at __webpack_require__ (influencerApp.js?ver=1511878497:20)
at Object.defineProperty.value (influencerApp.js?ver=1511878497:101488)
at __webpack_require__ (influencerApp.js?ver=1511878497:20)
at Object.defineProperty.value (influencerApp.js?ver=1511878497:100898)
at __webpack_require__ (influencerApp.js?ver=1511878497:20)
Uncaught TypeError:无法读取未定义的属性'bool'
在Object.defineProperty.value(influenceApp.js?ver=1511878497:48295)
在需要的网页上(influencerApp.js?ver=1511878497:20)
在Object.defineProperty.value(influenceApp.js?ver=1511878497:21935)
在需要的网页上(influencerApp.js?ver=1511878497:20)
反对。(influencerApp.js?ver=1511878497:101593)
在需要的网页上(influencerApp.js?ver=1511878497:20)
在Object.defineProperty.value(influenceApp.js?ver=1511878497:101488)
在需要的网页上(influencerApp.js?ver=1511878497:20)
在Object.defineProperty.value(influenceApp.js?ver=1511878497:100898)
在需要的网页上(influencerApp.js?ver=1511878497:20)
PS:该应用在升级前运行良好,有人知道为什么会发生这种情况吗

我找不到一个同样的解决办法,任何人都可以帮忙


谢谢。

谢谢各位,问题解决了

我将react引导更新为最新版本&它开始工作了


谢谢。

@Leandro:我从V15更新了它。我刚刚更新了react引导程序&它开始工作了,我查看了代码&它显示了一些与转换相关的错误。