Closed erpomata1974 closed 6 years ago
@erpomata1974 could you please provide a plunker to reproduce the problem? Which Angular version are you using? Might this be related to https://github.com/angular/angular/issues/14402 ? Please try to update your TypeScript version.
I added ion slider to my angular design but to compile (ng serve) I get this error:
ERROR in P:/Users/B66139/workspace/Presentation/PagamentiApp/node_modules/ng2-ion-range-slider/node_modules/@angular/core/src/view/types.d.ts (74,51): Cannot find namespace 'ArgumentType'.) P:/Users/B66139/workspace/Presentation/PagamentiApp/node_modules/ng2-ion-range-slider/node_modules/@angular/core/src/view/types.d.ts (75,51): Cannot find namespace 'ArgumentType'.)
ERROR in P:/Users/B66139/workspace/Presentation/PagamentiApp/node_modules/ng2-ion-range-slider/node_modules/@angular/core/src/errors.d.ts (9,33): Initializers are not allowed in ambient contexts.) P:/Users/B66139/workspace/Presentation/PagamentiApp/node_modules/ng2-ion-range-slider/node_modules/@angular/core/src/errors.d.ts (10,43): Initializers are not allowed in ambient contexts.) P:/Users/B66139/workspace/Presentation/PagamentiApp/node_modules/ng2-ion-range-slider/node_modules/@angular/core/src/errors.d.ts (11,42): Initializers are not allowed in ambient contexts.) P:/Users/B66139/workspace/Presentation/PagamentiApp/node_modules/ng2-ion-range-slider/node_modules/@angular/core/src/errors.d.ts (12,43): Initializers are not allowed in ambient contexts.) P:/Users/B66139/workspace/Presentation/PagamentiApp/node_modules/ng2-ion-range-slider/node_modules/@angular/core/src/errors.d.ts (13,35): Initializers are not allowed in ambient contexts.)
ERROR in P:/Users/B66139/workspace/Presentation/PagamentiApp/node_modules/ng2-ion-range-slider/node_modules/@angular/core/src/animation/dsl.d.ts (81,33): Initializers are not allowed in ambient contexts.)
ERROR in P:/Users/B66139/workspace/Presentation/PagamentiApp/node_modules/ng2-ion-range-slider/node_modules/@angular/core/src/animation/animation_metadata_wrapped.d.ts (12,33): Initializers are not allowed in ambient contexts.)