efsd

来源:互联网 发布:西南交大网络教育网站 编辑:程序博客网 时间:2024/06/03 21:46

1.

        new webpack.optimize.OccurenceOrderPlugin(),

        ^

TypeError: webpack.optimize.OccurenceOrderPlugin is not a constructor

新版改为OccurrenceOrderPlugin


2.

configuration.resolve.extensions[0] should not be empty.

不能为‘’,改为‘*’


3.

Chunk.entry was removed. Use hasRuntime()

安装extract-text-webpack-plugin新版本


4.

 Warning: Input is changing an uncontrolled input of type undefined to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components

用了elements组件 或者 设置了input 的 value = {this.state.value}