flink1.11 버전 문제 요약

2423 단어 flink

1. npm 문제 해결


1.1 오류는 다음과 같다.
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm install) on project flink-runtime-web_2.11: Failed to run task: 'npm ci --cache-max=0 --no-save --registry=https://registry.npm.taobao.org' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1] [ERROR]  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR]  [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR]  [ERROR] After correcting the problems, you can resume the build with the command [ERROR]   mvn -rf :flink-runtime-web_2.11
1.2 솔루션
mac 설치 npm
brew install node
mac 설치 angular cli
npm install -g @angular/cli 
flink-runtime-web의pom 파일을 열고node와npm 렌즈를 추가합니다

   com.github.eirslett
   frontend-maven-plugin
   1.6
   
      
         install node and npm
         
            install-node-and-npm
         
         
            https://registry.npm.taobao.org/dist/
            https://registry.npmjs.org/npm/-/
            v10.9.0
         
      
      
         npm install
         
            npm
         
         
            ci --cache-max=0 --no-save
            
               true
            
         
      
      
         npm run build
         
            npm
         
         
            run build
         
      
   
   
      web-dashboard
   

다시 컴파일, 성공!

좋은 웹페이지 즐겨찾기