xieziyu / ngx-echarts

An angular (ver >= 2.x) directive for ECharts (ver >= 3.x)
https://xieziyu.github.io/ngx-echarts/
MIT License
1.11k stars 197 forks source link

Can't bind to 'options' since it isn't a known property of 'div' #67

Closed liangqiliang closed 6 years ago

liangqiliang commented 6 years ago

您好,我想问下我在ng-alain下使用了插件,报了这个错,是怎么回事呢? image

liangqiliang commented 6 years ago

安装了echart和ngx-echarts后都报了这些警告,并且都已经在modules import了 npm WARN ng-zorro-antd-extra@1.1.6 requires a peer of rxjs@>5.x but none was installed. npm WARN ng2-img-cropper@0.9.0 requires a peer of @angular/common@^4.0.0 but none was installed. npm WARN ng2-img-cropper@0.9.0 requires a peer of @angular/compiler@^4.0.0 but none was installed. npm WARN ng2-img-cropper@0.9.0 requires a peer of @angular/core@^4.0.0 but none was installed. npm WARN ng-alain@0.6.0-rc.2 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})