nkoehler / mat-video

:tv: mat-video is an Angular 8/9+ video player using Material!
https://nkoehler.github.io/mat-video/
MIT License
91 stars 47 forks source link

Unable to install MatVideoModule #35

Closed mohdimran043 closed 5 years ago

mohdimran043 commented 5 years ago

PLEASE FILL THIS OUT IF YOU WANT HELP WITH AN ISSUE!

Bug, feature request, or proposal:

After running the following command in the angular project. I am getting error in the browser as shown in the image below.

npm install --save @angular/material @angular/cdk @angular/animations hammerjs npm install --save mat-video

import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { MatVideoModule } from 'mat-video';

@NgModule({ imports: [ BrowserAnimationsModule, MatVideoModule ], })

What is the current behavior?

image

What is the expected behavior?

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV

What is the use-case or motivation for changing an existing behavior?

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

Is there anything else I should know?

nkoehler commented 5 years ago

Please answer which version of angular/material/typescript/etc. you are using if you wish to receive help.

mohdimran043 commented 5 years ago

Hey Sorry for the delayed response but the problem was that i was using angular 7 when i upgraded my angular everything started working as expected!..