Reputation: 29
I followed the library instructions of installation and added component to my app template, getting this error: "ERROR in Symbol NgxIntlTelInputComponent declared in /node_modules/ngx-intl-tel-input/lib/ngx-intl-tel-input.component.d.ts is not exported from ngx-intl-tel-input/lib/ngx-intl-tel-input.module"
someone knows what is the cause?
Upvotes: 1
Views: 4045
Reputation: 29
Eventually, I figured that the npm install from the docs of this library was pointing to an older version, changing the version manually in the package.json to the newer version solved the bug:
"@angular-material-extensions/select-country": "^2.2.0"
Upvotes: 0
Reputation: 186
You are probably not importing the library correctly, do this:
import { NgxIntlTelInputModule } from 'ngx-intl-tel-input'
Upvotes: 2