-
-
Notifications
You must be signed in to change notification settings - Fork 435
Vue server still crashed after upgrading to v2.0.4 in VSCode + Nuxt 3 #3962
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
Same, without nuxt - just a normal Vue3 monorepo setup on M2. Output of Typescript module:
|
@johnsoncodehk let me know if you need help debugging this in a MacOS/ARM environment. |
Reverting back to |
@yooouuri can't confirm. Same issue on v2.0.2 |
Do you have |
Yes |
can confirm also on M2 Air with Nuxt 3 |
@davidmatter, @Blackfaded can you share your extension list? You can copy the list by executing |
Hey, here is my List
|
(3 theme extensions excluded) |
Same problem here. On a M3 Pro.
|
@johnsoncodehk
|
Specific to https://github.com/Bernankez/blog.git, this may be caused by out-of-memory. If there are many typescript plugin extensions installed, or there are a large number of .vue files or the libraries they depend on are large, tsserver will require more memory. Please try setting If the problem persists, please provide your repro case, or contact me in the Vue Land discord server to investigate using remote desktop. |
Confirmed that it works fine if I open a 'small' vue project. Since I can't set a value above 4GB I need to try out to use a custom node build. |
Interestingly, it works fine with vscode insiders. Even with big projects |
Does it help if you use the tsdk version of the vscode insiders bundle instead? (It should be |
Pointing to the same tsdk |
I have created an empty profile in stable vscode, just using vue lang tools v2.0.4. Doesn't help. |
Thanks for the information, it will save a lot of wasted investigation time. |
Differences: Insiders Stable |
Could be this one that helps :) microsoft/vscode@974c6b3 |
Relevant: microsoft/vscode#206780 |
Relevant: nodejs/node#46559 |
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.24` -> `20.11.25`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.24/20.11.25) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`13.6.2` -> `13.7.0`](https://renovatebot.com/diffs/npm/happy-dom/13.6.2/13.7.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.3.3` -> `5.4.2`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.2) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.1.4` -> `5.1.5`](https://renovatebot.com/diffs/npm/vite/5.1.4/5.1.5) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [vue-tsc](https://togithub.com/vuejs/language-tools) ([source](https://togithub.com/vuejs/language-tools/tree/HEAD/packages/tsc)) | [`2.0.1` -> `2.0.6`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.1/2.0.6) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v13.7.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...4c808b62f8dcfb5c85d4ac4e94b8e2ba58195e86) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...v13.7.0) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.4.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.2): TypeScript 5.4 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v5.1.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.4...v5.1.5) - fix: `__vite__mapDeps` code injection ([#​15732](https://togithub.com/vitejs/vite/issues/15732)) ([aff54e1](https://togithub.com/vitejs/vite/commit/aff54e1)), closes [#​15732](https://togithub.com/vitejs/vite/issues/15732) - fix: analysing build chunk without dependencies ([#​15469](https://togithub.com/vitejs/vite/issues/15469)) ([bd52283](https://togithub.com/vitejs/vite/commit/bd52283)), closes [#​15469](https://togithub.com/vitejs/vite/issues/15469) - fix: import with query with imports field ([#​16085](https://togithub.com/vitejs/vite/issues/16085)) ([ab823ab](https://togithub.com/vitejs/vite/commit/ab823ab)), closes [#​16085](https://togithub.com/vitejs/vite/issues/16085) - fix: normalize literal-only entry pattern ([#​16010](https://togithub.com/vitejs/vite/issues/16010)) ([1dccc37](https://togithub.com/vitejs/vite/commit/1dccc37)), closes [#​16010](https://togithub.com/vitejs/vite/issues/16010) - fix: optimizeDeps.entries with literal-only pattern(s) ([#​15853](https://togithub.com/vitejs/vite/issues/15853)) ([49300b3](https://togithub.com/vitejs/vite/commit/49300b3)), closes [#​15853](https://togithub.com/vitejs/vite/issues/15853) - fix: output correct error for empty import specifier ([#​16055](https://togithub.com/vitejs/vite/issues/16055)) ([a9112eb](https://togithub.com/vitejs/vite/commit/a9112eb)), closes [#​16055](https://togithub.com/vitejs/vite/issues/16055) - fix: upgrade esbuild to 0.20.x ([#​16062](https://togithub.com/vitejs/vite/issues/16062)) ([899d9b1](https://togithub.com/vitejs/vite/commit/899d9b1)), closes [#​16062](https://togithub.com/vitejs/vite/issues/16062) - fix(runtime): runtime HMR affects only imported files ([#​15898](https://togithub.com/vitejs/vite/issues/15898)) ([57463fc](https://togithub.com/vitejs/vite/commit/57463fc)), closes [#​15898](https://togithub.com/vitejs/vite/issues/15898) - fix(scanner): respect `experimentalDecorators: true` ([#​15206](https://togithub.com/vitejs/vite/issues/15206)) ([4144781](https://togithub.com/vitejs/vite/commit/4144781)), closes [#​15206](https://togithub.com/vitejs/vite/issues/15206) - revert: "fix: upgrade esbuild to 0.20.x" ([#​16072](https://togithub.com/vitejs/vite/issues/16072)) ([11cceea](https://togithub.com/vitejs/vite/commit/11cceea)), closes [#​16072](https://togithub.com/vitejs/vite/issues/16072) - refactor: share code with vite runtime ([#​15907](https://togithub.com/vitejs/vite/issues/15907)) ([b20d542](https://togithub.com/vitejs/vite/commit/b20d542)), closes [#​15907](https://togithub.com/vitejs/vite/issues/15907) - refactor(runtime): use functions from `pathe` ([#​16061](https://togithub.com/vitejs/vite/issues/16061)) ([aac2ef7](https://togithub.com/vitejs/vite/commit/aac2ef7)), closes [#​16061](https://togithub.com/vitejs/vite/issues/16061) - chore(deps): update all non-major dependencies ([#​16028](https://togithub.com/vitejs/vite/issues/16028)) ([7cfe80d](https://togithub.com/vitejs/vite/commit/7cfe80d)), closes [#​16028](https://togithub.com/vitejs/vite/issues/16028) </details> <details> <summary>vuejs/language-tools (vue-tsc)</summary> ### [`v2.0.6`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#206-202437) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.5...v2.0.6) > \[!IMPORTANT] > If the TypeScript language server crashes since 2.0, please try using VSCode Insiders and install [JavaScript and TypeScript Nightly](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next), or temporarily downgrade to 1.8.27.\ > Issue: [https://github.com/vuejs/language-tools/issues/3962](https://togithub.com/vuejs/language-tools/issues/3962) > > If false positive errors occurs, please try disabling unrelated extensions in the Vue workspace. > Issue[https://github.com/vuejs/language-tools/issues/3942](https://togithub.com/vuejs/language-tools/issues/3942)42 ##### Fixes - **language-core:** use local variables in v-bind shorthand ([#​4017](https://togithub.com/vuejs/language-tools/issues/4017)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-core:** sfc folding end position failed to mapping ([#​4038](https://togithub.com/vuejs/language-tools/issues/4038)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-service:** remove `extraLiners` option for formatting ([#​3943](https://togithub.com/vuejs/language-tools/issues/3943)) - **language-service:** bump `volar-service-typescript` for fix jsx formatting ([#​3949](https://togithub.com/vuejs/language-tools/issues/3949)) - **language-service:** bump `@volar/typescript` 2.0.5 completion performance regression ([#​4024](https://togithub.com/vuejs/language-tools/issues/4024)) ##### Refactors - **vscode:** rename `vue.inlayHints.vbindShorthand` setting to `vue.inlayHints.vBindShorthand` ([#​3995](https://togithub.com/vuejs/language-tools/issues/3995)) - thanks [@​l4dybird](https://togithub.com/l4dybird) ### [`v2.0.5`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#205-202435) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.4...v2.0.5) > \[!IMPORTANT] > If the TypeScript language server crashes in version 2.0, please try using VSCode Insiders, or temporarily downgrade to 1.8.27.\ > Issue: [https://github.com/vuejs/language-tools/issues/3962](https://togithub.com/vuejs/language-tools/issues/3962) > > If false positive errors occurs, try creating an empty jsconfig in the workspace root directory.\ > Issue: [https://github.com/vuejs/language-tools/issues/3942](https://togithub.com/vuejs/language-tools/issues/3942) ##### Features - **language-core:** support `v-bind` shorthand ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-service:** support inlay hints for `v-bind` shorthand ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - thanks [@​so1ve](https://togithub.com/so1ve) - **vscode:** prompt to disable Svelte extension in Vue workspace to avoid conflicts ##### Fixes - **typescript-plugin:** fault tolerance for named pipe server data - **language-core:** avoid `globalTypesHolder` being specified from a `node_modules` file ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - **language-core:** fault tolerance for plugin creation - **language-plugin-pug:** failed to load due to an invalid require path ([#​3930](https://togithub.com/vuejs/language-tools/issues/3930)) - **typescript-plugin:** custom extensions do not work ([#​3977](https://togithub.com/vuejs/language-tools/issues/3977)) - **language-service:** html custom data not working ([#​3975](https://togithub.com/vuejs/language-tools/issues/3975)) ##### Refactors - **typescript-plugin** add README ([#​3974](https://togithub.com/vuejs/language-tools/issues/3974)) - thanks [@​WhyNotHugo](https://togithub.com/WhyNotHugo) - **component-meta** update deom ([#​3994](https://togithub.com/vuejs/language-tools/issues/3994)) - thanks [@​zzfn](https://togithub.com/zzfn) ### [`v2.0.4`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#204-202434) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.3...v2.0.4) ##### Features - **vscode:** report requires TSDK version in doctor ##### Fixes - **typescript-plugin:** JSON parsing error when server data length > 8192 ([#​3961](https://togithub.com/vuejs/language-tools/issues/3961)) ### [`v2.0.3`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#203-202433) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.2...v2.0.3) ##### Features - **vscode:** identify [#​3942](https://togithub.com/vuejs/language-tools/issues/3942) in doctor ##### Fixes - **vscode:** compatible with VSCode 1.87.0 - **vscode:** search "TypeScript and JavaScript Language Features" with id ([#​3932](https://togithub.com/vuejs/language-tools/issues/3932)) - **typescript-plugin:** more reliable connection to named pipe server ([#​3941](https://togithub.com/vuejs/language-tools/issues/3941)) ##### Refactors - **language-service:** dependency injection typescript plugin ([#​3994](https://togithub.com/vuejs/language-tools/issues/3994)) ### [`v2.0.2`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#202-202432) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.1...v2.0.2) ##### Fixes - **vscode:** fix random `Cannot access 'i' before initialization` errors - **typescript-plugin:** `vue-tsp-table.json` path is invalid in windows </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/ui). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.24` -> `20.11.25`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.24/20.11.25) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`13.6.2` -> `13.7.0`](https://renovatebot.com/diffs/npm/happy-dom/13.6.2/13.7.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.3.3` -> `5.4.2`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.2) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.1.4` -> `5.1.5`](https://renovatebot.com/diffs/npm/vite/5.1.4/5.1.5) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [vue-tsc](https://togithub.com/vuejs/language-tools) ([source](https://togithub.com/vuejs/language-tools/tree/HEAD/packages/tsc)) | [`2.0.1` -> `2.0.6`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.1/2.0.6) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v13.7.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...4c808b62f8dcfb5c85d4ac4e94b8e2ba58195e86) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...v13.7.0) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.4.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.2): TypeScript 5.4 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v5.1.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.4...v5.1.5) - fix: `__vite__mapDeps` code injection ([#​15732](https://togithub.com/vitejs/vite/issues/15732)) ([aff54e1](https://togithub.com/vitejs/vite/commit/aff54e1)), closes [#​15732](https://togithub.com/vitejs/vite/issues/15732) - fix: analysing build chunk without dependencies ([#​15469](https://togithub.com/vitejs/vite/issues/15469)) ([bd52283](https://togithub.com/vitejs/vite/commit/bd52283)), closes [#​15469](https://togithub.com/vitejs/vite/issues/15469) - fix: import with query with imports field ([#​16085](https://togithub.com/vitejs/vite/issues/16085)) ([ab823ab](https://togithub.com/vitejs/vite/commit/ab823ab)), closes [#​16085](https://togithub.com/vitejs/vite/issues/16085) - fix: normalize literal-only entry pattern ([#​16010](https://togithub.com/vitejs/vite/issues/16010)) ([1dccc37](https://togithub.com/vitejs/vite/commit/1dccc37)), closes [#​16010](https://togithub.com/vitejs/vite/issues/16010) - fix: optimizeDeps.entries with literal-only pattern(s) ([#​15853](https://togithub.com/vitejs/vite/issues/15853)) ([49300b3](https://togithub.com/vitejs/vite/commit/49300b3)), closes [#​15853](https://togithub.com/vitejs/vite/issues/15853) - fix: output correct error for empty import specifier ([#​16055](https://togithub.com/vitejs/vite/issues/16055)) ([a9112eb](https://togithub.com/vitejs/vite/commit/a9112eb)), closes [#​16055](https://togithub.com/vitejs/vite/issues/16055) - fix: upgrade esbuild to 0.20.x ([#​16062](https://togithub.com/vitejs/vite/issues/16062)) ([899d9b1](https://togithub.com/vitejs/vite/commit/899d9b1)), closes [#​16062](https://togithub.com/vitejs/vite/issues/16062) - fix(runtime): runtime HMR affects only imported files ([#​15898](https://togithub.com/vitejs/vite/issues/15898)) ([57463fc](https://togithub.com/vitejs/vite/commit/57463fc)), closes [#​15898](https://togithub.com/vitejs/vite/issues/15898) - fix(scanner): respect `experimentalDecorators: true` ([#​15206](https://togithub.com/vitejs/vite/issues/15206)) ([4144781](https://togithub.com/vitejs/vite/commit/4144781)), closes [#​15206](https://togithub.com/vitejs/vite/issues/15206) - revert: "fix: upgrade esbuild to 0.20.x" ([#​16072](https://togithub.com/vitejs/vite/issues/16072)) ([11cceea](https://togithub.com/vitejs/vite/commit/11cceea)), closes [#​16072](https://togithub.com/vitejs/vite/issues/16072) - refactor: share code with vite runtime ([#​15907](https://togithub.com/vitejs/vite/issues/15907)) ([b20d542](https://togithub.com/vitejs/vite/commit/b20d542)), closes [#​15907](https://togithub.com/vitejs/vite/issues/15907) - refactor(runtime): use functions from `pathe` ([#​16061](https://togithub.com/vitejs/vite/issues/16061)) ([aac2ef7](https://togithub.com/vitejs/vite/commit/aac2ef7)), closes [#​16061](https://togithub.com/vitejs/vite/issues/16061) - chore(deps): update all non-major dependencies ([#​16028](https://togithub.com/vitejs/vite/issues/16028)) ([7cfe80d](https://togithub.com/vitejs/vite/commit/7cfe80d)), closes [#​16028](https://togithub.com/vitejs/vite/issues/16028) </details> <details> <summary>vuejs/language-tools (vue-tsc)</summary> ### [`v2.0.6`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#206-202437) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.5...v2.0.6) > \[!IMPORTANT] > If the TypeScript language server crashes since 2.0, please try using VSCode Insiders and install [JavaScript and TypeScript Nightly](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next), or temporarily downgrade to 1.8.27.\ > Issue: [https://github.com/vuejs/language-tools/issues/3962](https://togithub.com/vuejs/language-tools/issues/3962) > > If false positive errors occurs, please try disabling unrelated extensions in the Vue workspace. > Issue[https://github.com/vuejs/language-tools/issues/3942](https://togithub.com/vuejs/language-tools/issues/3942)42 ##### Fixes - **language-core:** use local variables in v-bind shorthand ([#​4017](https://togithub.com/vuejs/language-tools/issues/4017)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-core:** sfc folding end position failed to mapping ([#​4038](https://togithub.com/vuejs/language-tools/issues/4038)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-service:** remove `extraLiners` option for formatting ([#​3943](https://togithub.com/vuejs/language-tools/issues/3943)) - **language-service:** bump `volar-service-typescript` for fix jsx formatting ([#​3949](https://togithub.com/vuejs/language-tools/issues/3949)) - **language-service:** bump `@volar/typescript` 2.0.5 completion performance regression ([#​4024](https://togithub.com/vuejs/language-tools/issues/4024)) ##### Refactors - **vscode:** rename `vue.inlayHints.vbindShorthand` setting to `vue.inlayHints.vBindShorthand` ([#​3995](https://togithub.com/vuejs/language-tools/issues/3995)) - thanks [@​l4dybird](https://togithub.com/l4dybird) ### [`v2.0.5`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#205-202435) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.4...v2.0.5) > \[!IMPORTANT] > If the TypeScript language server crashes in version 2.0, please try using VSCode Insiders, or temporarily downgrade to 1.8.27.\ > Issue: [https://github.com/vuejs/language-tools/issues/3962](https://togithub.com/vuejs/language-tools/issues/3962) > > If false positive errors occurs, try creating an empty jsconfig in the workspace root directory.\ > Issue: [https://github.com/vuejs/language-tools/issues/3942](https://togithub.com/vuejs/language-tools/issues/3942) ##### Features - **language-core:** support `v-bind` shorthand ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-service:** support inlay hints for `v-bind` shorthand ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - thanks [@​so1ve](https://togithub.com/so1ve) - **vscode:** prompt to disable Svelte extension in Vue workspace to avoid conflicts ##### Fixes - **typescript-plugin:** fault tolerance for named pipe server data - **language-core:** avoid `globalTypesHolder` being specified from a `node_modules` file ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - **language-core:** fault tolerance for plugin creation - **language-plugin-pug:** failed to load due to an invalid require path ([#​3930](https://togithub.com/vuejs/language-tools/issues/3930)) - **typescript-plugin:** custom extensions do not work ([#​3977](https://togithub.com/vuejs/language-tools/issues/3977)) - **language-service:** html custom data not working ([#​3975](https://togithub.com/vuejs/language-tools/issues/3975)) ##### Refactors - **typescript-plugin** add README ([#​3974](https://togithub.com/vuejs/language-tools/issues/3974)) - thanks [@​WhyNotHugo](https://togithub.com/WhyNotHugo) - **component-meta** update deom ([#​3994](https://togithub.com/vuejs/language-tools/issues/3994)) - thanks [@​zzfn](https://togithub.com/zzfn) ### [`v2.0.4`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#204-202434) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.3...v2.0.4) ##### Features - **vscode:** report requires TSDK version in doctor ##### Fixes - **typescript-plugin:** JSON parsing error when server data length > 8192 ([#​3961](https://togithub.com/vuejs/language-tools/issues/3961)) ### [`v2.0.3`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#203-202433) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.2...v2.0.3) ##### Features - **vscode:** identify [#​3942](https://togithub.com/vuejs/language-tools/issues/3942) in doctor ##### Fixes - **vscode:** compatible with VSCode 1.87.0 - **vscode:** search "TypeScript and JavaScript Language Features" with id ([#​3932](https://togithub.com/vuejs/language-tools/issues/3932)) - **typescript-plugin:** more reliable connection to named pipe server ([#​3941](https://togithub.com/vuejs/language-tools/issues/3941)) ##### Refactors - **language-service:** dependency injection typescript plugin ([#​3994](https://togithub.com/vuejs/language-tools/issues/3994)) ### [`v2.0.2`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#202-202432) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.1...v2.0.2) ##### Fixes - **vscode:** fix random `Cannot access 'i' before initialization` errors - **typescript-plugin:** `vue-tsp-table.json` path is invalid in windows </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/logger). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Finally, by customizing the following settings everything just works fine, even in large-scale projects. 😂
Optional
|
Crashing on v2+ |
VSCode: v 1.87.1 If it helps any, I disabled all extensions, excluding Vue Official and the builtin extensions and I still get the error.
Also this did not work for me. I did also try it with all extensions disabled like above.
List of my enabled extensions. The old Volar extension was removed, I assume that's the Vue Official Extension in this list.
|
Maybe you can try this
|
I also hit this 😢 Same error as previously mentioned here. I wonder if this is really a memory limit or some module being incompatible with the Node.js in Electron which is built with some special flags, such as pointer compression...
VS Code v1.87.2 |
As mentioned, this is a vscode specific issue on Darwin. Please use vscode insiders edition for now, until they've shipped their update containing an updated Node version (18.18). The relevant node version here is the one that the current stable version of vscode ships with (18.17), not the one that you've installed on your system. Also, there are 2 different errors discussed in this issue, one relates to the Vue extension that crashes and the other relates to the TS server that crashes. The TS server with the SIGBUS error is probably related to VSCode on Darwin. The other might be related to other extensions or the amount of memory available for the tsserver. |
Does this work on non-insiders VS Code now? Is it fixed? |
why is this closed? its still happening in v2.0.7 |
@acidjazz Upgrade to VSCode 1.88 |
1.88.0 has not been officially released yet. |
In case it's helpful to anyone, enabling "Vue › Server: Hybrid Mode" in the extension settings fixed the problem for me. |
Hi @isidorn, sorry to bother you. Due to the widespread errors caused by the Node version bundled with VSCode 1.87 mentioned in this issue, can we consider upgrading the Node version to 1.87 before the release of 1.88? |
VSCode 1.88 has been released and has resolved this issue. Please make sure to update. |
Vue - Official v2.0.8 依然有这个问题。
|
VSCode 目前依然存在这个问题 |
Sorry to open a duplicated issue, I want to provide a reproduction here.
Reproduction
Environment
Apple M2
macOS Sonoma 14.2.1
Node v20.9.0
VSCode v1.87.0
pnpm v8.2.0
nuxt v3.2.2
Vue.volar v2.0.4
After opening a Vue SFC, it alerts

outputs
The text was updated successfully, but these errors were encountered: