[ 
https://issues.apache.org/jira/browse/FLINK-18288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

appleyuchi updated FLINK-18288:
-------------------------------
    Comment: was deleted

(was:  

some unproper part by [~vthinkxie]

1.node-sass/v4.11.0/linux-x64-72_binding.node` is not the static file, the file 
position and name is determined *{color:#de350b}by your npm{color}* and node 
version dynamically, which means *{color:#de350b}that it will always have an 
error if you have installed unmatched node or npm version yourself. That is why 
it works fine in every other' and ci environment except yours{color}*.(just 
imagine that you have installed many different versions of maven and want them 
to work together in the same command line, which is impossible.)

 

*version defined by package.json*

*sub-version defined by node_modules/.../install.js*

 

*please understand that every one want to obey the matched node version.*

*but new linux system core don't always have that 
compatibility({color:#de350b}such as core dumped{color} from npm with 
flink-needed node.js)*

 

2.the node and npm version are managed by maven-frontend-plugin in the 
flink-runtime-web/pom.xml in isolated 
folders(flink-runtime-web/web-dashboard/node and 
flink-runtime-web/web-dashboard/node_modules), if you want to manage it 
yourself(try to run npm ci or npm install yourself), *DON'T DO THIS* until you 
have full knowledge of npm and node package, it would mess up the isolated env 
of node and npm.

{color:#de350b}*it's not a must to have full knowlege to build this,just 3 
steps in above link.*{color}
 # plz have a try to remove all your `flink-runtime-web/web-dashboard/node` and 
`flink-runtime-web/web-dashboard/node_modules` caches in the 
flink-runtime-web/web-dashboard and have a try again.)

> 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)

Reply via email to