Unable to build dremio from source (Linux)

I am trying to build from source but getting following error. Also i am attaching log file.


[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 2
[ERROR] npm ERR! dremio-ui@1.0.0 build: npm run lint && NODE_ENV=production webpack --bail "$@" "--output-path=/home/deb/Documents/dremio/dremio-oss-master/dac/ui/target/classes/rest/dremio_static"
[ERROR] npm ERR! Exit status 2
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the dremio-ui@1.0.0 build script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR! /home/deb/.npm/_logs/2019-02-11T07_51_53_010Z-debug.log
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 2
[ERROR] npm ERR! dremio-ui@1.0.0 buildprod: DREMIO_MINIFY=true npm run build -- '$@' "--output-path=/home/deb/Documents/dremio/dremio-oss-master/dac/ui/target/classes/rest/dremio_static"
[ERROR] npm ERR! Exit status 2
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the dremio-ui@1.0.0 buildprod script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR! /home/deb/.npm/_logs/2019-02-11T07_51_58_640Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Analyst Center - UI 3.1.1-201901281837140761-30c9d74:
[INFO]
[INFO] Analyst Center - UI … FAILURE [07:38 min]
[INFO] Plugins - S3 Plugin … SKIPPED
[INFO] Plugins - Elasticsearch Plugin … SKIPPED
[INFO] Plugins - Mongo Plugin … SKIPPED
[INFO] Plugins - Hive Plugin … SKIPPED
[INFO] Plugins - HBase Plugin … SKIPPED
[INFO] Plugins - JDBC Plugin … SKIPPED
[INFO] Analyst Center - daemon … SKIPPED
[INFO] Distribution - Parent … SKIPPED
[INFO] Distribution - Scripts and Resources … SKIPPED
[INFO] Distribution - All-in-one JDBC JAR … SKIPPED
[INFO] Distribution - Server Packaging … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:40 min
[INFO] Finished at: 2019-02-11T13:21:59+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (build minimized webpack bundle) on project dremio-dac-ui: Failed to run task: ‘npm run buildprod – --output-path=/home/deb/Documents/dremio/dremio-oss-master/dac/ui/target/classes/rest/dremio_static’ failed. (error code 2) -> [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

1 Like

I’m facing the same error. did you manage to solve it?

Hi there @puspitab, does rebuilding fix the problem?

no. it didn’t solve anything