Error: dryRunSink.commit(…).ignoreElements(…).concat is not a function

Status

This issue has been resolved in @angular/cli version 1.6.6.

Issue

The issue of [rxjs operator] is not a function is a result of the migration of the devkit repo to using “pipeable” (formerly “lettable”) operators instead of the prototype patching approach that the Angular CLI was using prior to release 1.6.6 (which was just released). The commit which fixed it is here.

The issue is that the CLI was using operators that were not imported and relied on them being on the Observable object. When the devkit was updated it removed this function and the bug in the CLI was exposed. The latest version of the CLI is now using pipeable operators and therefore importing all of the operators needed to work with observables, so this issue has been resolved.

Fix

Buy me a coffeeBuy me a coffee