-
Notifications
You must be signed in to change notification settings - Fork 772
import of FlexLayoutModule #178
Comments
… ngc+aot * 'forRoot()' fn is never evaluated in AoT, ngc only analyzes the content of the fn to get the module and ngc does not know what to do with the first statetement (console.warn) * clarify changes to FlexLayoutModule.forRoot() Refs http://github.com/angular/angular#14410 Fixes #174, Fixes #175, Fixes #176, Fixes #178.
… ngc+aot * 'forRoot()' fn is never evaluated in AoT, ngc only analyzes the content of the fn to get the module and ngc does not know what to do with the first statetement (console.warn) * clarify changes to FlexLayoutModule.forRoot() Refs http://github.com/angular/angular#14410 Fixes #174, Fixes #175, Fixes #176, Fixes #178.
* ‘forRoot()' fn is never evaluated in AoT, ngc only analyzes the content of the fn to get the module and ngc does not know what to do with the first statetement (console.warn) * clarify changes to FlexLayoutModule.forRoot() * updates dependency to minimum of Angular v2.3.1. Refs http://github.com/angular/angular#14410 Fixes #174, Fixes #175, Fixes #176, Fixes #178.
* ‘forRoot()' fn is never evaluated in AoT, ngc only analyzes the content of the fn to get the module and ngc does not know what to do with the first statetement (console.warn) * clarify changes to FlexLayoutModule.forRoot() * updates dependency to minimum of Angular v2.3.1. Refs http://github.com/angular/angular#14410 Fixes #174, Fixes #175, Fixes #176, Fixes #178.
…179) * ‘forRoot()' fn is never evaluated in AoT, ngc only analyzes the content of the fn to get the module and ngc does not know what to do with the first statetement (console.warn) * clarify changes to FlexLayoutModule.forRoot() * updates dependency to minimum of Angular v2.3.1. Refs http://github.com/angular/angular#14410 Fixes #174, Fixes #175, Fixes #176, Fixes #178.
Just to confirm the understanding ... if i used this I was getting an error because FlexLayoutModule was undefined
However if i used this it worked correctly.
However my understanding was that I should be able to leave my path for my input the same. And I am not sure the ticket #176 resolves this issue or not. |
Same issue for me, had to change |
@pigeonvictor - which version of @angular/flex-layout do you have installed. Are you using Angular CLI (which version)?
|
@tmburnell, @pigeonvictor - can you zip your project (without the node_modules) and send to me via email ([email protected]). I am unable to reproduce this issue. |
Building an example: with the newest material and flex-layout ... it works. But it does seem to work fine now. |
Closing as no longer valid. |
…ngular#179) * ‘forRoot()' fn is never evaluated in AoT, ngc only analyzes the content of the fn to get the module and ngc does not know what to do with the first statetement (console.warn) * clarify changes to FlexLayoutModule.forRoot() * updates dependency to minimum of Angular v2.3.1. Refs http://github.com/angular/angular#14410 Fixes angular#174, Fixes angular#175, Fixes angular#176, Fixes angular#178.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Today I updated my Flex-Layout to beta.5 and the app fails to even load due to FlexLayoutModule calling a lambda function. After some research I saw we should not use forRoot anymore. So I removed it.
Then I ran into an issue where FlexLayoutModule is undefined when trying to import it.
I have found if i point my import to : "@angular/flex-layout/flexbox"
that it works fine, but if i use the high level import it fails.
This could be related to #175
The text was updated successfully, but these errors were encountered: