-
-
Notifications
You must be signed in to change notification settings - Fork 415
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
v2.0.29-v2.1.2 incompatibility of vite-plugin-checker with vuejs/language-tools #4755
Comments
Does the |
Yes it looks like this: {
"extends": "@vue/tsconfig/tsconfig.dom.json",
"compilerOptions": {
"lib": ["ES2021", "DOM", "DOM.Iterable"],
"paths": {
"@/*": [
"./src/*"
]
},
"types": [
"node", "vitest/globals"
]
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue"
],
"references": [
{
"path": "./tsconfig.node.json"
}
]
} And tsconfig.node.json looks like this: {
"compilerOptions": {
"composite": true,
"module": "esnext",
"moduleResolution": "node"
},
"include": ["vite.config.ts"]
} |
Try adding this and check again: {
"vueCompilerOptions": {
"plugins": []
}
} And it would be best to provide a minimal repro. |
That does not seem to help, but I noticed a strange thing about this version. If I install the version like this: |
I encountered this error when enabling I traced the issue to possibly being caused by this: https://github.com/vuejs/language-tools/blob/v2.1.2/packages/language-core/lib/languagePlugin.ts#L51. It appears to be an issue caused by incorrect parameter injection. |
Would you please open an issue with them? It seems they're not compatible anymore. |
I have the same issue: [email protected] [email protected] [email protected] [email protected] |
I've opened a PR with them fi3ework/vite-plugin-checker#395 |
Same issue here, still happens on 2.1.4 using vite plugin checker 0.7.2, works as long as you pin vue-tsc at 2.0.29 for now This issue only happens when you are between 2.1.0 - 2.1.4 |
Same issue here |
I have the same issue |
Opened another PR to resolve this on checker level |
same issue in [email protected] |
it was merged this morning, if you update to [email protected] with vite-plugin-checker 0.8.0 it should work. if this doesnt work after updating i suggest opening a new issue |
Does not work on |
Please open a new issue if the problem still occurs on your end! |
Hey folks. Since plugin checker released this as "major" (in terms of 0.x versioining) version, Nuxt has to update dependency on their side first - and they did that, fix will be available in next patch. For now, you can pin resolution in any way you like, fix example:
|
…sting Updated dev dependencies: - @iconify-json/lucide - @iconify-json/material-symbols - @nuxt/eslint - @vue/devtools-api - eslint - happy-dom - husky - tailwindcss - typescript - vue-tsc Also added a dependency override for nuxt peer dependency, 'vite-plugin-checker' for known issue -> vuejs/language-tools#4755 (comment) Updated Prod deps: - vue
Next patch of Nuxt is available: https://github.com/nuxt/nuxt/releases/tag/v3.13.2 |
Can confirm that the error is fixed for me |
Vue - Official extension or vue-tsc version
v2.0.29
VSCode version
1.92.2
Vue version
3.4.38
TypeScript version
5.5.4
System Info
Steps to reproduce
Install version any version between v2.0.29-v2.1.2 and start the Vue 3 vite project.
What is expected?
Vue 3 project should start.
What is actually happening?
Throws this error and fails starting:
Link to minimal reproduction
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: