angular5 echarts-ng2编译不过,报以上错误,谁给提点下echarts 折线配置项内容和展示

ERROR in ./node_modules/_echarts-ng2@1.4.1@echarts-ng2/src/component/echarts-ng2.component.ts Module build failed: Error: D:\Work\Html\PowerSales\node_modules\_echarts-ng2@1.4.1@echarts-ng2\src\component\echarts-ng2.component.ts is not part of the compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. at AngularCompilerPlugin.getCompiledFile (D:\Work\Html\PowerSales\node_modules\_@ngtools_webpack@1.8.0@@ngtools\webpack\src\angular_compiler_plugin.js:624:23) at plugin.done.then (D:\Work\Html\PowerSales\node_modules\_@ngtools_webpack@1.8.0@@ngtools\webpack\src\loader.js:467:39) @ ./node_modules/_echarts-ng2@1.4.1@echarts-ng2/src/index.js 6:9-53 @ ./src/app/client/client.module.ts @ ./src/$$_lazy_route_resource lazy @ ./node_modules/_@angular_core@5.0.0@@angular/core/esm5/core.js @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./node_modules/_echarts-ng2@1.4.1@echarts-ng2/src/component/echarts-ng2

配置项如下
      option = {
    title: {
        text: 'Awesome Chart'
    },
    xAxis: {
        data: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']
    },
    yAxis: {},
    series: [{
        type: 'line',
        data:[220, 182, 191, 234, 290, 330, 310]
    }]
};
    
截图如下