moribvndvs / ng2-idle

Responding to idle users in Angular (not AngularJS) applications.
https://moribvndvs.github.io/ng2-idle
Apache License 2.0
315 stars 128 forks source link

Please fix the deprecated @angular/http #69

Closed einewton closed 6 years ago

einewton commented 6 years ago

I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/HackedByChinese/ng2-idle/blob/master/CONTRIBUTING.md#getting-help

What is the motivation / use case for changing the behavior? Please view the angular teams pull req saying that as of Angular 4.3 angular/http is deprecated.

I have removed angular/http in favor of angular/common/http from my project but now your module will not load.

_ERROR in ..../nodemodules/ng-idle/keepalive/src/keepalive.d.ts (2,41): Cannot find module 'angular/http'.

patrickracicot commented 6 years ago

Related to #68

moribvndvs commented 6 years ago

beta 13 now uses angular 4+, which gets rid of angular/http.

mmeester commented 6 years ago

I'm still getting the Cannot find module '@angular/common/http' error with beta 13 and angular 4.1.3 installed

strypeez commented 6 years ago

Recently installed ngIdle and I am getting the Cannot find module @angular/common/http error