When attempting to build from source on the master...
# ui
i
When attempting to build from source on the master git branch, HEAD commit: b3dfa1e4
2056 | Change dataset lineage pendulum animation component (#2061)
I get the following gradle error:
Copy code
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':datahub-web:emberBuild'.
> Process 'command '/home/pedro/dev/datahub/datahub-web/build/yarn/yarn-v1.13.0/bin/yarn'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at <https://help.gradle.org>

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See <https://docs.gradle.org/5.6.4/userguide/command_line_interface.html#sec:command_line_warnings>

BUILD FAILED in 21s
125 actionable tasks: 115 executed, 10 up-to-date
g
have you run
yarn install
first?
you likely will need to install npm at least- not sure about node but I suspect so
i
I have neither node, yarn nor npm
Is there a particular version requirement?
g
i have node 15.6.0, npm 7.4.0 and yarn 1.22.10
🙌 1
i
I've downloaded the latest Node LTS version (v14.15.4), npm (v6.14.10) and yarn (v1.22.10), still have the same build error. Does not seem to have made a difference.
stack trace is the same
g
can you run
yarn install
inside
datahub-web
?
and let me know what the output of that command is
i
running... clearly doing more than what
./gradlew build
managed to do, currently building packages (and downloading stuff I imagine)
g
yep- what yarn install is doing is going through the yarn.lock file and downloading every dependency listed in your package.json along with all their dependencies
b
The idea is that you don't have to have yarn, node, etc installed for the build to work. If it's not building properly there is likely some step missing (maybe yarn install) in the gradle build process for datahub-web
g
yeah- i think it actually may be some issue with Pedro's ports, looking in the thread below thats where the error started happening after installing everything