You need to import the map
operator:
import 'rxjs/add/operator/map'
More Related Contents:
- Angular 2 – Return data directly from an Observable
- How to return value from function which has Observable subscription inside?
- Chaining RxJS Observables from http data in Angular2 with TypeScript
- Angular 2 2.0.0-rc.1 Property ‘map’ does not exist on type ‘Observable’ not the same as issue report
- RxJs get value from observable
- How to create an Observable from static data similar to http one in Angular?
- RxJs Array of Observable to Observable of Array
- *ngFor running an infinite loop in angular2
- Angular 2 custom form input
- Angular 2: Convert Observable to Promise
- Angular2 – should private variables be accessible in the template?
- How to prepare release version with SystemJS and Gulp?
- Angular2 canActivate() calling async function
- How to display json object using *ngFor
- Angular no provider for NameService
- Angular2 – Share data between components using services
- How to cancel/unsubscribe all pending HTTP requests in Angular 4+
- TypeScript error in Angular2 code: Cannot find name ‘module’
- How to make a sequence of http requests in Angular 6 using RxJS
- Visual Studio Code Automatic Imports
- TypeError: You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable
- Get route query params
- Behaviour subject initial value null?
- Rxjs Retry with Delay function
- Subscribing to a nested Observable
- What is pipe for in RxJS?
- How to throw error from RxJS map operator (angular)
- How to return observable from subscribe
- What exactly $event object do in Angular 2?
- How to deal with http status codes other than 200 in Angular 2