[ https://issues.apache.org/jira/browse/FLINK-18288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136281#comment-17136281 ]
appleyuchi edited comment on FLINK-18288 at 6/16/20, 4:21 AM: -------------------------------------------------------------- *-----------------------------------some basics-----------------------------------* *npm -> package.json/package-lock.json* is just like *mvn -> pom.xml* *npm->node.js* is just like *mvn->java* #-----------------------------*npm dependency file relation*------------------------------------ npm ci -cache-max=0 --nosave (package-lock.json) npm run build(package.json) *#------------------------------------isolated node.js environment-----------------------------------* *npm build an* *isolated node.js environment* *in Flink* node.js version is v10.9.0 *maybe you will say:why don't you compile it separately?* Because My Ubuntu Desktop is 19.10, nvm with node.js(v10.9.0)is incompatible with the Anular needed. #----------------------------*-the structure of Flink Building*-*--*----------------------------------- There are two kinds of buid in the building of Flink They mix *npm build* into *mvn build.* was (Author: appleyuchi): *-----------------------------------some basics-----------------------------------* *npm -> package.json/package-lock.json* is just like *mvn -> pom.xml* *npm->node.js* is just like *mvn->java* #------------------------------*npm dependency file relation*------------------------------------- npm _ci_ --cache-max=0 --_no_-_save_ (package-lock.json) npm run build(package.json) *#------------------------------------isolated node.js environment-----------------------------------* *npm build an* *isolated node.js environment* *in Flink* node.js version is v10.9.0 *maybe you will say:why don't you compile it separately?* Because My Ubuntu Desktop is 19.10, nvm with node.js(v10.9.0)is incompatible with the Anular needed. #----------------------------*-the structure of Flink Building--*------------------------------------ There are two kinds of buid in the building of Flink They mix *npm build* into *mvn build.* > WEB UI failure in Flink1.12 > --------------------------- > > Key: FLINK-18288 > URL: https://issues.apache.org/jira/browse/FLINK-18288 > Project: Flink > Issue Type: Bug > Affects Versions: 1.12.0 > Reporter: appleyuchi > Priority: Major > > > > ①build command: > *mvn clean install -T 2C -DskipTests -Dskip.npm -Dmaven.compile.fork=true* > > ②use flink-conf.yaml from 1.1o.1 in 1.12 > masters: > Desktop:8082 > > slaves: > Desktop > Laptop > ③$FLINK_HOME/bin/start-cluster.sh > > > ④open browser in: > Desktop:8082 > {"errors":["Unable to load requested file /index.html."]} > > > > -- This message was sent by Atlassian Jira (v8.3.4#803005)