lovelock commented on pull request #14848:
URL: https://github.com/apache/flink/pull/14848#issuecomment-779288383


   > @vthinkxie I just download the master zip and do the same to it, it only 
stuck at npm thing(which is related to great firewall) and the OOM is gone. So 
I guess the OOM comes from `git-commit-id-plugin:4.0.2:revision`, if the 
working directory is `git clone`d then it will go OOM and won't if not.
   
   @vthinkxie Well I quit. Wish you could help me create the PR and fix the bug.
   
   I can't even clone my fork to local with the F**King too slow network 
connection and the OOM. I made it just run `cnpm install && cnpm run build && 
cpnm run proxy` in `flink-runtime-web/web-dashboard`, **only change 
monaco-editor version to ^0.18.0 will do the work** but I could not make it to 
upload the `package-lock.json`.
   
   BTW, there are so many deprecation warnings during building process, perhaps 
a global upgrading of dependencies should be considered.
   
   ```
   [4/4] scripts.postinstall @angular-devkit/[email protected][email protected] finished in 2m
   ✔ Run 4 scripts
   peerDependencies WARNING [email protected] › 
@ant-design/icons-angular@^2.1.0 requires a peer of typescript@~3.1.3 but 
[email protected] was installed
   deprecate core-js@^2.5.4 core-js@<3 is no longer maintained and not 
recommended for usage due to the number of issues. Please, upgrade your 
dependencies to the actual version of core-js@3.
   deprecate @angular-devkit/[email protected] › 
@angular-devkit/[email protected][email protected] Chokidar 2 will break on node 
v14+. Upgrade to chokidar 3 with 15x less dependencies.
   anti semver @types/[email protected] › @types/jasmine@* delcares 
@types/jasmine@*(resolved as 3.6.3) but using ancestor(root package.json)'s 
dependency @types/jasmine@~2.8.8(resolved as 2.8.17)
   deprecate @angular/[email protected] › chokidar@^2.1.1 Chokidar 2 will 
break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
   deprecate @angular/[email protected][email protected] Please update to ini >=1.3.6 to 
avoid a prototype pollution issue
   deprecate @angular/[email protected][email protected] › fsevents@^1.2.7 
fsevents 1 will break on node v14+ and could be using insecure binaries. 
Upgrade to fsevents 2.
   deprecate ng-zorro-antd@^7.2.0 please
   deprecate @angular-devkit/[email protected][email protected] › 
request@^2.83.0 request has been deprecated, see 
https://github.com/request/request/issues/3142
   anti semver @angular-devkit/[email protected][email protected] › @types/[email protected] › @types/node@* 
delcares @types/node@*(resolved as 14.14.28) but using ancestor(root 
package.json)'s dependency @types/node@~8.9.4(resolved as 8.9.5)
   deprecate @angular-devkit/[email protected][email protected][email protected] › har-validator@~5.1.3 this
   deprecate [email protected] › @ant-design/icons-angular@^2.1.0 old
   Recently updated (since 2021-02-08): 7 packages (detail see file 
/Users/frost/workspace/myproject/apache/zip2/flink-master/flink-runtime-web/web-dashboard/node_modules/.recently_updates.txt)
   ✔ All packages installed (1172 packages installed from npm registry, used 
2m(network 12s), speed 379.64kB/s, json 998(3.34MB), tarball 1.03MB)
   ➜  web-dashboard cnpm run build
   
   > [email protected] build 
/Users/frost/workspace/myproject/apache/zip2/flink-master/flink-runtime-web/web-dashboard
   > ng build --prod --base-href ./
   
   
   Date: 2021-02-15T15:03:18.330Z
   Hash: f621484cd5a23ef8c6cf
   Time: 50126ms
   chunk {0} common.e7175cca8122827dc6b4.js (common) 11.5 kB  [rendered]
   chunk {1} 1.a351a2bebe7f98295b24.js () 81.1 kB  [rendered]
   chunk {2} runtime.8e9b919929a72572aa49.js (runtime) 2.46 kB [entry] 
[rendered]
   chunk {3} 3.286176395357e35fc24e.js () 11.6 kB  [rendered]
   chunk {4} 4.a21fd1cfedca22a1b13a.js () 12.9 kB  [rendered]
   chunk {5} 5.99911dee8b9f2ebf1ff0.js () 187 kB  [rendered]
   chunk {6} 6.a64ee3437c96e43514e7.js () 671 kB  [rendered]
   chunk {7} 7.85bc6ecfae715e20726a.js () 21.7 kB  [rendered]
   chunk {8} es2015-polyfills.950ec4f5a11b6ce5c1db.js (es2015-polyfills) 56.7 
kB [initial] [rendered]
   chunk {9} main.ce8fb0bf76f3e67e9500.js (main) 967 kB [initial] [rendered]
   chunk {10} polyfills.0334a6fa3917289678e1.js (polyfills) 40.9 kB [initial] 
[rendered]
   chunk {11} styles.0f89368e2506a0136dd8.css (styles) 420 kB [initial] 
[rendered]
   chunk {12} 12.77018600b792832122a3.js () 16.8 kB  [rendered]
   chunk {13} 13.05cdd5674a8d7a960214.js () 64.7 kB  [rendered]
   chunk {14} 14.4072456cebc577683f15.js () 164 kB  [rendered]
   chunk {15} 15.6333084f89a8300c3c70.js () 146 kB  [rendered]
   chunk {16} 16.a282b02bd4acd644783f.js () 45.1 kB  [rendered]
   chunk {17} 17.0f53e13514cce28f98c3.js () 99.5 kB  [rendered]
   
   WARNING in ./node_modules/_@[email protected]@@angular/core/fesm5/core.js 
18344:15-36
   System.import() is deprecated and will be removed soon. Use import() instead.
   For more info visit https://webpack.js.org/guides/code-splitting/
   
   WARNING in ./node_modules/_@[email protected]@@angular/core/fesm5/core.js 
18356:15-102
   System.import() is deprecated and will be removed soon. Use import() instead.
   For more info visit https://webpack.js.org/guides/code-splitting/
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to