angular: Angular v9 ivy - Can't bind to 'xxx' since it isn't a known property of 'xxx'.

When i update Angular to v9 for ivy,

Can’t bind to ‘formGroup’ since it isn’t a known property of ‘form’.

I’m using lazyload module structure. I still imported CommonModule to every lazy module.

Angular CLI: 9.0.1
Node: 12.14.1
OS: win32 x64

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 15 (7 by maintainers)

Most upvoted comments

@mlc-mlapis - no problem. I understand that it is not always obvious to a non-native speaker. I think you probably meant to say something more along the lines of simply “In case you don’t know, a simple reproduction demo will help to get a solution for your problem quicker.”

@emreyalvac

Please write down how to recreate this issue …

ng new issue-35266 etc.

maybe just a link to a git repo.

it’s a private repo, sorry.

I commented on this issue while I was working so I just put a error log on what happened, I may open a new issue with a repro Stackblitz if I have time

@emreyalvac

Please write down how to recreate this issue …

ng new issue-35266 etc.

maybe just a link to a git repo.

Can't bind to 'formGroup' since it isn't a known property of 'form'.

It’s e.g. I’m getting error every element.

Can't bind to 'ngClass' since it isn't a known property of 'input'.