i’am working on this plugin
intl-input-phone - npm
i have installed npm i intl-input-phone@0.0.7 version
and i’ve got this error
Uncaught TypeError: Object(…) is not a function
in this line
/** @nocollapse */ IntlInputPhoneService.ngInjectableDef = Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["defineInjectable"])({ factory: function IntlInputPhoneService_Factory() { return new IntlInputPhoneService(); }, token: IntlInputPhoneService, providedIn: "root" })
my @angular version
"dependencies": {
"@angular/animations": "5.2.11",
"@angular/common": "^4.3.2",
"@angular/compiler": "4.1.3",
"@angular/compiler-cli": "4.1.3",
"@angular/core": "^4.1.3",
"@angular/forms": "4.1.3",
"@angular/http": "^4.1.3",
"@angular/platform-browser": "4.1.3",
"@angular/platform-browser-dynamic": "4.1.3",
"@capacitor/android": "^1.2.1",
"@capacitor/core": "^1.2.1",
"@ionic-native/android-permissions": "^4.20.0",
"@ionic-native/base64": "^5.22.0",
"@ionic-native/call-number": "^5.28.0",
"@ionic-native/camera": "^4.20.0",
"@ionic-native/core": "4.20.0",
"@ionic-native/document-viewer": "^4.20.0",
"@ionic-native/downloader": "^5.26.0",
....
any help on how to fixe it ? and where the error come from ?