ng2-charts
ng2-charts copied to clipboard
Index 3230 outside of range [0, 292].
on Using
ng generate ng2-charts-schematics:pie my-pie-chart
Getting below terminal output Error:
import [ InsertChange { path: '/src/app/app.module.ts', pos: 3230, toAdd: ',\r\n ChartsModule', description: 'Inserted ,\r\n' + ' ChartsModule into position 3230 of /src/app/app.module.ts', order: 3230 }, InsertChange { path: '/src/app/app.module.ts', pos: 1484, toAdd: ";\nimport { ChartsModule } from 'ng2-charts'", description: 'Inserted ;\n' + "import { ChartsModule } from 'ng2-charts' into position 1484 of /src/app/app.module.ts", order: 1484 } ] Index 3230 outside of range [0, 292].
How can I do job of 'ng generate ng2-charts' manually?