Hi All, I am trying to build zeppelin source code offline , I mean to say without setting http,https proxies in npm.
Because as we are building on our own environment there proxies are not available only our art factories are available. So we are setting npm registry to point to our artifactory and set ssl to false. When I was building I am getting the following error for zeppelin-web module. Error is as follows. 18:48:53 [INFO] [4mRunning "htmlhint:src" (htmlhint) task[24m 18:48:53 [INFO] [32m>> [39m40 files lint free. 18:48:53 [INFO] 18:48:53 [INFO] [4mRunning "wiredep:test" (wiredep) task[24m 18:48:53 [INFO] [33mWarning: Error: Cannot find where you keep your Bower packages. Use --force to continue.[39m 18:48:53 [INFO] 18:48:53 [INFO] [31mAborted due to warnings.[39m 18:48:53 [INFO] 18:48:53 [INFO] 18:48:53 [INFO] Execution Time (2018-05-24 18:48:52 UTC) 18:48:53 [INFO] loading tasks 170ms ????????????????????????????????????????????????????????????????????? 48% 18:48:53 [INFO] htmlhint:src 76ms ????????????????????????????????? 21% 18:48:53 [INFO] wiredep:test 110ms ????????????????????????????????????????????? 31% 18:48:53 [INFO] Total 357ms 18:48:53 [INFO] 18:48:53 [ERROR] npm ERR! code ELIFECYCLE 18:48:53 [ERROR] npm ERR! errno 3 18:48:53 [ERROR] npm ERR! [email protected] build:dist: `npm-run-all prebuild && grunt pre-webpack-dist && webpack && grunt post-webpack-dist` 18:48:53 [ERROR] npm ERR! Exit status 3 18:48:53 [ERROR] npm ERR! 18:48:53 [ERROR] npm ERR! Failed at the [email protected] build:dist script. 18:48:53 [ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 18:48:53 [ERROR] 18:48:53 [ERROR] npm ERR! A complete log of this run can be found in: 18:48:53 [ERROR] npm ERR! /home/jenkins/.npm/_logs/2018-05-24T18_48_53_366Z-debug.log 18:48:53 [INFO] ------------------------------------------------------------------------ 18:48:53 [INFO] BUILD FAILURE 18:48:53 [INFO] ------------------------------------------------------------------------ 18:48:53 [INFO] Total time: 01:18 min 18:48:53 [INFO] Finished at: 2018-05-24T18:48:53+00:00 18:48:53 [INFO] Final Memory: 29M/833M 18:48:53 [INFO] ------------------------------------------------------------------------ 18:48:53 [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:npm (npm build) on project zeppelin-web: Failed to run task: 'npm run build:dist' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 3 (Exit value: 3) -> [Help 1] 18:48:53 [ERROR] 18:48:53 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 18:48:53 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 18:48:53 [ERROR] 18:48:53 [ERROR] For more information about the errors and possible solutions, please read the following articles: 18:48:53 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 18:48:53 /home/jenkins/workspace/CTO/CSF/Analytics/CSF-K8SZEPPELIN_CI Any idea why it has happening, or should we have to set something other than proxy to make build go through. Regards Naveen
