An error occurs when building the datahub-frontend...
# troubleshoot
b
An error occurs when building the datahub-frontend docker image on EC2. I'm trying the docker image build by below command. "COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -p datahub build --no-cache datahub-frontend-react" And the build fails with the following errors. Does anyone have the same problem? And the strange thing is that if I run the below build command described in the Dockerfile without building the docker image, it builds without any problem. "./gradlew datahub web reactbuild -x test -x yarnTest -x yarnLint" "./gradlew datahub frontenddist -PuseSystemNode=${USE_SYSTEM_NODE} -x test -x yarnTest -x yarnLint" Thanks. Errors: => [prod-build 16/16] RUN cd datahub-src && ./gradlew datahub web reactbuild -x test -x yarnTest -x yarnLint --debug --refresh-dependencies && ./gradlew :datahub-frontend 711.9s #0 101.2 2022-11-16T003015.491+0000 [ERROR] [system.err] Caused by: java.lang.IllegalArgumentException: Cannot find '.git' directory #0 161.9 2022-11-16T003116.334+0000 [ERROR] [system.err] warning " > @cypress/webpack-preprocessor@5.8.0" has unmet peer dependency "@babel/core@^7.0.1". #0 161.9 2022-11-16T003116.334+0000 [ERROR] [system.err] warning " > @cypress/webpack-preprocessor@5.8.0" has unmet peer dependency "@babel/preset-env@^7.0.0". #0 161.9 2022-11-16T003116.334+0000 [ERROR] [system.err] warning " > @cypress/webpack-preprocessor@5.8.0" has unmet peer dependency "webpack@^4.18.1". #0 161.9 2022-11-16T003116.334+0000 [ERROR] [system.err] warning " > @data-ui/xy-chart@0.0.84" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.334+0000 [ERROR] [system.err] warning " > @data-ui/xy-chart@0.0.84" has incorrect peer dependency "react-dom@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.335+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @data-ui/shared@0.0.84" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.335+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @data-ui/shared@0.0.84" has incorrect peer dependency "react-dom@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.335+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/axis@0.0.175" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.335+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/glyph@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.335+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/gradient@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.336+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/grid@0.0.180" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/group@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/pattern@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/responsive@0.0.192" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/shape@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/stats@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/text@0.0.192" has incorrect peer dependency "react@^16.3.0-0". #0 161.9 2022-11-16T003116.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/threshold@0.0.170" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/tooltip@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/voronoi@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @data-ui/shared > @vx/shape@0.0.168" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/axis > @vx/group@0.0.170" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.338+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/axis > @vx/shape@0.0.175" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.338+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/axis > @vx/text@0.0.175" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.338+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/grid > @vx/shape@0.0.179" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.339+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/threshold > @vx/clip-path@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.339+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/threshold > @vx/shape@0.0.170" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.339+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/tooltip > @vx/bounds@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.339+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/tooltip > @vx/bounds@0.0.165" has incorrect peer dependency "react-dom@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.340+0000 [ERROR] [system.err] warning " > @testing-library/user-event@12.8.3" has unmet peer dependency "@testing-library/dom@>=7.21.4". #0 161.9 2022-11-16T003116.343+0000 [ERROR] [system.err] warning " > @visx/drag@1.7.4" has incorrect peer dependency "react@^16.8.0-0". #0 161.9 2022-11-16T003116.343+0000 [ERROR] [system.err] warning " > @visx/responsive@1.10.1" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.343+0000 [ERROR] [system.err] warning " > @vx/axis@0.0.199" has incorrect peer dependency "react@^16.3.0-0". #0 161.9 2022-11-16T003116.343+0000 [ERROR] [system.err] warning " > @vx/group@0.0.199" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.344+0000 [ERROR] [system.err] warning " > @vx/shape@0.0.199" has incorrect peer dependency "react@^16.3.0-0". #0 161.9 2022-11-16T003116.344+0000 [ERROR] [system.err] warning "@vx/axis > @vx/text@0.0.199" has incorrect peer dependency "react@^16.3.0-0". #0 161.9 2022-11-16T003116.344+0000 [ERROR] [system.err] warning " > @vx/gradient@0.0.199" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.344+0000 [ERROR] [system.err] warning " > @vx/grid@0.0.199" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.344+0000 [ERROR] [system.err] warning " > @vx/hierarchy@0.0.199" has incorrect peer dependency "react@^16.3.0-0". #0 161.9 2022-11-16T003116.344+0000 [ERROR] [system.err] warning " > @vx/legend@0.0.199" has incorrect peer dependency "react@^16.3.0-0". #0 161.9 2022-11-16T003116.344+0000 [ERROR] [system.err] warning " > @vx/zoom@0.0.199" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0". #0 161.9 2022-11-16T003116.344+0000 [ERROR] [system.err] warning "analytics > @analytics/core > analytics-utils@0.4.4" has unmet peer dependency "@types/dlv@^1.0.0". #0 161.9 2022-11-16T003116.344+0000 [ERROR] [system.err] warning "antd > rc-picker@2.5.10" has unmet peer dependency "dayjs@^1.8.30". #0 161.9 2022-11-16T003116.346+0000 [ERROR] [system.err] warning " > craco-antd@1.19.0" has incorrect peer dependency "@craco/craco@^5.5.0". #0 161.9 2022-11-16T003116.346+0000 [ERROR] [system.err] warning " > craco-antd@1.19.0" has incorrect peer dependency "react-scripts@^3.4.3". #0 161.9 2022-11-16T003116.346+0000 [ERROR] [system.err] warning "craco-antd > craco-less@1.17.0" has incorrect peer dependency "@craco/craco@^5.5.0". #0 161.9 2022-11-16T003116.346+0000 [ERROR] [system.err] warning "craco-antd > craco-less@1.17.0" has incorrect peer dependency "react-scripts@^3.3.0". #0 161.9 2022-11-16T003116.346+0000 [ERROR] [system.err] warning "craco-antd > craco-less > less-loader@6.2.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0". #0 161.9 2022-11-16T003116.347+0000 [ERROR] [system.err] warning " > graphql-tag@2.10.3" has incorrect peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0". #0 161.9 2022-11-16T003116.347+0000 [ERROR] [system.err] warning "graphql.macro > babel-literal-to-ast@2.1.0" has unmet peer dependency "@babel/core@^7.1.2". #0 161.9 2022-11-16T003116.348+0000 [ERROR] [system.err] warning " > react-highlighter@0.4.3" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0". #0 162.0 2022-11-16T003116.364+0000 [ERROR] [system.err] warning " > styled-components@5.3.0" has unmet peer dependency "react-is@>= 16.8.0". #0 162.0 2022-11-16T003116.370+0000 [ERROR] [system.err] warning " > babel-loader@8.2.2" has unmet peer dependency "@babel/core@^7.0.0". #0 162.0 2022-11-16T003116.370+0000 [ERROR] [system.err] warning " > babel-loader@8.2.2" has unmet peer dependency "webpack@>=2". #0 162.0 2022-11-16T003116.370+0000 [ERROR] [system.err] warning " > copy-webpack-plugin@6.4.1" has unmet peer dependency "webpack@^4.37.0 || ^5.0.0". #0 162.0 2022-11-16T003116.370+0000 [ERROR] [system.err] warning "eslint-config-airbnb-typescript > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-import@^2.22.1". #0 162.0 2022-11-16T003116.370+0000 [ERROR] [system.err] warning "eslint-config-airbnb-typescript > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-jsx-a11y@^6.4.1". #0 162.0 2022-11-16T003116.370+0000 [ERROR] [system.err] warning "eslint-config-airbnb-typescript > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0". #0 162.0 2022-11-16T003116.370+0000 [ERROR] [system.err] warning "eslint-config-airbnb-typescript > eslint-config-airbnb-base@14.2.1" has unmet peer dependency "eslint-plugin-import@^2.22.1".
i
Hello June, DataHub docker images are built from the source: https://github.com/datahub-project/datahub/blob/1ffd24131ee40ef4eedb4032828f82ba6a90215c/docker/datahub-frontend/Dockerfile#L25 Did you clone the DataHub git repo?
b
Hello Pedro,
Yes, of course. I cloned the source from the Datahub git repo, set it up on a clear ubuntu and proceeded with the build.
i
What git branch & commit are you on? Did you try and compile the frontend code beforehand? See https://datahubproject.io/docs/developers
b
Hi, Silva. Thanks for your reply. To clarify the problem, I will explain step by step what I have done. My purpose is to build the Frontend as a Docker Image and push it to AWS ECR. So, I cloned from the Datahub github repo and checked out with the tag and excute the docker-compose as below. The Build environment looks like this: - Host: EC2 Amazon Linux 2 - Java: openjdk 11.0.16 2022-07-19 LTS - docker-compose: v2.11.2 - docker: 20.10.17, build 100c701
Copy code
git clone <https://github.com/datahub-project/datahub.git>
git checkout tags/v0.9.2
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -p datahub build --no-cache datahub-frontend-react
After doing this, the following build error occurs. Can you please check if I am doing something wrong?
Copy code
Errors:
 => [prod-build 16/16] RUN cd datahub-src     && ./gradlew :datahub-web-react:build -x test -x yarnTest -x yarnLint --debug --refresh-dependencies     && ./gradlew :datahub-frontend  711.9s

#0 101.2 2022-11-16T00:30:15.491+0000 [ERROR] [system.err] Caused by: java.lang.IllegalArgumentException: Cannot find '.git' directory
#0 161.9 2022-11-16T00:31:16.334+0000 [ERROR] [system.err] warning " > @cypress/webpack-preprocessor@5.8.0" has unmet peer dependency "@babel/core@^7.0.1".
#0 161.9 2022-11-16T00:31:16.334+0000 [ERROR] [system.err] warning " > @cypress/webpack-preprocessor@5.8.0" has unmet peer dependency "@babel/preset-env@^7.0.0".
#0 161.9 2022-11-16T00:31:16.334+0000 [ERROR] [system.err] warning " > @cypress/webpack-preprocessor@5.8.0" has unmet peer dependency "webpack@^4.18.1".
#0 161.9 2022-11-16T00:31:16.334+0000 [ERROR] [system.err] warning " > @data-ui/xy-chart@0.0.84" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.334+0000 [ERROR] [system.err] warning " > @data-ui/xy-chart@0.0.84" has incorrect peer dependency "react-dom@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.335+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @data-ui/shared@0.0.84" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.335+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @data-ui/shared@0.0.84" has incorrect peer dependency "react-dom@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.335+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/axis@0.0.175" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.335+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/glyph@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.335+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/gradient@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.336+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/grid@0.0.180" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/group@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/pattern@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/responsive@0.0.192" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/shape@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/stats@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/text@0.0.192" has incorrect peer dependency "react@^16.3.0-0".
#0 161.9 2022-11-16T00:31:16.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/threshold@0.0.170" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/tooltip@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/voronoi@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @data-ui/shared > @vx/shape@0.0.168" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.337+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/axis > @vx/group@0.0.170" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.338+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/axis > @vx/shape@0.0.175" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.338+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/axis > @vx/text@0.0.175" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.338+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/grid > @vx/shape@0.0.179" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.339+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/threshold > @vx/clip-path@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.339+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/threshold > @vx/shape@0.0.170" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.339+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/tooltip > @vx/bounds@0.0.165" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.339+0000 [ERROR] [system.err] warning "@data-ui/xy-chart > @vx/tooltip > @vx/bounds@0.0.165" has incorrect peer dependency "react-dom@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.340+0000 [ERROR] [system.err] warning " > @testing-library/user-event@12.8.3" has unmet peer dependency "@testing-library/dom@>=7.21.4".
#0 161.9 2022-11-16T00:31:16.343+0000 [ERROR] [system.err] warning " > @visx/drag@1.7.4" has incorrect peer dependency "react@^16.8.0-0".
#0 161.9 2022-11-16T00:31:16.343+0000 [ERROR] [system.err] warning " > @visx/responsive@1.10.1" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.343+0000 [ERROR] [system.err] warning " > @vx/axis@0.0.199" has incorrect peer dependency "react@^16.3.0-0".
#0 161.9 2022-11-16T00:31:16.343+0000 [ERROR] [system.err] warning " > @vx/group@0.0.199" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.344+0000 [ERROR] [system.err] warning " > @vx/shape@0.0.199" has incorrect peer dependency "react@^16.3.0-0".
#0 161.9 2022-11-16T00:31:16.344+0000 [ERROR] [system.err] warning "@vx/axis > @vx/text@0.0.199" has incorrect peer dependency "react@^16.3.0-0".
#0 161.9 2022-11-16T00:31:16.344+0000 [ERROR] [system.err] warning " > @vx/gradient@0.0.199" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.344+0000 [ERROR] [system.err] warning " > @vx/grid@0.0.199" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.344+0000 [ERROR] [system.err] warning " > @vx/hierarchy@0.0.199" has incorrect peer dependency "react@^16.3.0-0".
#0 161.9 2022-11-16T00:31:16.344+0000 [ERROR] [system.err] warning " > @vx/legend@0.0.199" has incorrect peer dependency "react@^16.3.0-0".
#0 161.9 2022-11-16T00:31:16.344+0000 [ERROR] [system.err] warning " > @vx/zoom@0.0.199" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".
#0 161.9 2022-11-16T00:31:16.344+0000 [ERROR] [system.err] warning "analytics > @analytics/core > analytics-utils@0.4.4" has unmet peer dependency "@types/dlv@^1.0.0".
#0 161.9 2022-11-16T00:31:16.344+0000 [ERROR] [system.err] warning "antd > rc-picker@2.5.10" has unmet peer dependency "dayjs@^1.8.30".
#0 161.9 2022-11-16T00:31:16.346+0000 [ERROR] [system.err] warning " > craco-antd@1.19.0" has incorrect peer dependency "@craco/craco@^5.5.0".
#0 161.9 2022-11-16T00:31:16.346+0000 [ERROR] [system.err] warning " > craco-antd@1.19.0" has incorrect peer dependency "react-scripts@^3.4.3".
#0 161.9 2022-11-16T00:31:16.346+0000 [ERROR] [system.err] warning "craco-antd > craco-less@1.17.0" has incorrect peer dependency "@craco/craco@^5.5.0".
#0 161.9 2022-11-16T00:31:16.346+0000 [ERROR] [system.err] warning "craco-antd > craco-less@1.17.0" has incorrect peer dependency "react-scripts@^3.3.0".
#0 161.9 2022-11-16T00:31:16.346+0000 [ERROR] [system.err] warning "craco-antd > craco-less > less-loader@6.2.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
#0 161.9 2022-11-16T00:31:16.347+0000 [ERROR] [system.err] warning " > graphql-tag@2.10.3" has incorrect peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
#0 161.9 2022-11-16T00:31:16.347+0000 [ERROR] [system.err] warning "graphql.macro > babel-literal-to-ast@2.1.0" has unmet peer dependency "@babel/core@^7.1.2".
#0 161.9 2022-11-16T00:31:16.348+0000 [ERROR] [system.err] warning " > react-highlighter@0.4.3" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
#0 162.0 2022-11-16T00:31:16.364+0000 [ERROR] [system.err] warning " > styled-components@5.3.0" has unmet peer dependency "react-is@>= 16.8.0".
#0 162.0 2022-11-16T00:31:16.370+0000 [ERROR] [system.err] warning " > babel-loader@8.2.2" has unmet peer dependency "@babel/core@^7.0.0".
#0 162.0 2022-11-16T00:31:16.370+0000 [ERROR] [system.err] warning " > babel-loader@8.2.2" has unmet peer dependency "webpack@>=2".
#0 162.0 2022-11-16T00:31:16.370+0000 [ERROR] [system.err] warning " > copy-webpack-plugin@6.4.1" has unmet peer dependency "webpack@^4.37.0 || ^5.0.0".
#0 162.0 2022-11-16T00:31:16.370+0000 [ERROR] [system.err] warning "eslint-config-airbnb-typescript > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-import@^2.22.1".
#0 162.0 2022-11-16T00:31:16.370+0000 [ERROR] [system.err] warning "eslint-config-airbnb-typescript > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-jsx-a11y@^6.4.1".
#0 162.0 2022-11-16T00:31:16.370+0000 [ERROR] [system.err] warning "eslint-config-airbnb-typescript > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0".
#0 162.0 2022-11-16T00:31:16.370+0000 [ERROR] [system.err] warning "eslint-config-airbnb-typescript > eslint-config-airbnb-base@14.2.1" has unmet peer dependency "eslint-plugin-import@^2.22.1".
i
Prior to building the docker image I think you must the compile the project at least once. Run:
./gradlew clean build -x test
and build the docker image.