Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subscribeSpyTo is causing the ''ERROR TypeError: You provided 'undefined' where a stream was expected'' with the RxJS 7 upgrade #42

Closed
dean-g opened this issue Dec 11, 2021 · 2 comments

Comments

@dean-g
Copy link

dean-g commented Dec 11, 2021

I am getting the following error with the subscribeSpyTo import with the RxJS 7

import { subscribeSpyTo } from '@hirez_io/observer-spy';

      ERROR TypeError: You provided 'undefined' where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.

ERROR TypeError: You provided 'undefined' where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.
          at Object.createInvalidObservableTypeError (/node_modules/rxjs/src/internal/util/throwUnobservableError.ts:7:10)


Can you please advise on this?

@shairez
Copy link
Member

shairez commented Dec 11, 2021

Please share your Typescript version and tsconfig.json content so I'll be able to reproduce

Plus the full stack trace (at least the parts that belong to observer-spy) will also help

Thanks

@dean-g
Copy link
Author

dean-g commented Dec 28, 2021

this was a different issue. please ignore!!

@dean-g dean-g closed this as completed Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants