joejordanbrown / popover

Angular CDK Popover, no default style, examples using @angular/material
MIT License
212 stars 75 forks source link

Broken dependencies for Angular 12 #799

Closed nikola-kljaic closed 2 years ago

nikola-kljaic commented 2 years ago

Bug:

Trying to install "@material-extended/mde": "3.0.3", With angular 12 and it breaks because of new deps added:

image image

What is the expected behaviour?

Expected behavior is to do version up and not break old one and to work with Angular 12 version.

image

What is the current behaviour?

Breaks with Angular 12 version.

What are the steps to reproduce?

Have Angular 12 project and try to run npm i with "@material-extended/mde": "3.0.3", added in package.json

Which versions of Angular, Material-Extended, OS, TypeScript, browsers are affected?

"@angular/animations": "13.3.8",
"@angular/cdk": "13.3.7",
"@angular/common": "13.3.8",
"@angular/compiler": "13.3.8",
"@angular/core": "13.3.8",
"@angular/forms": "13.3.8",
"@angular/material": "13.3.7",
"@angular/material-moment-adapter": "13.3.7",
"@angular/platform-browser": "13.3.8",
"@angular/platform-browser-dynamic": "13.3.8",
"@material-extended/mde": "3.0.3",

devDependencies: "@angular-devkit/build-angular": "13.3.5", "@angular-eslint/eslint-plugin": "13.0.1", "@angular-eslint/eslint-plugin-template": "13.0.1", "@angular-eslint/template-parser": "13.0.1", "@angular/cli": "13.3.5", "@angular/compiler-cli": "13.3.8", "@angular/language-service": "13.3.8", "typescript": "4.6.4",

nikola-kljaic commented 2 years ago

Resolved after using npm i --legacy-peer-deps. For anybody that has this problem.