Failed to build Dremio UI Library (dremio-oss)

Hello,

I’m trying to build dremio-oss from dremio-oss source and run into the following message when mvn tries to build the Dremio UI Library:

ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.3:yarn (yarn install) on project dremio-ui-lib: Failed to run task: ‘yarn install --prefer-offline --no-audit --network-timeout 300000’ failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) → [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.3:yarn (yarn install) on project dremio-ui-lib: Failed to run task

According to readme.md, it looks like I only need Java & Maven as prerequisites to build. Any ideas?

Thanks for your time and attention to this matter.

-Benjamin

also need install nodejs & yarn

Thanks for the reply @rongfengliang . I did some digging into my logs, seems I had an issue with my xcode/command line tools installation (I’ve been building on MacOS Catalina):

gyp: No Xcode or CLT version.

I reinstalled the command line tools and I was able to proceed.

Best,
Benjamin