-
-
Notifications
You must be signed in to change notification settings - Fork 433
Error: VirtualCode id must be lowercase: scriptSetupFormat #4497
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
Regression from volarjs/volar.js@1f6e2bf |
This comment was marked as duplicate.
This comment was marked as duplicate.
Same error as @chaozwn also on neovim, mac M2 (and I believe my Ubuntu (noble) machine suffered the same error). vue-language-server version 2.0.22. I have tried different node LTS versions as well as the latest with no success. Tried creating a new Vue project with Edit:
|
This comment was marked as duplicate.
This comment was marked as duplicate.
@lancewilhelm you're right. The issue is in a dependency that will be installed above 2.0.19. You might want to try using version |
Same error as @lancewilhelm also on neovim, arch linux. I got the error when I update vue-language-server from 2.0.21 to 2.0.22 with mason.
|
Edit: Not needed anymore, just update your dependencies. Workaround: Add the following to your "pnpm": {
"overrides": {
"@volar/typescript": "2.3.1",
"@volar/language-core": "2.3.1"
}
} For NPM, Yarn etc. you'll find other solutions. |
Thanks for the report! This should fixed in |
closes #1393 Remove workaround from #1395 because Volar has released a fix in vuejs/language-tools#4497. I updates all dependencies to the latest version.
And then run |
@yenche123 this is not needed anymore. Just update your dependencies :) |
what should be added if using npm? |
then run npm install |
Vue - Official extension or vue-tsc version
2.0.22
VSCode version
Vue version
3.4.30
TypeScript version
5.5.2
System Info
Steps to reproduce
pnpm create vite@latest
-> Vue project with TSpnpm update
vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json
Throws:
Error: VirtualCode id must be lowercase: scriptSetupFormat
The text was updated successfully, but these errors were encountered: