-
Notifications
You must be signed in to change notification settings - Fork 29
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
Kaoto on Windows can't load catalog #1654
Comments
lordrip
added a commit
to lordrip/kaoto
that referenced
this issue
Nov 25, 2024
Currently, dev mode is broken in Windows since the `vite.config.js` file is not copying the catalog files properly. The fix is to use the `normalizePath` function from `vite`, so it uses a linux-like path to copy the files. fix: KaotoIO#1654
lordrip
added a commit
to lordrip/kaoto
that referenced
this issue
Nov 25, 2024
Currently, dev mode is broken in Windows since the `vite.config.js` file is not copying the catalog files properly. In addition to that, the files path are generated using the underlying OS path separator. The fix is to use the `normalizePath` function from `vite`, so it uses a linux-like path to copy the files. From the Catalog generator part, it forces to use the `/` as path separator, so it loads properly in the browser. fix: KaotoIO#1654
lordrip
added a commit
that referenced
this issue
Dec 3, 2024
Currently, dev mode is broken in Windows since the `vite.config.js` file is not copying the catalog files properly. In addition to that, the files path are generated using the underlying OS path separator. The fix is to use the `normalizePath` function from `vite`, so it uses a linux-like path to copy the files. From the Catalog generator part, it forces to use the `/` as path separator, so it loads properly in the browser. fix: #1654
lordrip
added a commit
to lordrip/kaoto
that referenced
this issue
Dec 3, 2024
Currently, dev mode is broken in Windows since the `vite.config.js` file is not copying the catalog files properly. In addition to that, the files path are generated using the underlying OS path separator. The fix is to use the `normalizePath` function from `vite`, so it uses a linux-like path to copy the files. From the Catalog generator part, it forces to use the `/` as path separator, so it loads properly in the browser. fix: KaotoIO#1654
lordrip
added a commit
to lordrip/kaoto
that referenced
this issue
Dec 3, 2024
Currently, dev mode is broken in Windows since the `vite.config.js` file is not copying the catalog files properly. In addition to that, the files path are generated using the underlying OS path separator. The fix is to use the `normalizePath` function from `vite`, so it uses a linux-like path to copy the files. From the Catalog generator part, it forces to use the `/` as path separator, so it loads properly in the browser. fix: KaotoIO#1654
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
When building and running the Kaoto web app on Windows, it can't load the Camel catalog. Doing the same on RHEL 9 or in WSL (Ubuntu 22.0.4) works fine.
Steps to Reproduce the Bug or Issue
yarn workspace @kaoto/kaoto run start
in Powershell, the following is the output of the command:Screenshots or Videos
Platform
The text was updated successfully, but these errors were encountered: