#

Angular Error: Module '"../../../node_modules/rxjs/BehaviorSubject"' has no exported member 'BehaviorSubject'.ts(2305)

 Fehler bei:

import { BehaviorSubject } from "rxjs/BehaviorSubject";

  Lösung:

import { BehaviorSubject } from "rxjs/internal/BehaviorSubject";

 Oder

import { BehaviorSubject } from "rxjs";

AND stop ng serve with ctrl+c and clean the npm serve cache in powershell Terminal and start it again

 

Ctrl+c

npm cache clean –force

ng serve

 

 

 

import { Injectable } from '@angular/core';

import { HttpClient } from "@angular/common/http";

import { BehaviorSubject } from "rxjs/BehaviorSubject";

 

Mobile

.