gauravsoni119 / ng2-tel-input

MIT License
55 stars 56 forks source link

I am getting ERROR in : Unexpected value 'Ng2TelInputModule in node_modules/ng2-tel-input/src/ng2-tel-input.module.d.ts error when i update to 2.1.0 from 2.0.3.. previously worked very well.. let me know anybody have solution ? #65

Closed sarikonda1 closed 4 years ago

sarikonda1 commented 4 years ago

ERROR in : Unexpected value 'Ng2TelInputModule in /var/lib/go-agent/pipelines/SMGT-APP-DEV/node_modules/ng2-tel-input/src/ng2-tel-input.module.d.ts' imported by the module 'SharedManagementModule in /var/lib/go-agent/pipelines/SMGT-APP-DEV/src/app/shared/shared.module.ts'. Please add a @NgModule annotation. node_modules/ng2-tel-input/src/ng2-tel-input.d.ts(18,21): error TS2694: Namespace '"/var/lib/go-agent/pipelines/SMGT-APP-DEV/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDef'. node_modules/ng2-tel-input/src/ng2-tel-input.d.ts(19,21): error TS2694: Namespace '"/var/lib/go-agent/pipelines/SMGT-APP-DEV/node_modules/@angular/core/core"' has no exported member 'ɵɵDirectiveDefWithMeta'. node_modules/ng2-tel-input/src/ng2-tel-input.module.d.ts(6,21): error TS2694: Namespace '"/var/lib/go-agent/pipelines/SMGT-APP-DEV/node_modules/@angular/core/core"' has no exported member 'ɵɵNgModuleDefWithMeta'. node_modules/ng2-tel-input/src/ng2-tel-input.module.d.ts(7,21): error TS2694: Namespace '"/var/lib/go-agent/pipelines/SMGT-APP-DEV/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectorDef'

gauravsoni119 commented 4 years ago

Which version of Angular you are using? Make sure that you have the latest version(Angular 9).

sarikonda1 commented 4 years ago

Which version of Angular you are using? Make sure that you have the latest version(Angular 9).

Does this version of plugin supports only angular 9 ?

viniciuspsw commented 4 years ago

I'm facing same error using Angular 9. Has someone found a solution?

gauravsoni119 commented 4 years ago

Screenshot from 2020-02-29 12-05-39

From this table, it looks like the shipping library with angular 9 is not compatible with the older angular apps. So, I will publish the new version which will revert the changes of new version.

Thanks for the issue.

gauravsoni119 commented 4 years ago

New version 2.2.0 compiled with angular 8.

devprotim commented 1 year ago

'Ng2TelInputModule' does not appear to be an NgModule class. Im using angular 13.