1 possible answer(s) on “Module build failed: TypeError: Cannot read property ‘kind’ of undefined

  1. There is something amiss with CLI 9.1.4 and Angular 9.1.5.
    run: npm install @angular/core@9.1.4 @angular/animations@9.1.4 @angular/common@9.1.4 @angular/forms@9.1.4 @angular/platform-browser@9.1.4 @angular/router@9.1.4 @angular/platform-browser-dynamic@9.1.4 @angular/compiler@9.1.4 @angular/compiler-cli@9.1.4 @angular/language-service@9.1.4

    then ng build

    Worked for me