Closed
Description
Trying to use http module from angular2 in nativescript, but I am getting this error:
file:///app/tns_modules/angular2/src/platform/serv
er/parse5_adapter.js:55:75: EXCEPTION: TypeError: _this.http.request(address, options)
.map is not a function. (In '_this.http.request(address, options)
This is working in the browser and also including in both places the rxjs map module
import 'rxjs/add/operator/map';
If I remove this from the browser I am getting the same message. But with nativescript even if I add it, it doesnt work...
What can be wrong here? Is there any working example using the http module?
Posted here, but so far no ideas, so adding it here as well
http://stackoverflow.com/questions/34899835/using-map-in-nativescript-with-angular2
Metadata
Metadata
Assignees
Labels
No labels