ng2-fancy-image-uploader icon indicating copy to clipboard operation
ng2-fancy-image-uploader copied to clipboard

No Provider for Renderer

Open ANewChanceAtLife opened this issue 6 years ago • 1 comments

I have followed all the instructions from the readme to install this library.

I am running into an issue where, when the image uploader is rendered into the page i get the following error:

ERROR Error: StaticInjectorError(AppModule)[FancyImageUploaderComponent -> Renderer]: 
  StaticInjectorError(Platform: core)[FancyImageUploaderComponent -> Renderer]: 
    NullInjectorError: No provider for Renderer!
    at _NullInjector.webpackJsonp.../../../core/esm5/core.js._NullInjector.get (core.js:1002)
    at resolveToken (core.js:1300)
    at tryResolveToken (core.js:1242)
    at StaticInjector.webpackJsonp.../../../core/esm5/core.js.StaticInjector.get (core.js:1110)
    at resolveToken (core.js:1300)
    at tryResolveToken (core.js:1242)
    at StaticInjector.webpackJsonp.../../../core/esm5/core.js.StaticInjector.get (core.js:1110)
    at resolveNgModuleDep (core.js:10854)
    at NgModuleRef_.webpackJsonp.../../../core/esm5/core.js.NgModuleRef_.get (core.js:12087)
    at resolveDep (core.js:12577)

I don't get any errors when compiling the code and have tried to provide the Renderer manually in my module but to no success.

Any help on this would be appreciated.

ANewChanceAtLife avatar Mar 14 '18 10:03 ANewChanceAtLife

Haven't seen this error before. What Android version are you using?

ogix avatar Mar 14 '18 19:03 ogix