https://datahubproject.io logo
#all-things-deployment
Title
# all-things-deployment
c

creamy-van-28626

06/13/2022, 7:39 AM
Hi team What's the value of build platform for frontend image?
c

creamy-van-28626

06/14/2022, 1:53 PM
Okay We are trying to build this frontend image locally but while building this we are getting these errors Please refer: root@ubuntu-server:~/mb/test-datahub# ./gradlew datahub frontenddist -PenableEmber=${ENABLE_EMBER} -PuseSystemNode=${USE_SYSTEM_NODE} -x test -x yarnTest -x yarnLint Configuration on demand is an incubating feature. FAILURE: Build failed with an exception. • Where: Script '/root/mb/test-datahub/datahub-frontend/play.gradle' line: 35 • What went wrong: A problem occurred evaluating script.
Cannot convert a null value to an object of type Dependency.
The following types/formats are supported: • Instances of Dependency. • String or CharSequence values, for example 'org.gradlegradle core1.0'. • Maps, for example [group: 'org.gradle', name: 'gradle-core', version: '1.0']. • FileCollections, for example files('some.jar', 'someOther.jar'). • Projects, for example project('someproject:path'). • ClassPathNotation, for example gradleApi(). Comprehensive documentation on dependency notations is available in DSL reference for DependencyHandler type. • 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 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings
Can you please help us ?
b

big-carpet-38439

06/14/2022, 6:22 PM
Wow i've not seen this before. cc @orange-night-91387
Did you make any changes to build.gradle?
And can you try this:
Copy code
./gradlew :datahub-frontend:dist -x test -x yarnTest -x yarnLint
c

creamy-van-28626

06/14/2022, 7:25 PM
Yup I made change build.gradle
s

square-activity-64562

06/15/2022, 4:33 AM
This
Copy code
Script '/root/mb/test-datahub/datahub-frontend/play.gradle' line: 35
and
Copy code
Cannot convert a null value to an object of type Dependency.
shows us that for anyone to be able to help you will have to tell specifically what changes you made to line 35. of
play.gradle
which you have not shared with us. @creamy-van-28626 Please keep in mind if your org is forking DataHub internally the team's ability to support you is limited as we cannot reproduce the changes you made on our own. If there is any error that happens due to these changes request you to please share the full set of changes (with line numbers), the reasoning for the change so we have context.
c

creamy-van-28626

06/15/2022, 6:33 AM
Okay let me share that as well
6 Views