-
Notifications
You must be signed in to change notification settings - Fork 13.5k
bug: @ionic/vue v6 can't run build with vite #24005
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
Comments
Thanks for the issue. If you add |
Thanks, I tested it and it's working as expected now. Maybe this could be mentioned in the docs for those who are adding ionic as a library instead of using the starter apps. Although that might be the minority of the users. |
Glad it works. Yes, I agree this should be mentioned in the docs. I am going to close this issue for now, but we plan on having more docs on getting Ionic setup with Vite when Ionic 6 ships (this is being tracked internally). |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Uh oh!
There was an error while loading. Please reload this page.
Prequisites
Ionic Framework Version
Current Behavior
npm run build (using vite) results in the above error
Expected Behavior
npm run build with no errors
Steps to Reproduce
running "npm run build" results in multiple of the above error messages, i found an issue regarding this over a year ago, but it was closed with no explanation on how the bug occurred.
I am using @ionic/vue V6 with vite
Please let me know if any further details are required
Code Reproduction URL
https://github.com/Ripwords/astro-calc
Ionic Info
Additional Information
Similar issue in #20208
Update
I was able to track down the issue in ionicons here. It seems to be a typescript version error, however the ionicons repo doesn't seem to be as active and I would rate this issue quite high since typescript is getting more and more popular
The text was updated successfully, but these errors were encountered: