Hi,dear friend:
there is a problem happened in the compiling the dremio2.16 .
in the maven task Analyst Center - UI dremio-dac-ui
error info:
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (build minimized webpack bundle) on project dremio-dac-ui: Failed to run task: ‘npm run buildprod – --output-path=/opt/tools/dremio/dac/ui/target/classes/rest/dremio_static’ failed. (error code 2) -> [Help 1]
detail bug log
1 verbose cli ‘–output-path=/opt/tools/dremio/dac/ui/target/classes/rest/dremio_static’ ]
2 info using npm@5.5.1
3 info using node@v8.9.3
4 verbose run-script [ ‘prebuildprod’, ‘buildprod’, ‘postbuildprod’ ]
5 info lifecycle dremio-ui@1.0.0~prebuildprod: dremio-ui@1.0.0
6 info lifecycle dremio-ui@1.0.0~buildprod: dremio-ui@1.0.0
7 verbose lifecycle dremio-ui@1.0.0~buildprod: unsafe-perm in lifecycle true
8 verbose lifecycle dremio-ui@1.0.0~buildprod: PATH: /opt/node-v8.9.3-linux-x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/tools/dremio/dac/ui/node_modules/.bin:/opt/jdk1.8.0_91/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/node-v8.9.3-linux-x64/bin:/root/bin
9 verbose lifecycle dremio-ui@1.0.0~buildprod: CWD: /opt/tools/dremio/dac/ui
10 silly lifecycle dremio-ui@1.0.0~buildprod: Args: [ ‘-c’,
10 silly lifecycle 'DREMIO_MINIFY=true npm run build – ‘@\' "--output-path=/opt/tools/dremio/dac/ui/target/classes/rest/dremio_static"' ]
11 silly lifecycle dremio-ui@1.0.0~buildprod: Returned: code: 2 signal: null
12 info lifecycle dremio-ui@1.0.0~buildprod: Failed to exec buildprod script
13 verbose stack Error: dremio-ui@1.0.0 buildprod: `DREMIO_MINIFY=true npm run build -- '@’ "–output-path=/opt/tools/dremio/dac/ui/target/classes/rest/dremio_static"13 verbose stack Exit status 2 13 verbose stack at EventEmitter.<anonymous> (/opt/node-v8.9.3-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16) 13 verbose stack at emitTwo (events.js:126:13) 13 verbose stack at EventEmitter.emit (events.js:214:7) 13 verbose stack at ChildProcess.<anonymous> (/opt/node-v8.9.3-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at emitTwo (events.js:126:13) 13 verbose stack at ChildProcess.emit (events.js:214:7) 13 verbose stack at maybeClose (internal/child_process.js:925:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) 14 verbose pkgid dremio-ui@1.0.0 15 verbose cwd /opt/tools/dremio/dac/ui 16 verbose Linux 3.10.0-693.el7.x86_64 17 verbose argv "/opt/node-v8.9.3-linux-x64/bin/node" "/opt/node-v8.9.3-linux-x64/bin/npm" "run" "buildprod" "--" "--output-path=/opt/tools/dremio/dac/ui/target/classes/rest/dremio_static" 18 verbose node v8.9.3 19 verbose npm v5.5.1 20 error code ELIFECYCLE 21 error errno 2 22 error dremio-ui@1.0.0 buildprod:
DREMIO_MINIFY=true npm run build – ‘$@’ “–output-path=/opt/tools/dremio/dac/ui/target/classes/rest/dremio_static”`
22 error Exit status 2
23 error Failed at the dremio-ui@1.0.0 buildprod script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]