provectus / kafka-ui

Open-Source Web UI for Apache Kafka Management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maven build failed

jainvi077 opened this issue · comments

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running master-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

I am running mvn clean install -Pprod -DskipTests command at the root and react build fails with the following error

vite v4.0.0 building for production...
[INFO] transforming...
[INFO] â?? 3 modules transformed.
[INFO] â?? 3 modules transformed.[vite]: Rollup failed to resolve import "components/App" from "C:/RealTime2/plt-realtime-kafka-ui/kafka-ui-react-app/src/index.tsx".
[INFO] This is most likely unintended because it can break your application at runtime.
[INFO] If you do want to externalize this module explicitly add it to
[INFO] build.rollupOptions.external
[INFO] error during build:
[INFO] Error: [vite]: Rollup failed to resolve import "components/App" from "C:/RealTime2/plt-realtime-kafka-ui/kafka-ui-react-app/src/index.tsx".
[INFO] This is most likely unintended because it can break your application at runtime.
[INFO] This is most likely unintended because it can break your application at runtime.â??ELIFECYCLEâ?? Command failed with exit code 1.
[INFO] If you do want to externalize this module explicitly add it to
[INFO] build.rollupOptions.external

Expected behavior

No response

Your installation details

mvn clean install -Pprod -DskipTests

Steps to reproduce

run mvn clean install -Pprod -DskipTests at the root level

Screenshots

No response

Logs

No response

Additional context

No response

Hello there jainvi077! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

It doesn't work on Windows: here

Thanks. Does it work on linux ? any plan to fix it in windows.

@jainvi077 yes, it does work on linux.
I have addressed your issue in this PR: kafbat/kafka-ui#214