Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency error to update @angular/material 11 to 12 #760

Open
dpeliser-zebra opened this issue Apr 27, 2022 · 5 comments
Open

Dependency error to update @angular/material 11 to 12 #760

dpeliser-zebra opened this issue Apr 27, 2022 · 5 comments

Comments

@dpeliser-zebra
Copy link

dpeliser-zebra commented Apr 27, 2022

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.
@danielmoncada
Copy link

@dpeliser-zebra you shouldn't be using this version anymore.. use my forked version: https://www.npmjs.com/package/@danielmoncada/angular-datetime-picker

@paritosh64ce
Copy link

@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 added a commit to paritosh64ce/date-time-picker that referenced this issue Nov 15, 2022
Updated to indicate Angular 9+ supported version.
Reference: DanielYKPan#760 (comment)
@danielmoncada
Copy link

@paritosh64ce this project is abandoned, no way to edit or merge any PRs.

@paritosh64ce
Copy link

@danielmoncada - that's what I am suggesting. Update the README file, so that others know which package to use.

@danielmoncada
Copy link

@paritosh64ce how can I update the README file if you can't edit or merge any PRs? I do not own this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants