Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

startWith undefined on aot build #1535

@renannobile

Description

@renannobile

I'm currently facing a misterious problem when building my Angular application.

I use Angular-CLI and run ng build --prod --aot.
I then deploy it to Firebase using firebase deploy.

The application starts fine but when it gets to this.searchText.valueChanges.startWith(null), it throws an error because startWith is undefined:

image

Code runs ok on localhost.

If this is not an issue with RxJS I'm sorry.
Thanks for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions