Map
06/09/2021, 5:04 PMdocker build
to work although it compiles on my local computer. For example, if I do ./docker-build.sh pinot
under docker/images/pinot/docker-build.sh
, it fails when compiling pinot-controller
, and the error is
#12 241.2 [INFO] --- frontend-maven-plugin:1.1:npm (npm run-script build) @ pinot-controller ---
#12 241.2 [INFO] Running 'npm run-script build' in /opt/pinot-build/pinot-controller/src/main/resources
#12 241.4 [INFO]
#12 241.4 [INFO] > pinot-controller-ui@1.0.0 build /opt/pinot-build/pinot-controller/src/main/resources
#12 241.4 [INFO] > webpack --mode production
#12 241.4 [INFO]
#12 257.6 [ERROR] Killed
#12 257.6 [ERROR] npm ERR! code ELIFECYCLE
#12 257.6 [ERROR] npm ERR! errno 137
#12 257.6 [ERROR] npm ERR! pinot-controller-ui@1.0.0 build: `webpack --mode production`
#12 257.6 [ERROR] npm ERR! Exit status 137
#12 257.6 [ERROR] npm ERR!
#12 257.6 [ERROR] npm ERR! Failed at the pinot-controller-ui@1.0.0 build script.
#12 257.6 [ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
#12 257.6 [ERROR]
#12 257.6 [ERROR] npm ERR! A complete log of this run can be found in:
#12 257.6 [ERROR] npm ERR! /root/.npm/_logs/2021-06-09T16_55_54_192Z-debug.log
...
#12 264.0 [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.1:npm (npm run-script build) on project pinot-controller: Failed to run task: 'npm run-script build' failed. (error code 137) -> [Help 1]
#12 264.0 [ERROR]
#12 264.0 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#12 264.0 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#12 264.0 [ERROR]
#12 264.0 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#12 264.0 [ERROR] [Help 1] <http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException>
#12 264.0 [ERROR]
#12 264.0 [ERROR] After correcting the problems, you can resume the build with the command
#12 264.0 [ERROR] mvn <args> -rf :pinot-controller
Am I missing something obvious? Not sure if someone else can reproduce it.Jackie
06/09/2021, 5:53 PMMap
06/09/2021, 6:47 PM