best-napkin-60434
11/16/2022, 1:21 AMincalculable-ocean-74010
11/16/2022, 12:21 PMbest-napkin-60434
11/17/2022, 12:14 AMbest-napkin-60434
11/17/2022, 12:17 AMincalculable-ocean-74010
11/17/2022, 10:56 AMbest-napkin-60434
11/23/2022, 5:21 AMgit 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?
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".incalculable-ocean-74010
11/23/2022, 11:46 AM./gradlew clean build -x test and build the docker image.