ng create component problem

50 views
Skip to first unread message

Alexis Rengifo

unread,
Jan 12, 2018, 12:39:41 AM1/12/18
to Angular and AngularJS discussion
Hi here.
I am working with the tutorial https://angular.io/tutorial/toh-pt1#create-the-heroes-component I am getting:

Error: You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.

Why? This is the output of `ng --version`

Angular CLI: 1.6.3Node: 8.9.4
OS
: linux x64
Angular: 5.2.0


Sander Elias

unread,
Jan 12, 2018, 12:48:43 AM1/12/18
to Angular and AngularJS discussion
Hi Alexis,

What are you doing when you get the error? Are you trying to do the `ng generate component heroes` command? Are you trying to run the code? is the error in the developer console?

Regards
Sander
Reply all
Reply to author
Forward
0 new messages