changhuixu / ngx-digit-only

An Angular directive to only allow [0-9] in the input box when typing, pasting or drag/dropping.

Home Page:https://changhuixu.github.io/ngx-digit-only/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update to Angular v14

angelzarazua opened this issue · comments

Please, update to Angular 14

@angelzarazua Do you have problems in installing this npm package in an Angular v14 project?
It shouldn't happen because this package currently sets its dependency to be Angular versions >=12.

May I know more details?

angular refuses to upgrade to v14 unless you use --force which is not ideal

ng update @angular/core@14 @angular/cli@14 @angular-eslint/schematics@14 
The installed Angular CLI version is outdated.
Installing a temporary Angular CLI versioned 14.2.10 to perform the update.
✔ Package successfully installed.
Using package manager: npm
Collecting installed dependencies...
Found 101 dependencies.
Fetching dependency metadata from registry...
                  Package "@uiowa/digit-only" has an incompatible peer dependency to "@angular/common" (requires "^12.0.0" (extended), would install "14.2.12").
                  Package "@uiowa/digit-only" has an incompatible peer dependency to "@angular/core" (requires "^12.0.0" (extended), would install "14.2.12").
✖ Migration failed: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.