bruckwubete / ngx-carousel-3d

Ngx Carousel
7 stars 9 forks source link

NullInjectorError: No provider for ViewContainerRef! #2

Open Hsaido opened 6 years ago

Hsaido commented 6 years ago

I install ngx-carousel-3d and doing all things to make it work in my project, but i always have this error: NullInjectorError: No provider for ViewContainerRef ???????????????

abdatta commented 6 years ago

+1 Facing Same error here. Angular 5.1.3 Details of the error:

Error: Uncaught (in promise): Error: StaticInjectorError[ViewContainerRef]: StaticInjectorError[ViewContainerRef]: NullInjectorError: No provider for ViewContainerRef! Error: StaticInjectorError[ViewContainerRef]: StaticInjectorError[ViewContainerRef]: NullInjectorError: No provider for ViewContainerRef! at NullInjector.get (core.js:993) at resolveToken (core.js:1281) at tryResolveToken (core.js:1223) at StaticInjector.get (core.js:1094) at resolveToken (core.js:1281) at tryResolveToken (core.js:1223) at StaticInjector.get (core.js:1094) at resolveNgModuleDep (core.js:10878) at NgModuleRef.get (core.js:12110) at resolveDep (core.js:12608) at NullInjector.get (core.js:993) at resolveToken (core.js:1281) at tryResolveToken (core.js:1223) at StaticInjector.get (core.js:1094) at resolveToken (core.js:1281) at tryResolveToken (core.js:1223) at StaticInjector.get (core.js:1094) at resolveNgModuleDep (core.js:10878) at NgModuleRef.get (core.js:12110) at resolveDep (core.js:12608) at resolvePromise (zone.js:770) at resolvePromise (zone.js:741) at eval (zone.js:818) at ZoneDelegate.invokeTask (zone.js:424) at Object.onInvokeTask (core.js:4744) at ZoneDelegate.invokeTask (zone.js:423) at Zone.runTask (zone.js:191) at drainMicroTaskQueue (zone.js:584)

rahulkumarshaw commented 6 years ago

getting same issue, not able to fix it

engyash commented 4 years ago

Any luck on this one yet? Facing the same issue with angular 7.