Open feeng10914017 opened 2 years ago
@feeng10914017 , this is talking about peer dependency issue, basically the ngx-plyr version which is 4.0 that you have uses angular/common version 9 while your root project uses angular/common 13 hence the mismatch. I am not sure if the team will release an upgrade to support angular 13. You can run "npm i --legacy-peer-deps" which will by pass this mismatch and install the dependency anyway. I have angular 12 but it works with ngx-plyr version 3.6.9 "dependencies": { "@angular/animations": "~12.2.0", "@angular/cdk": "~12.2.8", "@angular/common": "~12.2.0", "@angular/compiler": "~12.2.0", "@angular/core": "~12.2.0", "@angular/forms": "~12.2.0", "@angular/material": "^12.2.8", "@angular/platform-browser": "~12.2.0", "@angular/platform-browser-dynamic": "~12.2.0", "@angular/router": "~12.2.0", "@angular/youtube-player": "^13.1.0", "@fortawesome/angular-fontawesome": "^0.9.0", "@fortawesome/fontawesome-svg-core": "^1.2.36", "@fortawesome/free-brands-svg-icons": "^5.15.4", "@fortawesome/free-solid-svg-icons": "^5.15.4", "angular-vimeo-api-factory": "^0.5.2", "ngx-plyr": "^4.0.0", "ngx-sharebuttons": "^8.0.5", "plyr": "^3.6.9", "rxjs": "~6.6.0", "tslib": "^2.3.0", "zone.js": "~0.11.4" }, "devDependencies": { "@angular-devkit/build-angular": "~12.2.6", "@angular/cli": "~12.2.6", "@angular/compiler-cli": "~12.2.0", "@types/jasmine": "~3.8.0", "@types/node": "^12.11.1", "jasmine-core": "~3.8.0", "karma": "~6.3.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.0.3", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "~1.7.0", "typescript": "~4.3.5" }
I try to Install, but get this error.
How can i do