TypeError: rxjs.Subject is not a constructor code example Example: ERROR TypeError: By.Subject is not a constructor import { Subject } from "rxjs";