Hi Team, I am trying to locally build airbyte. Rec...
# connector-development
e
Hi Team, I am trying to locally build airbyte. Receiving this error:
In the thread.
h
Copy code
$  SUB_BUILD=PLATFORM ./gradlew build

MinioS3ClientFactoryTest > testMinioEndpointMissing() PASSED

> Task :airbyte-webapp:npm_run_build

> airbyte-webapp@0.35.23-alpha build
> react-scripts build

Failed to compile.

EACCES: permission denied, copyfile '/home/ec2-user/airbyte/airbyte-webapp/public/cactus.png' -> '/home/ec2-user/airbyte/airbyte-webapp/build/cactus.png'



> Task :airbyte-webapp:npm_run_build FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':airbyte-webapp:npm_run_build'.
> Process 'command '/home/ec2-user/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.13.0-linux-x64/bin/npm'' 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 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See <https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings>

Execution optimizations have been disabled for 10 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD FAILED in 23m 5s
208 actionable tasks: 208 executed
Gradle was unable to watch the file system for changes. The inotify watches limit is too low.
t
Please make sure you have all the techs to build Airbyte locally: https://docs.airbyte.com/contributing-to-airbyte/developing-locally
n
yeah, I already installed all the dependencies for airbyte. In error its saying : Not able to copy /…/cactus.png to /…/build/cactus.png
Copy code
EACCES: permission denied, copyfile '/home/ec2-user/airbyte/airbyte-webapp/public/cactus.png' -> '/home/ec2-user/airbyte/airbyte-webapp/build/cactus.png'
Hey do you want to build complete Airbyte or is there something specific piece you want to build ?
j
I want to test kafka connector but i dont know to test individual connector. So, i was building the complete Airbyte and it was failing in building airbyte:webapp docker image as it was not able to copy one file
cactus.png
You can directly run airbyte using docker-compose that didn't make sense?