inquirer-fuzzy-path
inquirer-fuzzy-path copied to clipboard
TypeError: sink._addParentTeardownLogic is not a function
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 https://github.com/angular/angular-cli/issues/12072
The problem may be the dependency to the old inquirer version 5.2.0 as this one still uses [email protected] 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.