FlexLayoutModule.withConfig({useColumnBasisZero: false}) as suggested here to work with AOT compile
produces
Cannot read property 'alias' of undefined
https://github.com/gatimus/flex-layout-demo
npm i
ng serve
Angular CLI: 6.2.3
Node: 8.12.0
OS: win32 x64
Angular: 6.1.8
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.8.3
@angular-devkit/build-angular 0.8.3
@angular-devkit/build-optimizer 0.8.3
@angular-devkit/build-webpack 0.8.3
@angular-devkit/core 0.8.3
@angular-devkit/schematics 0.8.3
@angular/cdk 6.4.7
@angular/cli 6.2.3
@angular/flex-layout 6.0.0-beta.17
@ngtools/webpack 6.2.3
@schematics/angular 0.8.3
@schematics/update 0.8.3
rxjs 6.2.2
typescript 2.9.2
webpack 4.20.2
FlexLayoutModule.withConfig({ useColumnBasisZero: false }, DEFAULT_BREAKPOINTS) works
Please provide a minimal reproduction. This does not come up in our testing, which uses AOT.
@CaerusKaru added demo
I had no issue running both ng build --prod and ng serve

@CaerusKaru what else can I do to help reproduce this ^
I see what you're seeing now. Let me dive into this and see if there's an easy fix.
I've explained the root cause in #853, and the fix will be added there, hopefully before we release our 7.0.0-beta
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._