Open jakehesson opened 5 years ago
@jakehesson I am also getting the same error after update to the latest version. Were you able to solve the issue???
I got it working....after upgrading to Angular 7.
@haresh93: that's awesome thanks, we ended up writing our own solution for this issue. When we make the move to v7 i'll give this a test and close the issue if it's validated as fixed!
After installing the package i'm getting the follwing errors in webpack: After installing the package i'm getting the follwing errors in webpack:
EXEC : error in: Unexpected module 'CollapsibleModule in [PROJECT]/node_modules/angular2-collapsible/angular2-collapsible.d.ts' declared by the module 'AppModuleShared in [PROJECT]/ClientApp/app/app.shared.module.ts'. Please add a @Pipe/@Directive/@Component annotation. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(20,47): error TS1005: ';' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(40,5): error TS1128: Declaration or statement expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(41,5): error TS1128: Declaration or statement expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(42,5): error TS1128: Declaration or statement expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(43,19): error TS1005: ',' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(43,42): error TS1005: ',' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(43,76): error TS1005: ',' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(44,15): error TS1005: ';' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(44,21): error TS1109: Expression expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(45,25): error TS1005: ';' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(45,31): error TS1109: Expression expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(46,16): error TS1005: ';' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(46,22): error TS1109: Expression expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(47,16): error TS1005: ';' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(48,5): error TS1128: Declaration or statement expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(49,20): error TS1005: ',' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(49,33): error TS1005: ';' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(49,39): error TS1109: Expression expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(50,18): error TS1005: ',' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(50,31): error TS1005: ';' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(50,37): error TS1109: Expression expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(51,21): error TS1005: ',' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(51,34): error TS1005: ';' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(51,40): error TS1109: Expression expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(52,21): error TS1005: ',' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(52,34): error TS1005: ';' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(52,40): error TS1109: Expression expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(53,16): error TS1005: ',' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(53,29): error TS1005: ';' expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(53,35): error TS1109: Expression expected. node_modules/angular2-collapsible/lib/collapsible-table-row/collapsible-table-row.component.d.ts(54,1): error TS1128: Declaration or statement expected. node_modules/angular2-collapsible/lib/services/collapsible-event.service.d.ts(7,35): error TS1005: ';' expected. node_modules/angular2-collapsible/lib/services/collapsible-event.service.d.ts(7,79): error TS1005: '(' expected. node_modules/angular2-collapsible/lib/services/collapsible-event.service.d.ts(8,33): error TS1109: Expression expected. node_modules/angular2-collapsible/lib/services/collapsible-event.service.d.ts(8,52): error TS1005: ';' expected. node_modules/angular2-collapsible/lib/services/collapsible-event.service.d.ts(8,58): error TS1109: Expression expected. node_modules/angular2-collapsible/lib/services/collapsible-event.service.d.ts(9,18): error TS1005: ';' expected. node_modules/angular2-collapsible/lib/services/collapsible-event.service.d.ts(9,24): error TS1109: Expression expected. node_modules/angular2-collapsible/lib/services/collapsible-event.service.d.ts(10,1): error TS1128: Declaration or statement expected.