You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Zhilong Hong (Jira)" <ji...@apache.org> on 2021/08/30 03:26:00 UTC

[jira] [Created] (FLINK-24044) Errors are output when compiling flink-runtime-web

Zhilong Hong created FLINK-24044:
------------------------------------

             Summary: 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


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)