Skip to content
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

"The Vue Semantic Server server crashed 5 times in the last 3 minutes": "Debug.assert(!compilerOptions.verbatimModuleSyntax);" #3246

Closed
leegee opened this issue Jun 2, 2023 · 4 comments

Comments

@leegee
Copy link

leegee commented Jun 2, 2023

image

image

Do the docs mention anything about compilerOptions.verbatimModuleSyntax?

I have added it like this, in several places, since none seems to be effective:

image

The initial set-up was through the scaffolding script create-vue, so tsconfig.app.json contains:

"extends": "@vue/tsconfig/tsconfig.web.json"
node -v
v18.4.0
 npm -v
8.19.0
"typescript": "^4.9.5",

image

image

image

This is all happening on Windows 10, sadly.

@leegee
Copy link
Author

leegee commented Jun 5, 2023

Similar issue #2663 but not relevant as 'JS & TS nightly' is not installed

image

@doooooit
Copy link

doooooit commented Jun 6, 2023

I got same error alert, but only Volar is installed, no other plugins

alert output:

<--- Last few GCs --->

[24204:0x5147d50]    22134 ms: Scavenge 1992.8 (2069.4) -> 1991.0 (2071.1) MB, 7.2 / 0.0 ms  (average mu = 0.749, current mu = 0.343) allocation failure 
[24204:0x5147d50]    22157 ms: Scavenge 1994.6 (2071.1) -> 1993.0 (2090.4) MB, 10.3 / 0.0 ms  (average mu = 0.749, current mu = 0.343) allocation failure 
[24204:0x5147d50]    23276 ms: Mark-sweep 2006.2 (2090.4) -> 1999.6 (2096.4) MB, 1071.6 / 0.0 ms  (average mu = 0.550, current mu = 0.139) allocation failure scavenge might not succeed


<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
 1: 0xb02960 node::Abort() [/home/shangke/.vscode-server/bin/b3e4e68a0bc097f0ae7907b217c1119af9e03435/node]
 2: 0xa18149 node::FatalError(char const*, char const*) [/home/shangke/.vscode-server/bin/b3e4e68a0bc097f0ae7907b217c1119af9e03435/node]
 3: 0xcdd22e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/home/shangke/.vscode-server/bin/b3e4e68a0bc097f0ae7907b217c1119af9e03435/node]
 4: 0xcdd5a7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/home/shangke/.vscode-server/bin/b3e4e68a0bc097f0ae7907b217c1119af9e03435/node]
 5: 0xe94c15  [/home/shangke/.vscode-server/bin/b3e4e68a0bc097f0ae7907b217c1119af9e03435/node]
 6: 0xea48dd v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/home/shangke/.vscode-server/bin/b3e4e68a0bc097f0ae7907b217c1119af9e03435/node]
 7: 0xea75de v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/home/shangke/.vscode-server/bin/b3e4e68a0bc097f0ae7907b217c1119af9e03435/node]
 8: 0xe68b1a v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/home/shangke/.vscode-server/bin/b3e4e68a0bc097f0ae7907b217c1119af9e03435/node]
 9: 0x11e1886 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/home/shangke/.vscode-server/bin/b3e4e68a0bc097f0ae7907b217c1119af9e03435/node]
10: 0x15d54f9  [/home/shangke/.vscode-server/bin/b3e4e68a0bc097f0ae7907b217c1119af9e03435/node]
[Error - 12:35:04 PM] The Vue Semantic Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

environment:
node: v14.21.3
vscode: 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435)
system: Windows 11 Pro 22H2 (22621.1702)

@leegee
Copy link
Author

leegee commented Jun 6, 2023

I got same error alert, but only Volar is installed, no other plugins

Since the error message is different, I guess it should have a new ticket.

@leegee
Copy link
Author

leegee commented Jun 6, 2023

After weeks of this problem, I updated to the latest version of Typescript, but the issue persisted.

I removed the @vue/tsconfig dep that the scaffolding app used, and the above error stops -- I now have the below, which is a new issue.

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants