flex-layout: Webpack fails to compile updating from beta.4 to beta.5 using angular-cli
During ng serve
I get:
ERROR in Error encountered resolving symbol values statically. Calling function ‘FlexLayoutModule’, function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AppModule in blah/blah/src/app/app.module.ts, resolving symbol AppModule in blah/blah/src/app/app.module.ts
Compiles fine when I change angular/flex-layout back to beta.4.
angular-cli beta 31
Let me know if any additional info would be helpful.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 3
- Comments: 24 (10 by maintainers)
Commits related to this issue
- fix(FlexLayoutModule): remove console.warn() calls that conflict with 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 kn... — committed to angular/flex-layout by ThomasBurleson 7 years ago
- fix(FlexLayoutModule): remove console.warn() calls that conflict with 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 kn... — committed to angular/flex-layout by ThomasBurleson 7 years ago
- fix(FlexLayoutModule): remove console.warn() conflicts with 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 t... — committed to angular/flex-layout by ThomasBurleson 7 years ago
- fix(FlexLayoutModule): remove console.warn() conflicts with 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 t... — committed to angular/flex-layout by ThomasBurleson 7 years ago
- fix(FlexLayoutModule): remove console.warn() conflicts with ngc+AOT (#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... — committed to angular/flex-layout by ThomasBurleson 7 years ago
- fix(FlexLayoutModule): remove console.warn() conflicts with ngc+AOT (#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... — committed to karlhaas/flex-layout by ThomasBurleson 7 years ago
Thanks I had the same issue when I update Angular Cli to 1.0.0-beta.31 and Angular 2.4.7. I confirm reverting flex-layout back to beta.4, resolves the issue.
Ah… the notorious Windows OS. Yep. Betcha a $10.