nishantmc / angular-material-fileupload

A fileupload component based on angular-material design
MIT License
98 stars 77 forks source link

NullInjectorError #54

Open abstratmobile opened 5 years ago

abstratmobile commented 5 years ago

core.js:6014 ERROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError(AppModule)[FileUploadInputFor -> ElementRef]: StaticInjectorError(Platform: core)[FileUploadInputFor -> ElementRef]: NullInjectorError: No provider for ElementRef! NullInjectorError: StaticInjectorError(AppModule)[FileUploadInputFor -> ElementRef]: StaticInjectorError(Platform: core)[FileUploadInputFor -> ElementRef]: NullInjectorError: No provider for ElementRef! at NullInjector.get (core.js:855) at resolveToken (core.js:17513) at tryResolveToken (core.js:17439) at StaticInjector.get (core.js:17265) at resolveToken (core.js:17513) at tryResolveToken (core.js:17439) at StaticInjector.get (core.js:17265) at resolveNgModuleDep (core.js:30392) at NgModuleRef_.get (core.js:31577) at resolveDep (core.js:32142) at resolvePromise (zone-evergreen.js:797) at resolvePromise (zone-evergreen.js:754) at zone-evergreen.js:858 at ZoneDelegate.invokeTask (zone-evergreen.js:391) at Object.onInvokeTask (core.js:39679) at ZoneDelegate.invokeTask (zone-evergreen.js:390) at Zone.runTask (zone-evergreen.js:168) at drainMicroTaskQueue (zone-evergreen.js:559)

nutman commented 5 years ago

Same here, any solution?

ResourceHog commented 5 years ago

I have this issue as well.

vandreas19 commented 4 years ago

I have the same issues, any ideas??

CodeKiwi commented 4 years ago

+1 Any solutions to this yet?

fsomme2s commented 4 years ago

me2

ulli-b commented 4 years ago

+1 No solutions?

rafapaulin commented 4 years ago

+1 same here

mohamedelmancy commented 4 years ago

same error

mariusAF commented 4 years ago

+1

Shivampio commented 4 years ago

same