vime-js / vime

Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...
https://vimejs.com
MIT License
2.76k stars 152 forks source link

Could not resolve dependency: npm ERR! peer @angular/common@"^11.0.4" from @vime/angular@5.3.1 #325

Open Humadroid opened 2 years ago

Humadroid commented 2 years ago

Unable to install vime with angular 14

Here is the terminal output

C:\Users\dsourav\Documents\Office\Projects\New folder\media-viewer>npm i @vime/angular
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: media-viewer@0.0.0
npm ERR! Found: @angular/common@14.2.0
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"^14.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^11.0.4" from @vime/angular@5.3.1
npm ERR! node_modules/@vime/angular
npm ERR!   @vime/angular@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\dsourav\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\dsourav\AppData\Local\npm-cache\_logs\2022-08-26T07_01_04_504Z-debug-0.log
nzomedia commented 2 years ago

I'm currently having problems with angular 14. But for me i installed vime with --force option. But still i can't import the VimeModule, it's not recognized as an ng module. I get: "'VimeModule' does not appear to be an NgModule class.(-996002)"

I feel like there's only a few packages compatible with angular 14 :(

jobnbackpack commented 2 years ago

I have the same problem. The --legacy-peer-deps option on install works for me, but I would prefer to have a version that is compatible with angular 14.

crossbase commented 1 year ago

hello, are the plans for supporting angular 15 ?

thank you