angular2-rest icon indicating copy to clipboard operation
angular2-rest copied to clipboard

Can't resolve 'angular2-rest'

Open akarabach opened this issue 9 years ago • 5 comments

I used angular cli. I installed angular2-rest npm install angular2-rest. I got an error :

ERROR in ./src/app/services/base-rest-client.service.ts
Module not found: Error: Can't resolve 'angular2-rest' in 'C:\Users\ankar\Projec
ts\hfs\components\src\app\services'
 @ ./src/app/services/base-rest-client.service.ts 16:0-73
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi main

akarabach avatar Jan 12 '17 07:01 akarabach

Have the files been downloaded into node_modules/angular2-rest?

DanielKucal avatar Jan 17 '17 08:01 DanielKucal

I have the same issue. Yes, files has been downloaded into node_modules. Any clue?

fidlip avatar Feb 17 '17 07:02 fidlip

I have the same issue.

cloud602 avatar Mar 04 '17 10:03 cloud602

@javist7 @fidlip @cloud602 does it work for you with https://github.com/DanielKucal/angular2-rest/?

DanielKucal avatar Mar 04 '17 11:03 DanielKucal

this https://github.com/hboylan/ng2-http work for me

akarabach avatar Mar 04 '17 15:03 akarabach