[
https://issues.apache.org/jira/browse/FLINK-24044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17406571#comment-17406571
]
Ingo Bürk commented on FLINK-24044:
-----------------------------------
The logs themselves are completely fine, this is just Angular's compatibility
compiler at work. According to
[https://github.com/angular/angular-cli/issues/16940,] updating the
frontend-maven-plugin past 1.8.0 would change these to INFO logs. That is a
change that is done as part of FLINK-23113. CC [~junhany] who can maybe confirm
that with his changes on that branch these logs are no longer on ERROR now.
> Errors are output when compiling flink-runtime-web
> --------------------------------------------------
>
> Key: FLINK-24044
> URL: https://issues.apache.org/jira/browse/FLINK-24044
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Web Frontend
> Affects Versions: 1.14.0
> Reporter: Zhilong Hong
> Priority: Minor
>
> When compiling the module {{flink-runtime-web}}, the terminal would be filled
> with errors as below:
> {code:bash}
> [ERROR] - Generating browser application bundles (phase: setup)...
> [ERROR]
> [ERROR] Compiling @angular/core : es2015 as esm2015
> [ERROR]
> [ERROR] Compiling @angular/common : es2015 as esm2015
> [ERROR]
> [ERROR] Compiling @angular/platform-browser : es2015 as esm2015
> [ERROR]
> [ERROR] Compiling @angular/platform-browser-dynamic : es2015 as esm2015
> [ERROR]
> [ERROR] Compiling @angular/router : es2015 as esm2015
> ...
> {code}
>
> Although it doesn't break the compilation, maybe we should fix this.
> I'm not familiar with the module flink-runtime-web or Angular. I found
> something that may be useful:
> [https://github.com/angular/angular/issues/36513]
> [https://github.com/angular/angular/issues/31853]
> [https://stackoverflow.com/questions/57220392/even-though-i-am-using-target-esm2015-ivy-is-compiles-as-a-esm5-module/57220445#57220445]
> [https://stackoverflow.com/questions/61304548/simple-angular-9-project-compiles-whole-angular-material-es2015-as-esm2015]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)