What is the recommended version of jdk, node and y...
# troubleshoot
r
What is the recommended version of jdk, node and yarn for building gms and frontend. Is there a way to check this for each release ? Commands used for build
Copy code
./gradlew  :datahub-frontend:docker
./gradlew :metadata-service:war:build
# Datahub version: v0.9.6.1 Problem: yarn tests are failing with node v14.15.5 and yarn 3.5.0. Also if i download the source code of a release and execute frontend build then is see this error/warning. Can this be ignored ?
Copy code
> Configure project :metadata-auth:auth-api
Caused by: java.lang.IllegalArgumentException: Cannot find '.git' directory
1
r
upgrading node to v16.19.1 fixed it.
Copy code
Cannot find '.git' directory
above error results in creation of an image tagged as 0.0.0-unknown-SNAPSHOT instead of the tag (v0.9.6.1) that i am working with.
b
You mentioned you downloaded the release code. But in this case I think it expects a repo when building, hence the message. Can you try to git init and see if it goes away
r
Yes the error goes away. Thank you for the help.