Can't bind to 'errorStateMatcher' since it isn't a known property of 'input' I think you need to import MatInputModule.