Open jacobqd opened 3 years ago
"@angular/core": "^8.2.2", "echarts": "^5.1.2", "ngx-echarts": "^5.2.2", 开发时编译正常,运行正常 生产环境编译报错,错误信息 ERROR in ./node_modules/ngx-echarts/fesm5/ngx-echarts.js Module build failed (from ./node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js): TypeError: Cannot read property 'kind' of undefined
如果将ngx-echarts改为6.x,编译会成功,但是图表为空白,控制台输出Cannot read property 'init' of null TypeError: Cannot read property 'init' of null
"@angular/core": "^8.2.2", "echarts": "^5.1.2", "ngx-echarts": "^5.2.2", 开发时编译正常,运行正常 生产环境编译报错,错误信息 ERROR in ./node_modules/ngx-echarts/fesm5/ngx-echarts.js Module build failed (from ./node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js): TypeError: Cannot read property 'kind' of undefined