I am trying to run clean install on Graylog 4.1.0 version downloaded from site Releases · Graylog2/graylog2-server · GitHub in Intellij IDE .
Getting following error : [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.9.1:yarn (yarn install) on project graylog2-server: Failed to run task: ‘yarn install’ failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1
JDK version : jdk1.8.0_221
Intellij version : IntelliJ IDEA 2020.1
These are the logs
“C:\Program Files\Java\jdk1.8.0_221\bin\java.exe” -Dmaven.multiModuleProjectDirectory=D:\Workspace\Graylog\graylog2-server-4.1.0 “-Dmaven.home=D:\IntelliJ IDEA 2020.1\plugins\maven\lib\maven3” “-Dclassworlds.conf=D:\IntelliJ IDEA 2020.1\plugins\maven\lib\maven3\bin\m2.conf” “-Dmaven.ext.class.path=D:\IntelliJ IDEA 2020.1\plugins\maven\lib\maven-event-listener.jar” “-javaagent:D:\IntelliJ IDEA 2020.1\lib\idea_rt.jar=59016:D:\IntelliJ IDEA 2020.1\bin” -Dfile.encoding=UTF-8 -classpath “D:\IntelliJ IDEA 2020.1\plugins\maven\lib\maven3\boot\plexus-classworlds-2.6.0.jar” org.codehaus.classworlds.Launcher -Didea.version2020.1 -DskipTests=true clean install
[INFO] Scanning for projects…
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Graylog Parent POM [pom]
[INFO] Graylog Project Parent POM [pom]
[INFO] Graylog [jar]
[INFO] Graylog Plugin Parent POM [pom]
[INFO] graylog-storage-elasticsearch6 [jar]
[INFO] graylog-storage-elasticsearch7 [jar]
[INFO] full-backend-tests [jar]
[INFO] Graylog Plugin with Web support Parent POM [pom]
[INFO] graylog-plugin-archetype [maven-archetype]
[INFO] Graylog Binary Distribution Tarball [jar]
[INFO]
[INFO] ---------------------< org.graylog:graylog-parent >---------------------
[INFO] Building Graylog Parent POM 4.1.0 [1/10]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] — maven-clean-plugin:3.1.0:clean (default-clean) @ graylog-parent —
[INFO]
[INFO] — license-maven-plugin:4.0.rc2:check (default) @ graylog-parent —
[INFO] Checking licenses…
[INFO]
[INFO] — maven-install-plugin:2.5.2:install (default-install) @ graylog-parent —
[INFO] Installing D:\Workspace\Graylog\graylog2-server-4.1.0\pom.xml to C:\Users\mrunameya.m2\repository\org\graylog\graylog-parent\4.1.0\graylog-parent-4.1.0.pom
[INFO]
[INFO] -----------------< org.graylog:graylog-project-parent >-----------------
[INFO] Building Graylog Project Parent POM 4.1.0 [2/10]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] — maven-clean-plugin:3.1.0:clean (default-clean) @ graylog-project-parent —
[INFO]
[INFO] — forbiddenapis:2.5:check (forbidden-apis-src) @ graylog-project-parent —
[INFO] Skipping execution for packaging “pom”
[INFO]
[INFO] — forbiddenapis:2.5:testCheck (forbidden-apis-test) @ graylog-project-parent —
[INFO] Skipping execution for packaging “pom”
[INFO]
[INFO] — maven-failsafe-plugin:2.22.2:integration-test (default) @ graylog-project-parent —
[INFO] Tests are skipped.
[INFO]
[INFO] — maven-failsafe-plugin:2.22.2:verify (default) @ graylog-project-parent —
[INFO] Tests are skipped.
[INFO]
[INFO] — license-maven-plugin:4.0.rc2:check (default) @ graylog-project-parent —
[INFO] Checking licenses…
[INFO]
[INFO] — maven-install-plugin:2.5.2:install (default-install) @ graylog-project-parent —
[INFO] Installing D:\Workspace\Graylog\graylog2-server-4.1.0\graylog-project-parent\pom.xml to C:\Users\mrunameya.m2\repository\org\graylog\graylog-project-parent\4.1.0\graylog-project-parent-4.1.0.pom
[INFO]
[INFO] --------------------< org.graylog2:graylog2-server >--------------------
[INFO] Building Graylog 4.1.0 [3/10]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] — maven-clean-plugin:3.1.0:clean (default-clean) @ graylog2-server —
[INFO] Deleting D:\Workspace\Graylog\graylog2-server-4.1.0\graylog2-server\target
[INFO] Deleting D:\Workspace\Graylog\graylog2-server-4.1.0\graylog2-web-interface (includes = [target//*, node_modules//*], excludes = )
[INFO]
[INFO] — buildnumber-maven-plugin:1.4:create (default) @ graylog2-server —
[INFO] Executing: cmd.exe /X /C “git rev-parse --verify HEAD”
[INFO] Working directory: D:\Workspace\Graylog\graylog2-server-4.1.0\graylog2-server
[INFO] Storing buildNumber: null at timestamp: 1626339656864
[WARNING] Cannot get the branch information from the git repository:
Detecting the current branch failed: fatal: not a git repository (or any of the parent directories): .git
[INFO] Executing: cmd.exe /X /C “git rev-parse --verify HEAD”
[INFO] Working directory: D:\Workspace\Graylog\graylog2-server-4.1.0\graylog2-server
[INFO] Storing buildScmBranch: UNKNOWN_BRANCH
[INFO]
[INFO] — antlr4-maven-plugin:4.8-1:antlr4 (antlr) @ graylog2-server —
[INFO] ANTLR 4: Processing source directory D:\Workspace\Graylog\graylog2-server-4.1.0\graylog2-server\src\main\antlr4
[INFO] Processing grammar: org\graylog\plugins\pipelineprocessor\parser\RuleLang.g4
[INFO]
[INFO] — build-helper-maven-plugin:3.0.0:parse-version (parse-version) @ graylog2-server —
[INFO]
[INFO] — frontend-maven-plugin:1.9.1:install-node-and-yarn (install node and yarn) @ graylog2-server —
[INFO] Node v12.13.1 was installed, but we need version v14.15.4
[INFO] Installing node version v14.15.4
[INFO] Copying node binary from C:\Users\mrunameya.m2\repository\com\github\eirslett\node\14.15.4\node-14.15.4-win-x64.exe to D:\Workspace\Graylog\graylog2-server-4.1.0\graylog2-web-interface\node\node.exe
[INFO] Installed node locally.
[INFO] Yarn 1.19.2 was installed, but we need version v1.22.5
[INFO] Installing Yarn version v1.22.5
[INFO] Unpacking C:\Users\mrunameya.m2\repository\com\github\eirslett\yarn\1.22.5\yarn-1.22.5.tar.gz into D:\Workspace\Graylog\graylog2-server-4.1.0\graylog2-web-interface\node\yarn
[INFO] Installed Yarn locally.
[INFO]
[INFO] — frontend-maven-plugin:1.9.1:yarn (yarn install) @ graylog2-server —
[INFO] Running ‘yarn install’ in D:\Workspace\Graylog\graylog2-server-4.1.0\graylog2-web-interface
[INFO] yarn install v1.22.5
[INFO] warning package.json: License should be a valid SPDX license expression
[INFO] warning graylog-web-interface@4.1.0: License should be a valid SPDX license expression
[INFO] [1/4] Resolving packages…
[INFO] [2/4] Fetching packages…
[INFO] info fsevents@2.1.3: The platform “win32” is incompatible with this module.
[INFO] info “fsevents@2.1.3” is an optional dependency and failed compatibility check. Excluding it from installation.
[INFO] info fsevents@1.2.13: The platform “win32” is incompatible with this module.
[INFO] info “fsevents@1.2.13” is an optional dependency and failed compatibility check. Excluding it from installation.
[INFO] info fsevents@2.1.2: The platform “win32” is incompatible with this module.
[INFO] info “fsevents@2.1.2” is an optional dependency and failed compatibility check. Excluding it from installation.
[INFO] [3/4] Linking dependencies…
[INFO] warning " > @fortawesome/react-fontawesome@0.1.9" has unmet peer dependency “react@16.x”.
[INFO] warning " > @react-bootstrap/pagination@1.0.0" has unmet peer dependency “react@^15.3.0”.
[INFO] warning " > @react-bootstrap/pagination@1.0.0" has unmet peer dependency “react-bootstrap@>=0.30.10”.
[INFO] warning " > @react-bootstrap/pagination@1.0.0" has unmet peer dependency “react-dom@^15.3.0”.
[INFO] warning “@react-bootstrap/pagination > react-prop-types@0.4.0” has unmet peer dependency “react@>=0.14.0”.
[INFO] warning " > html-webpack-plugin@4.3.0" has unmet peer dependency “webpack@>=4.0.0 < 6.0.0”.
[INFO] warning “graylog-web-plugin > reflux@0.2.13” has incorrect peer dependency “react@>=0.12.2 <0.15.0”.
[INFO] warning “graylog-web-plugin > styled-components@5.2.3” has unmet peer dependency “react-is@>= 16.8.0”.
[INFO] warning " > webpack-cli@3.3.12" has unmet peer dependency “webpack@4.x.x”.
[INFO] warning “react-overlays > prop-types-extra@1.1.1” has unmet peer dependency “react@>=0.14.0”.
[INFO] warning " > babel-plugin-styled-components@1.12.0" has unmet peer dependency “styled-components@>= 2”.
[INFO] warning " > enzyme-adapter-react-16@1.15.2" has unmet peer dependency “react@^16.0.0-0”.
[INFO] warning " > enzyme-adapter-react-16@1.15.2" has unmet peer dependency “react-dom@^16.0.0-0”.
[INFO] warning " > react-error-boundary@3.1.1" has unmet peer dependency “react@>=16.13.1”.
[INFO] warning " > loadable-components@2.2.3" has unmet peer dependency “react@^15.0.0 || ^16.0.0”.
[INFO] warning " > react-ace@9.2.1" has unmet peer dependency “react@^0.13.0 || ^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0”.
[INFO] warning " > react-ace@9.2.1" has unmet peer dependency “react-dom@^0.13.0 || ^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0”.
[INFO] warning " > react-beautiful-dnd@13.1.0" has unmet peer dependency “react@^16.8.5 || ^17.0.0”.
[INFO] warning " > react-beautiful-dnd@13.1.0" has unmet peer dependency “react-dom@^16.8.5 || ^17.0.0”.
[INFO] warning “react-beautiful-dnd > react-redux@7.2.3” has unmet peer dependency “react@^16.8.3 || ^17”.
[INFO] warning “react-beautiful-dnd > use-memo-one@1.1.2” has unmet peer dependency “react@^16.8.0 || ^17.0.0”.
[INFO] warning “react-color > @icons/material@0.2.4” has unmet peer dependency “react@".
[INFO] warning " > react-day-picker@7.4.8" has unmet peer dependency “react@~0.13.x || ~0.14.x || ^15.0.0 || ^16.0.0”.
[INFO] warning " > react-resizable@1.10.1" has unmet peer dependency “react@0.14.x || 15.x || 16.x”.
[INFO] warning " > react-resizable@1.10.1" has unmet peer dependency “react-dom@0.14.x || 15.x || 16.x”.
[INFO] warning " > react-isolated-scroll@0.1.1" has unmet peer dependency “react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0”.
[INFO] warning " > react-leaflet@2.6.1" has unmet peer dependency “react@^16.8.0”.
[INFO] warning " > react-leaflet@2.6.1" has unmet peer dependency “react-dom@^16.8.0”.
[INFO] warning " > react-mops@2.0.0-beta.0" has unmet peer dependency “react@>=16.9”.
[INFO] warning " > react-overlays@0.7.4" has unmet peer dependency “react@^0.14.9 || >=15.3.0”.
[INFO] warning " > react-overlays@0.7.4" has unmet peer dependency “react-dom@^0.14.9 || >=15.3.0”.
[INFO] warning " > react-plotly.js@2.5.1" has unmet peer dependency “react@>0.13.0”.
[INFO] warning " > react-portal@4.2.1" has unmet peer dependency “react@^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0”.
[INFO] warning " > react-select@4.3.0" has unmet peer dependency “react@^16.8.0 || ^17.0.0”.
[INFO] warning " > react-select@4.3.0" has unmet peer dependency “react-dom@^16.8.0 || ^17.0.0”.
[INFO] warning “react-select > @emotion/react@11.1.5” has unmet peer dependency “react@>=16.8.0”.
[INFO] warning “react-select > react-input-autosize@3.0.0” has unmet peer dependency “react@^16.3.0 || ^17.0.0”.
[INFO] warning “react-select > react-transition-group@4.4.1” has unmet peer dependency “react@>=16.6.0”.
[INFO] warning “react-select > react-transition-group@4.4.1” has unmet peer dependency “react-dom@>=16.6.0”.
[INFO] warning " > react-sizeme@2.6.12" has unmet peer dependency “react@^0.14.0 || ^15.0.0-0 || ^16.0.0”.
[INFO] warning " > react-sizeme@2.6.12" has unmet peer dependency “react-dom@^0.14.0 || ^15.0.0-0 || ^16.0.0”.
[INFO] warning " > react-sortable-hoc@1.11.0" has unmet peer dependency “prop-types@^15.5.7”.
[INFO] warning " > react-sortable-hoc@1.11.0" has unmet peer dependency “react@^0.14.0 || ^15.0.0 || ^16.0.0”.
[INFO] warning " > react-sortable-hoc@1.11.0" has unmet peer dependency “react-dom@^0.14.0 || ^15.0.0 || ^16.0.0”.
[INFO] warning " > react-ultimate-pagination@1.2.0" has unmet peer dependency “react@^0.14.0 || ^15.0.0 || ^16.0.0”.
[INFO] warning " > react-ultimate-pagination@1.2.0" has unmet peer dependency “react-dom@^0.14.0 || ^15.0.0 || ^16.0.0”.
[INFO] warning " > react-window@1.8.5" has unmet peer dependency “react@^15.0.0 || ^16.0.0”.
[INFO] warning " > react-window@1.8.5" has unmet peer dependency “react-dom@^15.0.0 || ^16.0.0”.
[INFO] warning " > terser-webpack-plugin@4.2.3" has unmet peer dependency “webpack@^4.0.0 || ^5.0.0”.
[INFO] warning " > @testing-library/user-event@12.6.3" has unmet peer dependency “@testing-library/dom@>=7.21.4”.
[INFO] warning " > babel-loader@8.2.2" has unmet peer dependency “webpack@>=2”.
[INFO] warning " > clean-webpack-plugin@3.0.0" has unmet peer dependency "webpack@”.
[INFO] warning " > copy-webpack-plugin@6.2.1" has unmet peer dependency “webpack@^4.37.0 || ^5.0.0”.
[INFO] warning " > css-loader@5.0.1" has unmet peer dependency “webpack@^4.27.0 || ^5.0.0”.
[INFO] warning " > estraverse-fb@1.3.2" has unmet peer dependency “estraverse@".
[INFO] warning " > file-loader@6.0.0" has unmet peer dependency “webpack@^4.0.0 || ^5.0.0”.
[INFO] warning " > less-loader@7.3.0" has unmet peer dependency “webpack@^4.0.0 || ^5.0.0”.
[INFO] warning " > react-styleguidist@11.0.8" has unmet peer dependency “react@>=16.8”.
[INFO] warning " > react-styleguidist@11.0.8" has unmet peer dependency “react-dom@>=16.8”.
[INFO] warning “react-styleguidist > copy-webpack-plugin@5.1.2” has unmet peer dependency “webpack@^4.0.0 || ^5.0.0”.
[INFO] warning “react-styleguidist > markdown-to-jsx@6.11.4” has unmet peer dependency “react@>= 0.14.0”.
[INFO] warning “react-styleguidist > react-group@3.0.2” has unmet peer dependency “react@>=16.0.0”.
[INFO] warning “react-styleguidist > react-icons@3.9.0” has unmet peer dependency "react@”.
[INFO] warning “react-styleguidist > react-simple-code-editor@0.10.0” has unmet peer dependency “react@^16.0.0”.
[INFO] warning “react-styleguidist > react-simple-code-editor@0.10.0” has unmet peer dependency “react-dom@^16.0.0”.
[INFO] warning “react-styleguidist > terser-webpack-plugin@2.3.8” has unmet peer dependency “webpack@^4.0.0 || ^5.0.0”.
[INFO] warning " > webpack-dev-server@3.11.0" has unmet peer dependency “webpack@^4.0.0 || ^5.0.0”.
[INFO] warning " > webpack-dev-middleware@3.7.2" has unmet peer dependency “webpack@^4.0.0”.
[INFO] warning " > style-loader@2.0.0" has unmet peer dependency “webpack@^4.0.0 || ^5.0.0”.
[INFO] warning " > url-loader@4.1.0" has unmet peer dependency “webpack@^4.0.0 || ^5.0.0”.
[INFO] [4/4] Building fresh packages…
[INFO] info Visit yarn install | Yarn for documentation about this command.
[INFO] info Visit yarn install | Yarn for documentation about this command.error D:\Workspace\Graylog\graylog2-server-4.1.0\graylog2-web-interface\node_modules\graylog-web-plugin: Command failed.
[INFO] Exit code: 1
[INFO] Command: test -d src/ && yarn run compile
[INFO] Arguments:
[INFO] Directory: D:\Workspace\Graylog\graylog2-server-4.1.0\graylog2-web-interface\node_modules\graylog-web-plugin
[INFO] Output:
[INFO] ‘test’ is not recognized as an internal or external command,
[INFO] operable program or batch file.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Graylog Parent POM 4.1.0:
[INFO]
[INFO] Graylog Parent POM … SUCCESS [01:08 min]
[INFO] Graylog Project Parent POM … SUCCESS [ 3.984 s]
[INFO] Graylog … FAILURE [26:43 min]
[INFO] Graylog Plugin Parent POM … SKIPPED
[INFO] graylog-storage-elasticsearch6 … SKIPPED
[INFO] graylog-storage-elasticsearch7 … SKIPPED
[INFO] full-backend-tests … SKIPPED
[INFO] Graylog Plugin with Web support Parent POM … SKIPPED
[INFO] graylog-plugin-archetype … SKIPPED
[INFO] Graylog Binary Distribution Tarball … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27:58 min
[INFO] Finished at: 2021-07-15T14:56:23+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.9.1:yarn (yarn install) on project graylog2-server: Failed to run task: ‘yarn install’ failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] MojoFailureException - Apache Maven - Apache Software Foundation
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :graylog2-server
Node and Yarn Version
<nodejs.version>v14.15.4</nodejs.version>
<yarn.version>v1.22.5</yarn.version>
No changes have been made to original pom.xml
Can anyone help me to resolve this issue ?