1.This worked for me.Try installing latest angular http. npm install @angular/http@latest 2.Also you can try use '@angular/common/http' instead of this '@angular/http' The reason for the second option is. The following APIs have been removed starting with version 8.0.0: PACKAGE API REPLACEMENT NOTES. @angular/http All exports replaced with
"The default settings of the ui-router in AngularJS produces URLs like http://localhost/#/products/details/12345. Your Servlet gets a request for
p=preview; 24. working on an ASP.NET Core server app and an Angular 2 front-end SPA. http://~/lib/angular2/es6/dev/src/testing/shims_for_IE.js Render("~/bundles/angular") http://~/Scripts/MyApp.js @RenderSection("scripts", required: false)