Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save xola139/a6debcbed98aae923a76f3b57657c227 to your computer and use it in GitHub Desktop.
Save xola139/a6debcbed98aae923a76f3b57657c227 to your computer and use it in GitHub Desktop.
Common Error For in Angular without initialze variable
ERROR Error: Cannot find a differ supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays.
at NgForOf.ngDoCheck (common.js:4477)
at checkAndUpdateDirectiveInline (core.js:24506)
at checkAndUpdateNodeInline (core.js:35163)
at checkAndUpdateNode (core.js:35102)
at debugCheckAndUpdateNode (core.js:36124)
at debugCheckDirectivesFn (core.js:36067)
at Object.eval [as updateDirectives] (MyComponentComponent.html:46)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:36055)
at checkAndUpdateView (core.js:35067)
at callViewAction (core.js:35433)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment