asfktz / autodll-webpack-plugin

Webpack's DllPlugin without the boilerplate
MIT License
1.46k stars 80 forks source link

TypeError: Cannot read property 'properties' of undefined #134

Closed aa875982361 closed 5 years ago

aa875982361 commented 5 years ago

将代码clone 到本地 按照README.md 运行项目,提示: TypeError: Cannot read property 'properties' of undefined 通过网上找了相关的代码 发现是webpack-cli 版本的问题,目前项目中的 webpack-cli的版本是^2.0.11, 需要修改为 ^3.1.1 就可以正常运行 修改文件路径为:examples/recommended/package.json 运行脚本:

Running Examples

  1. git clone git@github.com:asfktz/autodll-webpack-plugin.git
  2. cd autodll-webpack-plugin
  3. npm install
  4. npm run build
  5. cd examples/recommended
  6. npm install
  7. npm start or npm run build
aa875982361 commented 5 years ago

已解决