Angular Universal inside docker: Cannot read property 'getOptionsDiagnostics' of undefined
Found a solution myself, in webpack config I enabled transpileOnly
option of ts-loader
and this error magically disappeared. In this case the code is already type checked so no real need to that anyway.
{ test: /\.ts$/, loader: 'ts-loader', options: { transpileOnly: true } },