-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails on Windows™ #1582
Comments
@Haarolean check path variable for java |
We need someone to try this again on windows with a fresh master |
Im using Windows 10 with OpenJDK 19 and these two build commands are successfull: If I try to run with tests enabled:
When trying to build the UI as well: |
Discussed in #1557
Originally posted by myersdennis94 February 6, 2022
I am interested in contributing to this project and getting into open source. I am trying to build the app according to the instructions in the README but my build is crashing. The console output is below, if anyone can help in any way it is greatly appreciated!!
[INFO] --- frontend-maven-plugin:1.12.0:npm (npm run gen:sources) @ kafka-ui-contract ---
[INFO] Running 'npm run gen:sources' in D:\OpenSource\kafka-ui\kafka-ui-react-app
[INFO]
[INFO] > kafka-ui@0.1.0 gen:sources D:\OpenSource\kafka-ui\kafka-ui-react-app
[INFO] > rimraf src/generated-sources && openapi-generator-cli generate
[INFO]
[INFO] Download 5.4.0 ...
[INFO] Downloaded 5.4.0
[INFO] Did set selected version to 5.4.0
[INFO] [error] Required option '-i' is missing
[INFO] npm ERR! code ELIFECYCLE
[INFO] npm ERR! errno 1
[INFO] npm ERR! kafka-ui@0.1.0 gen:sources:
rimraf src/generated-sources && openapi-generator-cli generate
[INFO] npm ERR! Exit status 1
[INFO] npm ERR!
[INFO] npm ERR! Failed at the kafka-ui@0.1.0 gen:sources script.
[INFO] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[INFO]
[INFO] npm ERR! A complete log of this run can be found in:
[INFO] npm ERR! C:\Users\Dennis\AppData\Roaming\npm-cache_logs\2022-02-06T04_13_00_574Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for kafka-ui 0.0.1-SNAPSHOT:
[INFO]
[INFO] kafka-ui ........................................... SUCCESS [ 0.242 s]
[INFO] kafka-ui-contract .................................. FAILURE [05:35 min]
[INFO] kafka-ui-api ....................................... SKIPPED
[INFO] kafka-ui-e2e-checks ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:35 min
[INFO] Finished at: 2022-02-05T22:13:00-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.0:npm (npm run gen:sources) on project kafka-ui-contract: Failed to run task: 'npm run gen:sources' 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] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :kafka-ui-contract
The text was updated successfully, but these errors were encountered: