Topic: ng-uikit-pro-standard-7.4.2

angularspa free asked 5 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.

Thanks!


angularspa free answered 5 years ago


No error after switched to HttpClient



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: 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