Skip to content

Maven build failed #4415

@jainvi077

Description

@jainvi077

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/triageIssues pending maintainers triagetype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions