I am trying to generate a component called "hero" using "ng generate component hero" in the cmd line and am getting the following message:
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.
Note: The error was still occurring before the version warning was a problem
What can I do to fix this?