In regard to the "You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable" error.
This could happen if you import { Observable } from 'rxjs'
after (below) some module/function/whatever, which actually uses it.
Solution: move this import above the import of that module.