Skip to content

Not compatible with @angular/cli@6.2 #35

Description

@larssn

The error is:

You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.
  TypeError: You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.
    at Object.exports.subscribeTo (/node_modules/@angular/cli/node_modules/rxjs/src/internal/util/subscribeTo.ts:37:11)
    at Object.subscribeToResult (/node_modules/@angular/cli/node_modules/rxjs/src/internal/util/subscribeToResult.ts:18:10)
    at MergeMapSubscriber._innerSub (/node_modules/@angular/cli/node_modules/rxjs/src/internal/operators/mergeMap.ts:142:14)
    at MergeMapSubscriber._tryNext (/node_modules/@angular/cli/node_modules/rxjs/src/internal/operators/mergeMap.ts:138:10)
    at MergeMapSubscriber._next (/node_modules/@angular/cli/node_modules/rxjs/src/internal/operators/mergeMap.ts:122:12)
    at MergeMapSubscriber.Subscriber.next (/node_modules/@angular/cli/node_modules/rxjs/src/internal/Subscriber.ts:102:12)
    at MapSubscriber._next (/node_modules/@angular/cli/node_modules/rxjs/src/internal/operators/map.ts:86:22)
    at MapSubscriber.Subscriber.next (/node_modules/@angular/cli/node_modules/rxjs/src/internal/Subscriber.ts:102:12)
    at TapSubscriber._next (/node_modules/@angular/cli/node_modules/rxjs/src/internal/operators/tap.ts:116:22)
    at TapSubscriber.Subscriber.next (/node_modules/@angular/cli/node_modules/rxjs/src/internal/Subscriber.ts:102:12)
    at MergeMapSubscriber.notifyNext (/node_modules/@angular/cli/node_modules/rxjs/src/internal/operators/mergeMap.ts:155:22)
    at InnerSubscriber._next (/node_modules/@angular/cli/node_modules/rxjs/src/internal/InnerSubscriber.ts:17:17)
    at InnerSubscriber.Subscriber.next (/node_modules/@angular/cli/node_modules/rxjs/src/internal/Subscriber.ts:102:12)
    at MapSubscriber._next (/node_modules/@angular/cli/node_modules/rxjs/src/internal/operators/map.ts:86:22)
    at MapSubscriber.Subscriber.next (/node_modules/@angular/cli/node_modules/rxjs/src/internal/Subscriber.ts:102:12)
    at MergeMapSubscriber.notifyNext (/node_modules/@angular/cli/node_modules/rxjs/src/internal/operators/mergeMap.ts:155:22)

It happens on an ngw serve, probably also the other commands.

Downgrading to cli v6.1 fixes it.

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