-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug: fail build vue app in last update with vite #25485
Comments
vue version? |
Vue 3 |
Thanks for the issue. Can you provide a GitHub repo that I can use to verify this behavior? |
@KANekT это очевидно что 3, полная версия, и версия vite? |
hi @liamdebeasi I have a similar problem, but not with build, but with volar vscode ext |
Ionic Vue does not support Volar. See: #24169 |
@liamdebeasi @reslear i update to vite and last version repo: and error in build |
Thanks! I can reproduce this behavior, and I am investigating. |
Can everyone try the following dev build and let me know if it resolve the issue?
|
Yes it resolve this error |
Thanks for the issue. This has been resolved via #25499, and a fix will be available in an upcoming release of Ionic Framework. |
Is there a recommendation on what to use instead? |
@kachidk volar is support, but without html types, i'm use everyday - no problems |
Hi everyone, This issue was resolved in Ionic 6.1.11. Please update to the latest version of Ionic Vue to receive a fix for this issue. |
Also, as per my comment in #25485 (comment), Volar support should be improved in Ionic 6.1.11. Please give it a try and let us know if you run into any issues on #24169. |
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. |
Prerequisites
Ionic Framework Version
Current Behavior
Error after update to last version in vue, example file:
node_modules/@ionic/vue/dist/types/components/IonIcon.d.ts
in 6.1.10-nightly.20220614
in 6.1.10-nightly.20220615
Expected Behavior
<ion-icon slot="icon-only" :icon="icons.close" />
Type string is not assignable to type InferPropType
Type string is not assignable to type [StringConstructor] extends [Prop<infer V, infer D>] ? (unknown extends infer V ? IfAny<V, V, D> : V) : StringConstructor
Type string is not assignable to type StringConstructor
Steps to Reproduce
vue-tsc --noEmit && vite build
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 6.18.1 (C:\Users\KANekT\AppData\Roaming\npm\node_modules@ionic\cli)
Capacitor:
Capacitor CLI : 3.5.1
@capacitor/android : 3.5.1
@capacitor/core : 3.5.1
@capacitor/ios : 3.5.1
Utility:
cordova-res : not installed globally
native-run : 1.6.0
System:
NodeJS : v16.15.1 (C:\Program Files\nodejs\node.exe)
npm : 8.11.0
OS : Windows 10
Additional Information
No response
The text was updated successfully, but these errors were encountered: