My project do not works anymore...


Topic: My project do not works anymore...

Alessandro Molteni pro asked 6 months ago

After the login on my application, I receive this log (i do not change nothing in my code)...

core.js:1624 ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[MdbTableDirective -> ElementRef]: 
  StaticInjectorError(Platform: core)[MdbTableDirective -> ElementRef]: 
    NullInjectorError: No provider for ElementRef!
Error: StaticInjectorError(AppModule)[MdbTableDirective -> ElementRef]: 
  StaticInjectorError(Platform: core)[MdbTableDirective -> ElementRef]: 
    NullInjectorError: No provider for ElementRef!
    at NullInjector.push../node_modules/@angular/core/fesm5/core.js.NullInjector.get (core.js:1034)
    at resolveToken (core.js:1273)
    at tryResolveToken (core.js:1218)
    at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (core.js:1113)
    at resolveToken (core.js:1273)
    at tryResolveToken (core.js:1218)
    at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (core.js:1113)
    at resolveNgModuleDep (core.js:8168)
    at _createClass (core.js:8221)
    at _createProviderInstance$1 (core.js:8185)
    at NullInjector.push../node_modules/@angular/core/fesm5/core.js.NullInjector.get (core.js:1034)
    at resolveToken (core.js:1273)
    at tryResolveToken (core.js:1218)
    at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (core.js:1113)
    at resolveToken (core.js:1273)
    at tryResolveToken (core.js:1218)
    at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (core.js:1113)
    at resolveNgModuleDep (core.js:8168)
    at _createClass (core.js:8221)
    at _createProviderInstance$1 (core.js:8185)
    at resolvePromise (zone.js:814)
    at resolvePromise (zone.js:771)
    at zone.js:873
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
    at Object.onInvokeTask (core.js:3748)
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420)
    at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
    at drainMicroTaskQueue (zone.js:595)
    at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:500)
    at invokeTask (zone.js:1540)

Damian Gemza staff answered 6 months ago

Dear Alessandro,

Could you please provide me with the code which produces you those errors?

Also please provide me with the code of those files: package.json, app.module.ts, angular.json

Without it, I won't be able to help you well.

Also please try to update to the latest #7.4.0 version of MDB Angular, and let me know if this resolves your problem.

Best Regards,

Damian


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: Angular
  • MDB Version: 6.2.5
  • Device: Dell Xps 16
  • Browser: All
  • OS: Ubuntu
  • Provided sample code: No
  • Provided link: No