Skip to content

TypeError: sink._addParentTeardownLogic is not a function #20

@LoaderB0T

Description

@LoaderB0T

Hi all,

a few days ago a CLI tool I wrote threw this error on a colleague's machine. I cannot reproduce this on my environment, so I can currently not provide you with a reproducible scenario sadly.

I can provide you with a more detailed stacktrace etc on Thursday if required.

The error itself gets throws within inquirer -> rxjs. I found this old issue in the angular CLI which also had rxjs as the origin of the error angular/angular-cli#12072

The problem may be the dependency to the old inquirer version 5.2.0 as this one still uses rxjs@5.5.12 which maybe already had this bug.

Do you think updating the package.json to require a newer version of inquirer with a newer rxjs dependency is possible? Or adding inquirer as peerDependency maybe?

I will try this workaround on Thursday to check whether it is actually the problem on his machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions