I am getting build errors when I am trying to buil...
# troubleshoot
n
I am getting build errors when I am trying to build
datahub-frontend
image using the tag Here is the error 🧵 Any help on this would be great. Thanks!
✅ 1
Copy code
ARG ENABLE_EMBER="false"
ARG USE_SYSTEM_NODE="true"
 
./gradlew :datahub-frontend:dist -PenableEmber=${ENABLE_EMBER} -PuseSystemNode=${USE_SYSTEM_NODE} -x test -x yarnTest -x yarnLint
Copy code
> Task :datahub-web-react:yarnSetup FAILED

> Task :li-utils:generateDataTemplate
There are 33 data schema input files. Using input root folder: /Users/arun.vasudevan/Documents/workspace/temp/datahub-src/li-utils/src/main/pegasus
[main] INFO com.linkedin.pegasus.generator.DataTemplateGeneratorCmdLineApp - Generating 34 files

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':datahub-web-react:yarnSetup'.
> A problem occurred starting process 'command 'npm''
Copy code
Caused by: java.io.IOException: Cannot run program "npm" (in directory "/Users/arun.vasudevan/Documents/workspace/temp/datahub-src/datahub-web-react"): error=2, No such file or directory
g
Looks like a VPN related issue
Was able to build datahub as of 2 days ago master
n
Thanks Karthik. After building outside of VPN it worked.
a
Hello, unfortunately I have the same error on my VPN, and I have to build it on a VPN. Do you have any idea what is causing this ?
Well... I don't know if this will help somebody... But I have this error with : sudo ./gradlew build And it is ok with ./gradlew build Idk why the sudo make npm having problems...