vaadin / hilla

Build better business applications, faster. No more juggling REST endpoints or deciphering GraphQL queries. Hilla seamlessly connects Spring Boot and React to accelerate application development.
https://hilla.dev
Apache License 2.0
906 stars 57 forks source link

Multi-module project support for TS generation exits with: The command line is too long. #533

Closed svein-loken closed 2 years ago

svein-loken commented 2 years ago

Description of the bug

mvn -X hilla:generate gives: The command line is too long. cmd.exe /c C:\my-proj\node_modules.bin\tsgen.cmd -o ... is very long. It has enum values etc and will not scale

Minimal reproducible example

Create some objects with enum etc

Versions:

Hilla: 23.2.0.beta2 Flow: 23.2.0.beta2 Java: JetBrains s.r.o. 17.0.2 OS: amd64 Windows 10 10.0 Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36 Live reload: Java unavailable (HotswapAgent): Front end unavailable

svein-loken commented 2 years ago

Same error in 23.2.0.beta3

svein-loken commented 2 years ago

image