I try to build project with Angular CLI ng build --prod and I get this error:
ERROR in TypeError: Cannot read property \'kind\' of undefi
Keep in mind now TypeScript 3.6.4 is out. Still, it's ok to read below what wasn't really working.
TypeScript <= 3.6.3 presents this issue, Handle parentless nodes in isParameterPropertyDeclaration.
If you install 3.7 (dev or the new beta), it will compile fine.
Note: if you receive an ERROR on building, regarding the TS version, just disable it via tsconfig.
For that use disableTypeScriptVersionCheck
"angularCompilerOptions": {
"disableTypeScriptVersionCheck": true
},
"compilerOptions": {
...
Follow the comment's chat if any other problem emerges.