gauravsoni119 / ng2-tel-input

MIT License
56 stars 57 forks source link

Angular 9: ERROR in Failed to compile entry-point ng2-tel-input (main as commonjs) due to compilation errors: #63

Closed nimatrazmjo closed 4 years ago

nimatrazmjo commented 4 years ago

I have upgraded my angular to version 9. and I receive this error:

ERROR in Failed to compile entry-point ng2-tel-input (main as commonjs) due to compilation errors:
node_modules/ng2-tel-input/src/ng2-tel-input.module.js:22:27 - error NG1010: Value at position 0 in the NgModule.declarations of Ng2TelInputModule is not a reference: [object Object]

22             declarations: [Ng2TelInput],
                             ~~~~~~~~~~~~~

can you please look at this issue?

Thanks

Filu-82 commented 4 years ago

Same issue here after angular upgrade to version 9.

kevincaradant commented 4 years ago

Hello

@gauravsoni119 , do you have any idea when you think this issue will be fixed ?

Thank you :)

gauravsoni119 commented 4 years ago

Thanks for the issue. Updated to angular V9

Nhilo94 commented 4 years ago

same issue angular 9

kevincaradant commented 4 years ago

which version do you used ? Try V2.1.0 only (for Angular 9). It's works for me under Angular 9. The latest version V2.2.0 is compiled with Angular 8 and don't work with Angular 9

Karen1998 commented 4 years ago

npm i ng2-tel-input@2.1.0

Nhilo94 commented 4 years ago

thanks @Karen1998 @kevincaradant