Skip to content
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

Maven build failed #4415

Open
4 tasks done
jainvi077 opened this issue Mar 21, 2024 · 4 comments
Open
4 tasks done

Maven build failed #4415

jainvi077 opened this issue Mar 21, 2024 · 4 comments
Labels
status/triage Issues pending maintainers triage type/bug Something isn't working

Comments

@jainvi077
Copy link

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

@jainvi077 jainvi077 added status/triage Issues pending maintainers triage type/bug Something isn't working labels Mar 21, 2024
Copy link

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. 👀

@Haarolean
Copy link
Contributor

It doesn't work on Windows: here

@jainvi077
Copy link
Author

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

@Haarolean
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/triage Issues pending maintainers triage type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants