Paldom / angular2-rest

Angular2 HTTP client to consume RESTful services. Built with TypeScript.
MIT License
248 stars 72 forks source link

Can't resolve 'angular2-rest' #25

Open akarabach opened 7 years ago

akarabach commented 7 years ago

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
DanielKucal commented 7 years ago

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

fidlip commented 7 years ago

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

cloud602 commented 7 years ago

I have the same issue.

DanielKucal commented 7 years ago

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

akarabach commented 7 years ago

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