Hello, I want to modify the react code and package...
# troubleshoot
c
Hello, I want to modify the react code and package it as an image. It can run normally when I use yarn install && yarn run start in the react project. But when I run. /gradlew datahub frontenddist -x yarnTest -x yarnLint in the root directory of datahub-master With this command, I encountered the following error:
Task entity registrycompileJava FAILED
Task datahub web reactnodeSetup FAILED
FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task 'entity registrycompileJava'.
error: release version 11 not supported
* 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. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 2: Task failed with an exception. ----------- * What went wrong: Execution failed for task 'datahub web reactnodeSetup'.
java.nio.file.FileSystemException: / MNT/HGFS/TMP/datahub/datahub - master/datahub - web - the react /. Gradle nodejs/node - v16.8.0 - Linux - x64 / bin/NPM: Operation not supported
My environment is centos7 java --version results in openjdk 11.0.18 2023-01-17LTS The result of gradle -v is Gradle 5.0 The result of python3 -V is Python 3.10.10 The result of python -V is Python 2.7.5 Is there anyone who can help
πŸ” 1
πŸ“– 1
l
Hey there πŸ‘‹ I'm The DataHub Community Support bot. I'm here to help make sure the community can best support you with your request. Let's double check a few things first: βœ… There's a lot of good information on our docs site: www.datahubproject.io/docs, Have you searched there for a solution? βœ… button βœ… It's not uncommon that someone has run into your exact problem before in the community. Have you searched Slack for similar issues? βœ… button Did you find a solution to your issue? ❌ Sorry you weren't able to find a solution. I'm sending you some tips on info you can provide to help the community troubleshoot. Whenever you feel your issue is solved, please react βœ… to your original message to let us know!
c
I ran the datahub natively started using the python3 -m datahub docker quickstart command
a
It looks like the jdk version you’re attempting to use may not be supported- any chance you could downgrade?