-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
When adding a custom tsconfig.json to the project, Quarkus fails to start in dev mode with a Duplicate key exception.
The issue appears when a tsconfig.json file is placed under src/main/resources/web.
Steps to reproduce
- Add a custom tsconfig.json under:
src/main/resources/web/tsconfig.json - Start Quarkus in dev mode.
- The application fails during startup with the following exception. Exception
2026-03-11 00:44:22,682 ERROR [io.quarkus.deployment.dev.IsolatedDevModeMain] (main) Failed to start quarkus: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkiverse.web.bundler.deployment.DevWatcherProcessor#startWatch threw an exception: java.lang.IllegalStateException: Duplicate key src/main/resources/web/tsconfig.json (attempted merging values Link[target=target/web-bundler/dev/tsconfig.json, symbolic=true] and Link[target=target/web-bundler/dev/web/tsconfig.json, symbolic=true])
Expected behavior
Quarkus dev mode should start normally when a custom tsconfig.json is present in src/main/resources/web.
Actual behavior
Startup fails with a Duplicate key exception coming from DevWatcherProcessor#startWatch.
Additional context
The project is also integrating the Tailwind and Svelte plugins. The same issue occurs on both Windows and macOS environments.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels