tanansatpal / ngx-mat-intl-tel-input

MIT License
62 stars 111 forks source link

Uncaught TypeError: Object(...) is not a function at ngx-mat-intl-tel-input.js:14 at Module../node_modules/ngx-mat-intl-tel-input/fesm5/ngx-mat-intl-tel-input.js #33

Open mshubhamtyagi opened 4 years ago

mshubhamtyagi commented 4 years ago

Screenshot from 2020-01-17 12-49-55

"dependencies": { "@angular/animations": "^8.1.0", "@angular/cdk": "^7.3.7", "@angular/common": "~7.2.0", "@angular/compiler": "~7.2.0", "@angular/core": "~7.2.0", "@angular/flex-layout": "^7.0.0-beta.22", "@angular/forms": "~7.2.0", "@angular/http": "^7.2.15", "@angular/material": "^7.3.7", "@angular/platform-browser": "~7.2.0", "@angular/platform-browser-dynamic": "~7.2.0", "@angular/router": "~7.2.0", "@ngx-translate/core": "^11.0.1", "@ngx-translate/http-loader": "^4.0.0", "@syncfusion/ej2-angular-charts": "^17.1.49", "angular-user-idle": "^2.1.4", "angular2-cookie": "^1.2.6", "angular2-highcharts": "0.5.5", "angularx-qrcode": "^1.6.1", "bootstrap": "^4.3.1", "core-js": "^2.5.4", "hammerjs": "^2.0.8", "libphonenumber-js": "^1.7.18", "ng-animate": "^0.3.4", "ng-connection-service": "^1.0.4", "ng-recaptcha": "^5.0.0", "ng2-tel-input": "^2.0.1", "ngx-image-cropper": "^1.3.11", "ngx-mat-intl-tel-input": "^2.0.0", "ngx-progressbar": "^2.1.1", "pusher": "^2.2.0", "rxjs": "^6.3.3", "rxjs-compat": "^6.5.2", "socket.io": "^2.2.0", "socket.io-client": "^2.3.0", "tslib": "^1.10.0", "web-animations-js": "^2.3.1", "zone.js": "~0.8.26" } }

I am getting this error in the console after running the npm update command

Coder-Himanshu commented 4 years ago

@mshubhamtyagi did u got solution for this error ?

tanansatpal commented 4 years ago

Hi @mshubhamtyagi @Coder-Himanshu can you share the usage code of how you are using this? I have not encountered this error in my code.

mshubhamtyagi commented 3 years ago

Hi @tanansatpal @Coder-Himanshu, Sorry fit the late reply. I upgrade my package version "ngx-mat-intl-tel-input": "^2.0.5",