Dependency error to update @angular/material 11 to 12
dpeliser-zebra opened this issue · comments
I am migration my project from Angular 11 to 12, and when I tried to update the @angular/material@12
I had an error with ng-pick-datetime
:
$ ng update @angular/material@12
Using package manager: 'npm'
Collecting installed dependencies...
Found 51 dependencies.
Fetching dependency metadata from registry...
Package "ng-pick-datetime" has an incompatible peer dependency to "@angular/cdk" (requires "^7.0.0", would install "12.2.13").
✖ 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.
See "/tmp/ng-3v8GXt/angular-errors.log" for further details.
@dpeliser-zebra you shouldn't be using this version anymore.. use my forked version: https://www.npmjs.com/package/@danielmoncada/angular-datetime-picker
@dpeliser-zebra you shouldn't be using this version anymore.. use my forked version: https://www.npmjs.com/package/@danielmoncada/angular-datetime-picker
@danielmoncada How can we even know? Luckily I was able to reach here after doing lots of npm i, clean, trials and errors and googling... Could you please mention in the main README of ng-pick-datetime
or ng-pick-datetime-ex
?
@paritosh64ce this project is abandoned, no way to edit or merge any PRs.
@danielmoncada - that's what I am suggesting. Update the README file, so that others know which package to use.
@paritosh64ce how can I update the README file if you can't edit or merge any PRs? I do not own this repo.