moust / cordova-plugin-videoplayer

A Codova plugin to play video with the native MediaPlayer on Android devices.
MIT License
139 stars 102 forks source link

I'm getting an error as "Invalid provider for the NgModule 'AppModule'" #69

Open Harsha-Vardhan-Sai-Ram opened 3 years ago

Harsha-Vardhan-Sai-Ram commented 3 years ago

when I run my app I get the following error:

Error: Invalid provider for the NgModule 'AppModule' - only instances of Provider and Type are allowed, got: [..., ..., ?[object Object]?, ...] at throwInvalidProviderError (core.js:5455) at providerToFactory (core.js:11347) at providerToRecord (core.js:11318) at R3Injector.processProvider (core.js:11216) at core.js:11202 at core.js:1135 at Array.forEach () at deepForEach (core.js:1135) at R3Injector.processInjectorType (core.js:11202) at core.js:11009

while compilation it didn't show any errors