Kubb doesn't create the files anymore #2155
-
|
Hi! So I have this one problem, well a big one. My problem is, Kubb create the openapi.json archive, but any of the plugins is started, and just fail. kubb.config.ts -> (./src/app/config/kubb.config.ts ) vite.config.mts -> (./vite.config.mts) The output from the manual command: The output via vite with the command 'npm run dev':
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
What happens when you add --debug to the kubb generate command? To you see any errors? |
Beta Was this translation helpful? Give feedback.








@HelenaVeltri You need to pass the
configand not the tranformed config (thekubb.config.tsfile), so maybe exporting the config likeexport const config = { input: ..., plugins:[] }; export default defineConfig(config)