Topic: ng-uikit-pro-standard-7.4.2

angularspa free asked 3 years ago

ng serve mdb-demo data table does not render

[DatatablesComponent -> Http]: NullInjectorError: No provider for Http!

Angular CLI: 7.2.2 Node: 10.15.0 OS: win32 x64 Angular: 7.2.1

Tried npm install @angular/http@latest, ended with the same error.


angularspa free answered 3 years ago

No error after switched to HttpClient

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.4.2
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: Yes
  • Provided link: No